Public Methods |
| Window (const Rect &cFrame, const std::string &cName, const std::string &cTitle, uint32 nFlags=0, uint32 nDesktopMask=CURRENT_DESKTOP) |
| Initialize the window. More...
|
| ~Window () |
| Destruct a window. More...
|
virtual void | FrameMoved (const Point &cDelta) |
virtual void | FrameSized (const Point &cDelta) |
virtual void | ScreenModeChanged (const IPoint &cNewRes, color_space eColorSpace) |
virtual void | DesktopActivated (int nDesktop, bool bActive) |
virtual void | DesktopsChanged (uint32 nOldDesktops, uint32 nNewDesktops) |
virtual void | __WI_reserved1__ () |
virtual void | __WI_reserved2__ () |
virtual void | __WI_reserved3__ () |
virtual void | __WI_reserved4__ () |
virtual void | __WI_reserved5__ () |
virtual void | __WI_reserved6__ () |
void | SetFlags (uint32 nFlags) |
uint32 | GetFlags () const |
void | SetSizeLimits (const Point &cMinSize, const Point &cMaxSize) |
| Limit the minimum and maximum window size. More...
|
void | SetAlignment (const IPoint &cSize=IPoint(1, 1), const IPoint &cSizeOffset=IPoint(0, 0), const IPoint &cPos=IPoint(1, 1), const IPoint &cPosOffset=IPoint(0, 0)) |
void | AddChild (View *pcChild, bool bAssignTabOrder=false) |
| Add a view to the window. More...
|
void | RemoveChild (View *pcChild) |
| Remove a view from the window. More...
|
void | MakeFocus (bool bFocus=true) |
| Activate/Deactivate the window. More...
|
void | Close () |
void | Show (bool bMakeVisible=true) |
| Hide/Unhide the window. More...
|
void | Hide () |
void | Start () |
| Unlock the window and start the looper thread. More...
|
void | SetTitle (const std::string &cTitle) |
| Change the window title. More...
|
std::string | GetTitle (void) const |
| Obtain the current window title. More...
|
void | Flush () |
| Flush the windows render queue. More...
|
void | Sync () |
| Flush the render queue, and wait til the rendering is done. More...
|
View * | FindView (const std::string &cName) const |
View * | FindView (const Point &cPos) const |
| Find the view covering a given position on the window. More...
|
View * | GetFocusChild (void) const |
View * | SetFocusChild (View *pcChild) |
| Activate a view. More...
|
void | SetDefaultButton (View *pcView) |
| Assign a default button. More...
|
View * | GetDefaultButton () const |
| Return the view assigned as the default button. More...
|
void | SetDefaultWheelView (View *pcView) |
View * | GetDefaultWheelView () const |
Rect | GetFrame () const |
| Get the windows position and size on the current desktop. More...
|
Rect | GetBounds () const |
| Get the window boundary. More...
|
void | SetFrame (const Rect &cRect, bool bNotifyServer=true) |
| Set the window's position and size. More...
|
void | MoveBy (const Point &cDelta) |
| Move the window relative to it's current position. More...
|
void | MoveBy (float vDeltaX, float vDeltaY) |
| Move the window relative to it's current position. More...
|
void | MoveTo (const Point &cPos) |
| Move the window to an absolute position. More...
|
void | MoveTo (float x, float y) |
| Move the window to an absolute position. More...
|
void | ResizeBy (const Point &cDelta) |
| Resize the window relative to it's current size. More...
|
void | ResizeBy (float vDeltaW, float vDeltaH) |
| Resize the window relative to it's current size. More...
|
void | ResizeTo (const Point &cSize) |
| Resize the window to a new absolute size. More...
|
void | ResizeTo (float w, float h) |
| Resize the window to a new absolute size. More...
|
bool | IsActive () const |
int | ToggleDepth () |
void | DispatchMessage (Message *pcMessage, Handler *pcHandler) |
| The loopers message handling callback. More...
|
Friends |
class | View |
class | Bitmap |
class | MenuItem |