]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/toolbar.h
e5428f6ae87e9d0690b5deb9a881accd8cf0a35d
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxToolBar interface declaration
4 // Author: Vadim Zeitlin
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_TOOLBAR_H_BASE_
13 #define _WX_TOOLBAR_H_BASE_
17 // ----------------------------------------------------------------------------
18 // wxToolBar style flags
19 // ----------------------------------------------------------------------------
23 // lay out the toolbar horizontally
24 wxTB_HORIZONTAL
= wxHORIZONTAL
, // == 0x0004
26 // lay out the toolbar vertically
27 wxTB_VERTICAL
= wxVERTICAL
, // == 0x0008
29 // show 3D buttons (wxToolBarSimple only)
30 wxTB_3DBUTTONS
= 0x0010,
32 // "flat" buttons (Win32/GTK only)
35 // dockable toolbar (GTK only)
36 wxTB_DOCKABLE
= 0x0040,
38 // don't show the icons (they're shown by default)
39 wxTB_NOICONS
= 0x0080,
41 // show the text (not shown by default)
44 // don't show the divider between toolbar and the window (Win32 only)
45 wxTB_NODIVIDER
= 0x0200,
47 // no automatic alignment (Win32 only, useless)
48 wxTB_NOALIGN
= 0x0400,
50 // show the text and the icons alongside, not vertically stacked (Win32/GTK)
51 wxTB_HORZ_LAYOUT
= 0x0800,
52 wxTB_HORZ_TEXT
= wxTB_HORZ_LAYOUT
| wxTB_TEXT
56 #include "wx/tbarbase.h" // the base class for all toolbars
58 #if defined(__WXUNIVERSAL__)
59 #include "wx/univ/toolbar.h"
60 #elif defined(__WXPALMOS__)
61 #include "wx/palmos/toolbar.h"
62 #elif defined(__WXMSW__) && (!defined(_WIN32_WCE) || (_WIN32_WCE >= 400 && !defined(__POCKETPC__) && !defined(__SMARTPHONE__)))
63 #include "wx/msw/tbar95.h"
64 #elif defined(__WXWINCE__)
65 #include "wx/msw/wince/tbarwce.h"
66 #elif defined(__WXMSW__)
67 #include "wx/msw/tbarmsw.h"
68 #elif defined(__WXMOTIF__)
69 #include "wx/motif/toolbar.h"
70 #elif defined(__WXGTK__)
71 #include "wx/gtk/tbargtk.h"
72 #elif defined(__WXMAC__)
73 #include "wx/mac/toolbar.h"
74 #elif defined(__WXCOCOA__)
75 #include "wx/cocoa/toolbar.h"
76 #elif defined(__WXPM__)
77 #include "wx/os2/toolbar.h"
79 #endif // wxUSE_TOOLBAR
82 // _WX_TOOLBAR_H_BASE_