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 () override
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
bool _useRTL
const Common::String _name
Widget_firstWidget

Friends

class Widget

Detailed Description

Definition at line 61 of file object.h.


Constructor & Destructor Documentation

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

Definition at line 74 of file object.h.

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

Definition at line 32 of file object.cpp.

GUI::GuiObject::~GuiObject (  )  [override]

Definition at line 36 of file object.cpp.


Member Function Documentation

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

Reimplemented in GUI::Widget.

Definition at line 82 of file object.h.

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

Reimplemented in GUI::Widget.

Definition at line 83 of file object.h.

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

Definition at line 84 of file object.h.

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

Reimplemented in GUI::TabWidget.

Definition at line 85 of file 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 74 of file object.cpp.

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

Reimplemented in GUI::TabWidget.

Definition at line 87 of file object.h.

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

Definition at line 80 of file object.h.

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

Definition at line 81 of file object.h.

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

Definition at line 86 of file object.h.

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

Definition at line 95 of file 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, GUI::ContainerWidget, and GUI::OptionsContainerWidget.

Definition at line 54 of file object.cpp.

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

Definition at line 78 of file object.h.


Friends And Related Function Documentation

friend class Widget [friend]

Definition at line 62 of file object.h.


Member Data Documentation

Definition at line 71 of file object.h.

Definition at line 67 of file object.h.

Reimplemented in GUI::RecorderDialog.

Definition at line 69 of file object.h.

Definition at line 64 of file object.h.

bool GUI::GuiObject::_useRTL [protected]

Definition at line 68 of file object.h.

Definition at line 67 of file object.h.

Definition at line 66 of file object.h.

Definition at line 66 of file object.h.


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


Generated on Sat Aug 1 2020 05:04:01 for ResidualVM by doxygen 1.7.1
curved edge   curved edge