#include <framemanager.h>
Definition at line 131 of file framemanager.h.
|
Definition at line 334 of file framemanager.h. 00335 { 00336 optionFloating = 1 << 0, 00337 optionHidden = 1 << 1, 00338 optionLeftDockable = 1 << 2, 00339 optionRightDockable = 1 << 3, 00340 optionTopDockable = 1 << 4, 00341 optionBottomDockable = 1 << 5, 00342 optionFloatable = 1 << 6, 00343 optionMovable = 1 << 7, 00344 optionResizable = 1 << 8, 00345 optionPaneBorder = 1 << 9, 00346 optionCaption = 1 << 10, 00347 optionGripper = 1 << 11, 00348 optionDestroyOnClose = 1 << 12, 00349 optionToolbar = 1 << 13, 00350 optionActive = 1 << 14, 00351 optionGripperTop = 1 << 15, 00352 00353 buttonClose = 1 << 24, 00354 buttonMaximize = 1 << 25, 00355 buttonMinimize = 1 << 26, 00356 buttonPin = 1 << 27, 00357 buttonCustom1 = 1 << 28, 00358 buttonCustom2 = 1 << 29, 00359 buttonCustom3 = 1 << 30, 00360 actionPane = 1 << 31 // used internally 00361 };
|
|
Definition at line 135 of file framemanager.h. 00136 { 00137 window = NULL; 00138 frame = NULL; 00139 state = 0; 00140 dock_direction = wxAUI_DOCK_LEFT; 00141 dock_layer = 0; 00142 dock_row = 0; 00143 dock_pos = 0; 00144 floating_pos = wxDefaultPosition; 00145 floating_size = wxDefaultSize; 00146 best_size = wxDefaultSize; 00147 min_size = wxDefaultSize; 00148 max_size = wxDefaultSize; 00149 dock_proportion = 0; 00150 00151 DefaultPane(); 00152 }
|
|
Definition at line 154 of file framemanager.h.
|
|
Definition at line 157 of file framemanager.h. 00158 { 00159 name = c.name; 00160 caption = c.caption; 00161 window = c.window; 00162 frame = c.frame; 00163 state = c.state; 00164 dock_direction = c.dock_direction; 00165 dock_layer = c.dock_layer; 00166 dock_row = c.dock_row; 00167 dock_pos = c.dock_pos; 00168 best_size = c.best_size; 00169 min_size = c.min_size; 00170 max_size = c.max_size; 00171 floating_pos = c.floating_pos; 00172 floating_size = c.floating_size; 00173 dock_proportion = c.dock_proportion; 00174 buttons = c.buttons; 00175 rect = c.rect; 00176 }
|
|
Definition at line 255 of file framemanager.h. 00255 { best_size.Set(x,y); return *this; }
|
|
Definition at line 252 of file framemanager.h.
|
|
Definition at line 245 of file framemanager.h. 00245 { dock_direction = wxAUI_DOCK_BOTTOM; return *this; }
|
|
Definition at line 278 of file framemanager.h. 00278 { return SetFlag(optionBottomDockable, b); }
|
|
Definition at line 241 of file framemanager.h. 00241 { caption = c; return *this; }
|
|
Definition at line 268 of file framemanager.h. 00268 { return SetFlag(optionCaption, visible); }
|
|
Definition at line 246 of file framemanager.h. 00246 { dock_direction = wxAUI_DOCK_CENTER; return *this; }
|
|
Definition at line 298 of file framemanager.h. 00299 { 00300 state = 0; 00301 return Center().PaneBorder().Resizable(); 00302 }
|
|
Definition at line 247 of file framemanager.h. 00247 { dock_direction = wxAUI_DOCK_CENTRE; return *this; }
|
|
Definition at line 297 of file framemanager.h. 00297 { return CenterPane(); }
|
|
Definition at line 272 of file framemanager.h. 00272 { return SetFlag(buttonClose, visible); }
|
|
Definition at line 288 of file framemanager.h. 00289 { 00290 state |= optionTopDockable | optionBottomDockable | 00291 optionLeftDockable | optionRightDockable | 00292 optionFloatable | optionMovable | optionResizable | 00293 optionCaption | optionPaneBorder | buttonClose; 00294 return *this; 00295 }
|
|
Definition at line 276 of file framemanager.h. 00276 { return SetFlag(optionDestroyOnClose, b); }
|
|
Definition at line 248 of file framemanager.h. 00248 { dock_direction = direction; return *this; }
|
|
Definition at line 264 of file framemanager.h. 00264 { return SetFlag(optionFloating, false); }
|
|
Definition at line 283 of file framemanager.h. 00284 { 00285 return TopDockable(b).BottomDockable(b).LeftDockable(b).RightDockable(b); 00286 }
|
|
Definition at line 262 of file framemanager.h. 00262 { return SetFlag(optionResizable, false); }
|
|
Definition at line 265 of file framemanager.h. 00265 { return SetFlag(optionFloating, true); }
|
|
Definition at line 281 of file framemanager.h. 00281 { return SetFlag(optionFloatable, b); }
|
|
Definition at line 259 of file framemanager.h. 00259 { floating_pos.x = x; floating_pos.y = y; return *this; }
|
|
Definition at line 258 of file framemanager.h. 00258 { floating_pos = pos; return *this; }
|
|
Definition at line 261 of file framemanager.h. 00261 { floating_size.Set(x,y); return *this; }
|
|
Definition at line 260 of file framemanager.h. 00260 { floating_size = size; return *this; }
|
|
Definition at line 270 of file framemanager.h. 00270 { return SetFlag(optionGripper, visible); }
|
|
Definition at line 271 of file framemanager.h. 00271 { return SetFlag(optionGripperTop, attop); }
|
|
Definition at line 229 of file framemanager.h. 00229 { return HasFlag(optionPaneBorder); }
|
|
Definition at line 227 of file framemanager.h. 00227 { return HasFlag(optionCaption); }
|
|
Definition at line 230 of file framemanager.h. 00230 { return HasFlag(buttonClose); }
|
|
Definition at line 323 of file framemanager.h. 00324 { 00325 return (state & flag) ? true:false; 00326 }
|
|
Definition at line 228 of file framemanager.h. 00228 { return HasFlag(optionGripper); }
|
|
Definition at line 234 of file framemanager.h. 00234 { return HasFlag(optionGripperTop); }
|
|
Definition at line 231 of file framemanager.h. 00231 { return HasFlag(buttonMaximize); }
|
|
Definition at line 232 of file framemanager.h. 00232 { return HasFlag(buttonMinimize); }
|
|
Definition at line 233 of file framemanager.h.
|
|
Definition at line 266 of file framemanager.h. 00266 { return SetFlag(optionHidden, true); }
|
|
Definition at line 222 of file framemanager.h. 00222 { return HasFlag(optionBottomDockable); }
|
|
Definition at line 219 of file framemanager.h. 00219 { return !HasFlag(optionFloating); }
|
|
Definition at line 215 of file framemanager.h. 00215 { return !HasFlag(optionResizable); }
|
|
Definition at line 225 of file framemanager.h. 00225 { return HasFlag(optionFloatable); }
|
|
Definition at line 218 of file framemanager.h. 00218 { return HasFlag(optionFloating); }
|
|
Definition at line 223 of file framemanager.h. 00223 { return HasFlag(optionLeftDockable); }
|
|
Definition at line 226 of file framemanager.h. 00226 { return HasFlag(optionMovable); }
|
|
Definition at line 214 of file framemanager.h.
|
|
Definition at line 216 of file framemanager.h. 00216 { return HasFlag(optionResizable); }
|
|
Definition at line 224 of file framemanager.h. 00224 { return HasFlag(optionRightDockable); }
|
|
Definition at line 217 of file framemanager.h. 00217 { return !HasFlag(optionHidden); }
|
|
Definition at line 220 of file framemanager.h. 00220 { return HasFlag(optionToolbar); }
|
|
Definition at line 221 of file framemanager.h. 00221 { return HasFlag(optionTopDockable); }
|
|
Definition at line 249 of file framemanager.h. 00249 { dock_layer = layer; return *this; }
|
|
Definition at line 242 of file framemanager.h. 00242 { dock_direction = wxAUI_DOCK_LEFT; return *this; }
|
|
Definition at line 279 of file framemanager.h. 00279 { return SetFlag(optionLeftDockable, b); }
|
|
Definition at line 273 of file framemanager.h. 00273 { return SetFlag(buttonMaximize, visible); }
|
|
Definition at line 257 of file framemanager.h. 00257 { max_size.Set(x,y); return *this; }
|
|
Definition at line 254 of file framemanager.h.
|
|
Definition at line 274 of file framemanager.h. 00274 { return SetFlag(buttonMinimize, visible); }
|
|
Definition at line 256 of file framemanager.h. 00256 { min_size.Set(x,y); return *this; }
|
|
Definition at line 253 of file framemanager.h.
|
|
Definition at line 282 of file framemanager.h. 00282 { return SetFlag(optionMovable, b); }
|
|
Definition at line 240 of file framemanager.h. 00240 { name = n; return *this; }
|
|
Definition at line 178 of file framemanager.h. 00179 { 00180 name = c.name; 00181 caption = c.caption; 00182 window = c.window; 00183 frame = c.frame; 00184 state = c.state; 00185 dock_direction = c.dock_direction; 00186 dock_layer = c.dock_layer; 00187 dock_row = c.dock_row; 00188 dock_pos = c.dock_pos; 00189 best_size = c.best_size; 00190 min_size = c.min_size; 00191 max_size = c.max_size; 00192 floating_pos = c.floating_pos; 00193 floating_size = c.floating_size; 00194 dock_proportion = c.dock_proportion; 00195 buttons = c.buttons; 00196 rect = c.rect; 00197 return *this; 00198 }
|
|
Definition at line 269 of file framemanager.h. 00269 { return SetFlag(optionPaneBorder, visible); }
|
|
Definition at line 275 of file framemanager.h.
|
|
Definition at line 251 of file framemanager.h.
|
|
Definition at line 263 of file framemanager.h. 00263 { return SetFlag(optionResizable, resizable); }
|
|
Definition at line 243 of file framemanager.h. 00243 { dock_direction = wxAUI_DOCK_RIGHT; return *this; }
|
|
Definition at line 280 of file framemanager.h. 00280 { return SetFlag(optionRightDockable, b); }
|
|
Definition at line 250 of file framemanager.h. 00250 { dock_row = row; return *this; }
|
|
Definition at line 203 of file framemanager.h. 00204 { 00205 // note source is not passed by reference so we can overwrite, to keep the 00206 // unsafe bits of "dest" 00207 source.window = window; 00208 source.frame = frame; 00209 source.buttons = buttons; 00210 // now assign 00211 *this = source; 00212 }
|
|
Definition at line 314 of file framemanager.h. 00315 { 00316 if (option_state) 00317 state |= flag; 00318 else 00319 state &= ~flag; 00320 return *this; 00321 }
|
|
Definition at line 267 of file framemanager.h. 00267 { return SetFlag(optionHidden, !show); }
|
|
Definition at line 304 of file framemanager.h. 00305 { 00306 DefaultPane(); 00307 state |= (optionToolbar | optionGripper); 00308 state &= ~(optionResizable | optionCaption); 00309 if (dock_layer == 0) 00310 dock_layer = 10; 00311 return *this; 00312 }
|
|
Definition at line 244 of file framemanager.h. 00244 { dock_direction = wxAUI_DOCK_TOP; return *this; }
|
|
Definition at line 277 of file framemanager.h. 00277 { return SetFlag(optionTopDockable, b); }
|
|
Definition at line 239 of file framemanager.h. 00239 { window = w; return *this; }
|
|
Definition at line 376 of file framemanager.h. |
|
Definition at line 384 of file framemanager.h. |
|
Definition at line 365 of file framemanager.h. |
|
Definition at line 371 of file framemanager.h. |
|
Definition at line 372 of file framemanager.h. |
|
Definition at line 374 of file framemanager.h. |
|
Definition at line 382 of file framemanager.h. |
|
Definition at line 373 of file framemanager.h. |
|
Definition at line 380 of file framemanager.h. |
|
Definition at line 381 of file framemanager.h. |
|
Definition at line 368 of file framemanager.h. |
|
Definition at line 378 of file framemanager.h. |
|
Definition at line 377 of file framemanager.h. |
|
Definition at line 364 of file framemanager.h. |
|
Definition at line 386 of file framemanager.h. |
|
Definition at line 369 of file framemanager.h. |
|
Definition at line 367 of file framemanager.h. |