Om  1.0.0
A universal framework for multimedia simulation
List of all members
om::gui::objects::View Class Reference

A class that represents a rectangular content region that is part of a window. More...

#include <omGUIView.h>

Inheritance diagram for om::gui::objects::View:
om::gui::objects::WindowObject om::gui::objects::GUIObject om::gui::objects::RenderView om::gui::objects::TabView

Additional Inherited Members

- Public Member Functions inherited from om::gui::objects::WindowObject
 WindowObject ()
 Create a new default window element. More...
 
Size getWidth () const
 Return the horizontal size in pixels of this window element. More...
 
Size getHeight () const
 Return the vertical size in pixels of this window element. More...
 
virtual Size2D getSize () const =0
 Return a 2D vector indicating the size on the screen of this window element in pixels. More...
 
Bool setSize (Size newWidth, Size newHeight)
 Set the size on the screen of this window element in pixels. More...
 
virtual Bool setSize (const Size2D &size)=0
 Set the size on the screen of this window element in pixels. More...
 
virtual Vector2i getPosition () const =0
 Return the 2D position of this view in pixels, relative to the bottom left corner of the view. More...
 
virtual Bool setPosition (const Vector2i &position)=0
 Set the 2D position of this view in pixels, relative to the bottom left corner of the view. More...
 
WindowgetParentWindow () const
 Return the window that is a parent of this window element. More...
 
virtual void setParentWindow (Window *newParentWindow)
 Set the window that is going to be a parent of this window element. More...
 
Bool hasParentWindow () const
 Return whether or not this window element belongs to a window. More...
 
- Public Member Functions inherited from om::gui::objects::GUIObject
virtual ~GUIObject ()
 Destroy a GUI element and release all resources associated with it. More...
 
virtual void * getInternalPointer () const =0
 Return a pointer to the OS-specific object that represents this element. More...
 
- Protected Attributes inherited from om::gui::objects::WindowObject
WindowparentWindow
 The parent window of this window element, or NULL if this element is not part of a window. More...
 

Detailed Description

A class that represents a rectangular content region that is part of a window.


The documentation for this class was generated from the following file: