- Your Widget Set For OpenGL
Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

ufo::UDesktopPane Class Reference

This class provides basic desktop features like frame decorations, minimizing and maximizing. More...

#include <udesktoppane.hpp>

Inheritance diagram for ufo::UDesktopPane:

ufo::ULayeredPane ufo::UWidget ufo::UObject ufo::UCollectable List of all members.

Public Member Functions

virtual void addFrame (UInternalFrame *frame)
virtual bool removeFrame (UInternalFrame *frame)
virtual void maximize (UInternalFrame *frame)
virtual bool isMaximized (UInternalFrame *frame)
virtual void minimize (UInternalFrame *frame)
virtual bool isMinimized (UInternalFrame *frame)
virtual void restore (UInternalFrame *frame)
virtual void close (UInternalFrame *frame)
virtual void raise (UInternalFrame *frame)
virtual void lower (UInternalFrame *frame)
virtual bool isActive (UInternalFrame *frame)
virtual void setTitle (UInternalFrame *frame, const std::string &title)
virtual std::string getTitle (UInternalFrame *frame)
virtual void addDockWidget (UDockWidget *w, DockWidgetArea area)
virtual void removeDockWidget (UDockWidget *w)
virtual void dragDockWidget (UDockWidget *w, const UPoint &pos)
virtual void dropDockWidget (UDockWidget *w, const UPoint &pos)
virtual UInsets getContentsInsets () const

Protected Member Functions

virtual void eventListener (UEvent *e)
void moveDockWidget (UDockWidget *w, DockWidgetArea newArea)
virtual void validateSelf ()
virtual void processWidgetEvent (UWidgetEvent *e)
virtual UDimension getContentsSize (const UDimension &maxSize) const

Detailed Description

This class provides basic desktop features like frame decorations, minimizing and maximizing.

Warning: Experimental; not all features are implemented.

Author:
Johannes Schmidt


Member Function Documentation

virtual void ufo::UDesktopPane::addFrame UInternalFrame frame  )  [virtual]
 

Adds the widget to this desktop pane and installs frame decorations.

virtual void ufo::UDesktopPane::close UInternalFrame frame  )  [virtual]
 

Closes the given frame. This basically removes the widget from the desktop pane.

virtual void ufo::UDesktopPane::maximize UInternalFrame frame  )  [virtual]
 

Resizes the frame to cover the whole desktop.

virtual void ufo::UDesktopPane::minimize UInternalFrame frame  )  [virtual]
 

Iconifies the frame.

virtual void ufo::UDesktopPane::processWidgetEvent UWidgetEvent e  )  [protected, virtual]
 

Processes widget events. Primarily, it is used to notify listeners.

Reimplemented from ufo::UWidget.

virtual bool ufo::UDesktopPane::removeFrame UInternalFrame frame  )  [virtual]
 

Removes this frame from this desktop pane (if it is a child) and uninstalls frame decorations.

virtual void ufo::UDesktopPane::restore UInternalFrame frame  )  [virtual]
 

Restores a previously maximized or minimized frame.


The documentation for this class was generated from the following file:
The libUFO Project - written by Johannes Schmidt