]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/auidockart.tex
don't use _T() inside wxGetTranslation() and related macros (wxTRANSLATE, _, ......
[wxWidgets.git] / docs / latex / wx / auidockart.tex
CommitLineData
e67635d4
RR
1%
2% automatically generated by HelpGen $Revision$ from
3% dockart.h at 04/Nov/06 21:54:42
4%
5
6\section{\class{wxAuiDockArt}}\label{wxauidockart}
7
683b60e9
BW
8wxAuiDockArt is part of the wxAUI class framework.
9See also \helpref{wxAUI overview}{wxauioverview}.
10
e67635d4
RR
11Dock art provider code - a dock provider provides all drawing
12functionality to the wxAui dock manager. This allows the dock
13manager to have a plugable look-and-feel.
14
15By default, a \helpref{wxAuiManager}{wxauimanager} uses an
16instance of this class called {\bf wxAuiDefaultDockArt} which
17provides bitmap art and a colour scheme that is adapted to
18the major platforms' look. You can either derive from that
19class to alter its behaviour or write a completely new dock
20art class. Call \helpref{wxAuiManager::SetArtProvider}{wxauimanagersetartprovider}
21to make use this new dock art.
22
23\wxheading{Derived from}
24
25No base class
26
27\wxheading{Include files}
28
29<wx/aui/dockart.h>
30
a7af285d
VZ
31\wxheading{Library}
32
33\helpref{wxAui}{librarieslist}
34
e67635d4
RR
35\wxheading{See also}
36
2207fd21 37\helpref{wxAuiManager}{wxauimanager},
e67635d4
RR
38\helpref{wxAuiPaneInfo}{wxauipaneinfo}
39
40\wxheading{Data structures}
41
42\begin{verbatim}
43enum wxAuiPaneDockArtSetting
44{
a95dd1d8
BW
45 wxAUI_DOCKART_SASH_SIZE = 0,
46 wxAUI_DOCKART_CAPTION_SIZE = 1,
47 wxAUI_DOCKART_GRIPPER_SIZE = 2,
48 wxAUI_DOCKART_PANE_BORDER_SIZE = 3,
49 wxAUI_DOCKART_PANE_BUTTON_SIZE = 4,
50 wxAUI_DOCKART_BACKGROUND_COLOUR = 5,
51 wxAUI_DOCKART_SASH_COLOUR = 6,
52 wxAUI_DOCKART_ACTIVE_CAPTION_COLOUR = 7,
53 wxAUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR = 8,
54 wxAUI_DOCKART_INACTIVE_CAPTION_COLOUR = 9,
55 wxAUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR = 10,
56 wxAUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR = 11,
57 wxAUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR = 12,
58 wxAUI_DOCKART_BORDER_COLOUR = 13,
59 wxAUI_DOCKART_GRIPPER_COLOUR = 14,
60 wxAUI_DOCKART_CAPTION_FONT = 15,
61 wxAUI_DOCKART_GRADIENT_TYPE = 16
e67635d4
RR
62}
63\end{verbatim}
64
65\begin{verbatim}
66enum wxAuiPaneDockArtGradients
67{
68 wxAUI_GRADIENT_NONE = 0,
69 wxAUI_GRADIENT_VERTICAL = 1,
70 wxAUI_GRADIENT_HORIZONTAL = 2
71}
72\end{verbatim}
73
74\begin{verbatim}
75enum wxAuiPaneButtonState
76{
77 wxAUI_BUTTON_STATE_NORMAL = 0,
78 wxAUI_BUTTON_STATE_HOVER = 1,
79 wxAUI_BUTTON_STATE_PRESSED = 2
80}
81\end{verbatim}
82
83\begin{verbatim}
84enum wxAuiButtonId
85{
86 wxAUI_BUTTON_CLOSE = 101,
87 wxAUI_BUTTON_MAXIMIZE_RESTORE = 102,
88 wxAUI_BUTTON_MINIMIZE = 103,
89 wxAUI_BUTTON_PIN = 104,
90 wxAUI_BUTTON_OPTIONS = 105,
91 wxAUI_BUTTON_WINDOWLIST = 106,
92 wxAUI_BUTTON_LEFT = 107,
93 wxAUI_BUTTON_RIGHT = 108,
94 wxAUI_BUTTON_UP = 109,
95 wxAUI_BUTTON_DOWN = 110,
96 wxAUI_BUTTON_CUSTOM1 = 201,
97 wxAUI_BUTTON_CUSTOM2 = 202,
98 wxAUI_BUTTON_CUSTOM3 = 203
99};
100\end{verbatim}
101
102
809e21b5 103\latexignore{\rtfignore{\wxheading{Members}}}
e67635d4
RR
104
105\membersection{wxAuiDockArt::wxAuiDockArt}\label{wxauidockartwxauidockart}
106
107\func{}{wxAuiDockArt}{\void}
108
109Constructor.
110
111\membersection{wxAuiDockArt::\destruct{wxAuiDockArt}}\label{wxauidockartdtor}
112
113\func{}{\destruct{wxAuiDockArt}}{\void}
114
115Destructor.
116
117\membersection{wxAuiDockArt::DrawBackground}\label{wxauidockartdrawbackground}
118
119\func{virtual void}{DrawBackground}{\param{wxDC\& }{dc}, \param{wxWindow* }{window}, \param{int }{orientation}, \param{const wxRect\& }{rect}}
120
121Draws a background.
122
123\membersection{wxAuiDockArt::DrawBorder}\label{wxauidockartdrawborder}
124
125\func{virtual void}{DrawBorder}{\param{wxDC\& }{dc}, \param{wxWindow* }{window}, \param{const wxRect\& }{rect}, \param{wxAuiPaneInfo\& }{pane}}
126
127Draws a border.
128
129\membersection{wxAuiDockArt::DrawCaption}\label{wxauidockartdrawcaption}
130
131\func{virtual void}{DrawCaption}{\param{wxDC\& }{dc}, \param{wxWindow* }{window}, \param{const wxString\& }{text}, \param{const wxRect\& }{rect}, \param{wxAuiPaneInfo\& }{pane}}
132
133Draws a caption.
134
135\membersection{wxAuiDockArt::DrawGripper}\label{wxauidockartdrawgripper}
136
137\func{virtual void}{DrawGripper}{\param{wxDC\& }{dc}, \param{wxWindow* }{window}, \param{const wxRect\& }{rect}, \param{wxAuiPaneInfo\& }{pane}}
138
139Draws a gripper.
140
141\membersection{wxAuiDockArt::DrawPaneButton}\label{wxauidockartdrawpanebutton}
142
143\func{virtual void}{DrawPaneButton}{\param{wxDC\& }{dc}, \param{wxWindow* }{window}, \param{int }{button}, \param{int }{button\_state}, \param{const wxRect\& }{rect}, \param{wxAuiPaneInfo\& }{pane}}
144
145Draws a button in the pane's title bar.
146
147{\it button} can be one of the values of {\bf wxAuiButtonId}.
148
149{\it button\_state} can be one of the values of {\bf wxAuiPaneButtonState}.
150
151\membersection{wxAuiDockArt::DrawSash}\label{wxauidockartdrawsash}
152
153\func{virtual void}{DrawSash}{\param{wxDC\& }{dc}, \param{wxWindow* }{window}, \param{int }{orientation}, \param{const wxRect\& }{rect}}
154
155Draws a sash between two windows.
156
157\membersection{wxAuiDockArt::GetColor}\label{wxauidockartgetcolor}
158
159\func{virtual wxColour}{GetColor}{\param{int }{id}}
160
161The same as \helpref{GetColour}{wxauidockartgetcolour}.
162
163\membersection{wxAuiDockArt::GetColour}\label{wxauidockartgetcolour}
164
165\func{virtual wxColour}{GetColour}{\param{int }{id}}
166
167Get the colour of a certain setting.
168
169{\it id} can be one of the colour values of {\bf wxAuiPaneDockArtSetting}.
170
171
172\membersection{wxAuiDockArt::GetFont}\label{wxauidockartgetfont}
173
174\func{virtual wxFont}{GetFont}{\param{int }{id}}
175
176Get a font setting.
177
178\membersection{wxAuiDockArt::GetMetric}\label{wxauidockartgetmetric}
179
180\func{virtual int}{GetMetric}{\param{int }{id}}
181
182Get the value of a certain setting.
183
184{\it id} can be one of the size values of {\bf wxAuiPaneDockArtSetting}.
185
186
187\membersection{wxAuiDockArt::SetColor}\label{wxauidockartsetcolor}
188
189\func{virtual void}{SetColor}{\param{int }{id}, \param{const wxColour\& }{color}}
190
191The same as \helpref{SetColour}{wxauidockartsetcolour}.
192
193\membersection{wxAuiDockArt::SetColour}\label{wxauidockartsetcolour}
194
195\func{virtual void}{SetColour}{\param{int }{id}, \param{const wxColor\& }{colour}}
196
197Set a certain setting with the value {\it colour}.
198
199{\it id} can be one of the colour values of {\bf wxAuiPaneDockArtSetting}.
200
201\membersection{wxAuiDockArt::SetFont}\label{wxauidockartsetfont}
202
203\func{virtual void}{SetFont}{\param{int }{id}, \param{const wxFont\& }{font}}
204
205Set a font setting.
206
207\membersection{wxAuiDockArt::SetMetric}\label{wxauidockartsetmetric}
208
209\func{virtual void}{SetMetric}{\param{int }{id}, \param{int }{new\_val}}
210
211Set a certain setting with the value {\it new\_val}.
212
213{\it id} can be one of the size values of {\bf wxAuiPaneDockArtSetting}.
214