Public Member Functions | |
this (FrameWindow parent, int id, string className) | |
Constructs a Bar to be placed in a FrameWindow. | |
override bool | visible () |
Whether this bar is currently visible. | |
override bool | visible (bool v) |
Whether this bar is currently visible. | |
Protected Member Functions | |
abstract void | clipClientArea (inout Rect area) |
Adjusts a rectangle denoting the client area of a window to exclude the area occupied by this bar. |
These are controls that place themselves at the top or bottom of a parent window. Examples are toolbars and status bars (only the latter of which is currently supported by SDWF).
smjg.libs.sdwf.framewindow.Bar.this | ( | FrameWindow | parent, | |
int | id, | |||
string | className | |||
) |
Constructs a Bar to be placed in a FrameWindow.
parent | the window on which the bar will be placed. | |
id | numeric control ID that the bar will have. |
override bool smjg.libs.sdwf.framewindow.Bar.visible | ( | ) |
override bool smjg.libs.sdwf.framewindow.Bar.visible | ( | bool | v | ) |
Whether this bar is currently visible.
Setting this property calls parent.setWindowScale to ensure that the FrameWindow's client pane is correctly sized after the operation.
Reimplemented from smjg.libs.sdwf.windowbase.WindowBase.
abstract void smjg.libs.sdwf.framewindow.Bar.clipClientArea | ( | inout Rect | area | ) | [protected, pure virtual] |
Adjusts a rectangle denoting the client area of a window to exclude the area occupied by this bar.
area | the rectangle to clip. |
Implemented in smjg.libs.sdwf.statusbar.StatusBar.