2 % automatically generated by HelpGen $Revision$ from
3 % dockart.h at 04/Nov/06 21:54:42
6 \section{\class{wxAuiDockArt
}}\label{wxauidockart
}
8 wxAuiDockArt is part of the wxAUI class framework.
9 See also
\helpref{wxAUI overview
}{wxauioverview
}.
11 Dock art provider code - a dock provider provides all drawing
12 functionality to the wxAui dock manager. This allows the dock
13 manager to have a plugable look-and-feel.
15 By default, a
\helpref{wxAuiManager
}{wxauimanager
} uses an
16 instance of this class called
{\bf wxAuiDefaultDockArt
} which
17 provides bitmap art and a colour scheme that is adapted to
18 the major platforms' look. You can either derive from that
19 class to alter its behaviour or write a completely new dock
20 art class. Call
\helpref{wxAuiManager::SetArtProvider
}{wxauimanagersetartprovider
}
21 to make use this new dock art.
23 \wxheading{Derived from
}
27 \wxheading{Include files
}
33 \helpref{wxAui
}{librarieslist
}
37 \helpref{wxAuiManager
}{wxauimanager
},
38 \helpref{wxAuiPaneInfo
}{wxauipaneinfo
}
40 \wxheading{Data structures
}
43 enum wxAuiPaneDockArtSetting
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
66 enum wxAuiPaneDockArtGradients
68 wxAUI_GRADIENT_NONE =
0,
69 wxAUI_GRADIENT_VERTICAL =
1,
70 wxAUI_GRADIENT_HORIZONTAL =
2
75 enum wxAuiPaneButtonState
77 wxAUI_BUTTON_STATE_NORMAL =
0,
78 wxAUI_BUTTON_STATE_HOVER =
1,
79 wxAUI_BUTTON_STATE_PRESSED =
2
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
103 \latexignore{\rtfignore{\wxheading{Members
}}}
105 \membersection{wxAuiDockArt::wxAuiDockArt
}\label{wxauidockartwxauidockart
}
107 \func{}{wxAuiDockArt
}{\void}
111 \membersection{wxAuiDockArt::
\destruct{wxAuiDockArt
}}\label{wxauidockartdtor
}
113 \func{}{\destruct{wxAuiDockArt
}}{\void}
117 \membersection{wxAuiDockArt::DrawBackground
}\label{wxauidockartdrawbackground
}
119 \func{virtual void
}{DrawBackground
}{\param{wxDC\&
}{dc
},
\param{wxWindow*
}{window
},
\param{int
}{orientation
},
\param{const wxRect\&
}{rect
}}
123 \membersection{wxAuiDockArt::DrawBorder
}\label{wxauidockartdrawborder
}
125 \func{virtual void
}{DrawBorder
}{\param{wxDC\&
}{dc
},
\param{wxWindow*
}{window
},
\param{const wxRect\&
}{rect
},
\param{wxAuiPaneInfo\&
}{pane
}}
129 \membersection{wxAuiDockArt::DrawCaption
}\label{wxauidockartdrawcaption
}
131 \func{virtual void
}{DrawCaption
}{\param{wxDC\&
}{dc
},
\param{wxWindow*
}{window
},
\param{const wxString\&
}{text
},
\param{const wxRect\&
}{rect
},
\param{wxAuiPaneInfo\&
}{pane
}}
135 \membersection{wxAuiDockArt::DrawGripper
}\label{wxauidockartdrawgripper
}
137 \func{virtual void
}{DrawGripper
}{\param{wxDC\&
}{dc
},
\param{wxWindow*
}{window
},
\param{const wxRect\&
}{rect
},
\param{wxAuiPaneInfo\&
}{pane
}}
141 \membersection{wxAuiDockArt::DrawPaneButton
}\label{wxauidockartdrawpanebutton
}
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
}}
145 Draws a button in the pane's title bar.
147 {\it button
} can be one of the values of
{\bf wxAuiButtonId
}.
149 {\it button
\_state} can be one of the values of
{\bf wxAuiPaneButtonState
}.
151 \membersection{wxAuiDockArt::DrawSash
}\label{wxauidockartdrawsash
}
153 \func{virtual void
}{DrawSash
}{\param{wxDC\&
}{dc
},
\param{wxWindow*
}{window
},
\param{int
}{orientation
},
\param{const wxRect\&
}{rect
}}
155 Draws a sash between two windows.
157 \membersection{wxAuiDockArt::GetColor
}\label{wxauidockartgetcolor
}
159 \func{virtual wxColour
}{GetColor
}{\param{int
}{id
}}
161 The same as
\helpref{GetColour
}{wxauidockartgetcolour
}.
163 \membersection{wxAuiDockArt::GetColour
}\label{wxauidockartgetcolour
}
165 \func{virtual wxColour
}{GetColour
}{\param{int
}{id
}}
167 Get the colour of a certain setting.
169 {\it id
} can be one of the colour values of
{\bf wxAuiPaneDockArtSetting
}.
172 \membersection{wxAuiDockArt::GetFont
}\label{wxauidockartgetfont
}
174 \func{virtual wxFont
}{GetFont
}{\param{int
}{id
}}
178 \membersection{wxAuiDockArt::GetMetric
}\label{wxauidockartgetmetric
}
180 \func{virtual int
}{GetMetric
}{\param{int
}{id
}}
182 Get the value of a certain setting.
184 {\it id
} can be one of the size values of
{\bf wxAuiPaneDockArtSetting
}.
187 \membersection{wxAuiDockArt::SetColor
}\label{wxauidockartsetcolor
}
189 \func{virtual void
}{SetColor
}{\param{int
}{id
},
\param{const wxColour\&
}{color}}
191 The same as
\helpref{SetColour
}{wxauidockartsetcolour
}.
193 \membersection{wxAuiDockArt::SetColour
}\label{wxauidockartsetcolour
}
195 \func{virtual void
}{SetColour
}{\param{int
}{id
},
\param{const wxColor\&
}{colour
}}
197 Set a certain setting with the value
{\it colour
}.
199 {\it id
} can be one of the colour values of
{\bf wxAuiPaneDockArtSetting
}.
201 \membersection{wxAuiDockArt::SetFont
}\label{wxauidockartsetfont
}
203 \func{virtual void
}{SetFont
}{\param{int
}{id
},
\param{const wxFont\&
}{font
}}
207 \membersection{wxAuiDockArt::SetMetric
}\label{wxauidockartsetmetric
}
209 \func{virtual void
}{SetMetric
}{\param{int
}{id
},
\param{int
}{new
\_val}}
211 Set a certain setting with the value
{\it new
\_val}.
213 {\it id
} can be one of the size values of
{\bf wxAuiPaneDockArtSetting
}.