This class manages all windows on screen, that means managing order and selection of windows.  
 More...
 | 
|   | WindowManager (unsigned int x, unsigned int y, unsigned int width, unsigned int height, const char *label) | 
|   | 
|   | ~WindowManager () | 
|   | 
|   | DISOWN (Window *window) void addWindow(Window *window) | 
|   | 
| void  | draw () | 
|   | Draws the widget to the canvas it belongs to.  More...
  | 
|   | 
| void  | update () | 
|   | Updates the widget and calls the callback if necessary.  More...
  | 
|   | 
|   | DISOWN (Window *window) void selectWindow(Window *w) | 
|   | 
| Window *  | getSelectedWindow () | 
|   | 
| bool  | isMouseOver () | 
|   | 
|   | Container (unsigned int x, unsigned int y, unsigned int width, unsigned int height, const char *label) | 
|   | 
|   | ~Container () | 
|   | 
|   | DISOWN (Widget *w) void addWidget(Widget *w) | 
|   | 
| void  | draw (Vector2 offset) | 
|   | Draws the widget to the canvas it belongs to.  More...
  | 
|   | 
|   | Widget (unsigned int x, unsigned int y, unsigned int width, unsigned int height, const char *label) | 
|   | 
|   | Widget () | 
|   | 
| void  | setParent (Widget *w) | 
|   | 
| Widget *  | getParent () | 
|   | 
| float  | getFontSize () | 
|   | 
| void  | setFontSize (float s) | 
|   | 
| void  | setOffset (Vector2 offset) | 
|   | 
| Vector2  | getOffset () | 
|   | 
| void  | setSize (unsigned int w, unsigned int h) | 
|   | 
| Vector2  | getSize () | 
|   | 
| void  | setCallback (NEO_CALLBACK_FUNCTION func) | 
|   | Sets the callback.  More...
  | 
|   | 
| void  | setScriptCallback (const char *name) | 
|   | 
| void  | setCallback (NEO_CALLBACK_FUNCTION func, long int data) | 
|   | Sets the callback and appends user data to it.  More...
  | 
|   | 
| long int  | getUserData () | 
|   | Retrieves the user data that will be given to every callback call.  More...
  | 
|   | 
| void  | setUserData (long int data) | 
|   | Changes the user data that will be given to every callback call.  More...
  | 
|   | 
| const char *  | getLabel () | 
|   | Gets the currently displayed label a C string.  More...
  | 
|   | 
| void  | setLabel (const char *l) | 
|   | Changes the current label of the widget.  More...
  | 
|   | 
| void  | setPosition (Vector2 pos) | 
|   | Changes the widget position.  More...
  | 
|   | 
| Vector2  | getPosition () | 
|   | Retrieves the current position.  More...
  | 
|   | 
| void  | setRotation (float rot) | 
|   | Changes the widget rotation.  More...
  | 
|   | 
| float  | getRotation () | 
|   | Retrieves the current rotation.  More...
  | 
|   | 
| void  | translate (Vector2 vec) | 
|   | Translates the object.  More...
  | 
|   | 
| void  | rotate (float value) | 
|   | Rotates the object.  More...
  | 
|   | 
| void  | doCallback () | 
|   | Calls the callback with the user data as an argument.  More...
  | 
|   | 
| bool  | isVisible () | 
|   | Returns if the widget is turned visible.  More...
  | 
|   | 
| void  | setVisible (bool v) | 
|   | Sets the visibility status.  More...
  | 
|   | 
| void  | setScale (Vector2 scale) | 
|   | setScale Scale this Widget  More...
  | 
|   | 
| Vector2  | getScale () | 
|   | 
| void  | setFlip (Vector2 flip) | 
|   | setFlip Flip this Widget  More...
  | 
|   | 
| Vector2  | getFlip () | 
|   | 
| const char *  | getStaticName () | 
|   | 
This class manages all windows on screen, that means managing order and selection of windows. 
- Author
 - Yannick Pflanzer