ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <object.h>

Inheritance diagram for GUI::GuiObject:
Collaboration diagram for GUI::GuiObject:

List of all members.

Public Member Functions

 GuiObject (int x, int y, int w, int h)
 GuiObject (const Common::String &name)
 ~GuiObject ()
virtual void setTextDrawableArea (const Common::Rect &r)
virtual int16 getRelX () const
virtual int16 getRelY () const
virtual int16 getAbsX () const
virtual int16 getAbsY () const
virtual int16 getChildX () const
virtual int16 getChildY () const
virtual uint16 getWidth () const
virtual uint16 getHeight () const
virtual bool isVisible () const =0
virtual void reflowLayout ()
virtual void removeWidget (Widget *widget)
virtual bool isPointIn (int x, int y)
virtual Common::Rect getClipRect () const
 Returns the clipping rect to be used when drawing the children widgets of this object.

Protected Member Functions

virtual void releaseFocus ()=0

Protected Attributes

Common::Rect _textDrawableArea
int16 _x
int16 _y
uint16 _w
uint16 _h
const Common::String _name
Widget_firstWidget

Friends

class Widget

Detailed Description

Definition at line 61 of file gui/object.h.


Constructor & Destructor Documentation

GUI::GuiObject::GuiObject ( int  x,
int  y,
int  w,
int  h 
) [inline]

Definition at line 73 of file gui/object.h.

GUI::GuiObject::GuiObject ( const Common::String name  ) 

Definition at line 32 of file gui/object.cpp.

GUI::GuiObject::~GuiObject (  ) 

Definition at line 37 of file gui/object.cpp.


Member Function Documentation

virtual int16 GUI::GuiObject::getAbsX (  )  const [inline, virtual]

Reimplemented in GUI::Widget.

Definition at line 81 of file gui/object.h.

virtual int16 GUI::GuiObject::getAbsY (  )  const [inline, virtual]

Reimplemented in GUI::Widget.

Definition at line 82 of file gui/object.h.

virtual int16 GUI::GuiObject::getChildX (  )  const [inline, virtual]

Definition at line 83 of file gui/object.h.

virtual int16 GUI::GuiObject::getChildY (  )  const [inline, virtual]

Reimplemented in GUI::TabWidget.

Definition at line 84 of file gui/object.h.

Common::Rect GUI::GuiObject::getClipRect (  )  const [virtual]

Returns the clipping rect to be used when drawing the children widgets of this object.

Definition at line 70 of file gui/object.cpp.

virtual uint16 GUI::GuiObject::getHeight (  )  const [inline, virtual]

Reimplemented in GUI::TabWidget.

Definition at line 86 of file gui/object.h.

virtual int16 GUI::GuiObject::getRelX (  )  const [inline, virtual]

Definition at line 79 of file gui/object.h.

virtual int16 GUI::GuiObject::getRelY (  )  const [inline, virtual]

Definition at line 80 of file gui/object.h.

virtual uint16 GUI::GuiObject::getWidth (  )  const [inline, virtual]

Definition at line 85 of file gui/object.h.

virtual bool GUI::GuiObject::isPointIn ( int  x,
int  y 
) [inline, virtual]

Definition at line 94 of file gui/object.h.

virtual bool GUI::GuiObject::isVisible (  )  const [pure virtual]
virtual void GUI::GuiObject::releaseFocus (  )  [protected, pure virtual]
void GUI::GuiObject::removeWidget ( Widget widget  )  [virtual]

Reimplemented in GUI::Dialog, and GUI::ContainerWidget.

Definition at line 50 of file gui/object.cpp.

virtual void GUI::GuiObject::setTextDrawableArea ( const Common::Rect r  )  [inline, virtual]

Definition at line 77 of file gui/object.h.


Friends And Related Function Documentation

friend class Widget [friend]

Definition at line 62 of file gui/object.h.


Member Data Documentation

Definition at line 70 of file gui/object.h.

Definition at line 67 of file gui/object.h.

Reimplemented in GUI::RecorderDialog.

Definition at line 68 of file gui/object.h.

Definition at line 64 of file gui/object.h.

Definition at line 67 of file gui/object.h.

Definition at line 66 of file gui/object.h.

Definition at line 66 of file gui/object.h.


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


Generated on Sat May 18 2019 05:06:42 for ResidualVM by doxygen 1.7.1
curved edge   curved edge