ScummVM API documentation
GUI::GuiObject Class Referenceabstract
Inheritance diagram for GUI::GuiObject:
GUI::CommandReceiver GUI::Dialog GUI::Widget Bbvs::MainMenu Grim::InputDialog Grim::MD5CheckDialog GUI::AboutDialog GUI::BrowserDialog GUI::ChooserDialog GUI::CloudConnectionWizard GUI::ConsoleDialog GUI::DLCsDialog GUI::DownloadDialog GUI::DownloadDLCsDialog GUI::DownloadPacksDialog GUI::EditRecordDialog GUI::FileBrowserDialog GUI::FluidSynthSettingsDialog GUI::GridItemTray GUI::HelpDialog GUI::IntegrityDialog GUI::LauncherDialog GUI::MassAddDialog GUI::MessageDialog GUI::OnScreenDialog GUI::OptionsDialog GUI::PopUpDialog GUI::PredictiveDialog GUI::RecorderDialog GUI::RemoteBrowserDialog GUI::SaveLoadChooserDialog GUI::SavenameDialog GUI::ShaderBrowserDialog GUI::TextViewerDialog GUI::ThemeBrowser GUI::Tooltip GUI::UnknownGameDialog GUI::UpdatesDialog Hugo::EntryDialog Hugo::TopMenu MainMenuDialog Mohawk::InfoDialog Scumm::CreateSessionDialog Scumm::LoomTownsDifficultyDialog Scumm::ScummDialog Scumm::SessionSelectorDialog Scumm::ValueDisplayDialog Testbed::TestbedInteractionDialog Testbed::TestbedOptionsDialog Ultima::Nuvie::KeyHelpDialog WiiOptionsDialog GUI::ContainerWidget GUI::EditableWidget GUI::GraphicsWidget GUI::OptionsContainerWidget GUI::PopUpWidget GUI::RichTextWidget GUI::ScrollBarWidget GUI::ScrollContainerWidget GUI::SliderWidget GUI::StaticTextWidget GUI::TabWidget

Public Member Functions

 GuiObject (int x, int y, int w, int h, bool scale=false)
 
 GuiObject (const Common::String &name)
 
virtual void setTextDrawableArea (const Common::Rect &r)
 
virtual void resize (int x, int y, int w, int h, bool scale=true)
 
virtual WidgetaddChild (Widget *newChild)
 
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
 
virtual void handleMouseWheel (int x, int y, int direction)
 
virtual void handleTooltipUpdate (int x, int y)
 

Protected Member Functions

virtual void releaseFocus ()=0
 
- Protected Member Functions inherited from GUI::CommandReceiver
virtual void handleCommand (CommandSender *sender, uint32 cmd, uint32 data)
 

Protected Attributes

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

Member Function Documentation

◆ getClipRect()

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

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


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