ScummVM API documentation
Ultima::Nuvie::GUI Class Reference

Public Member Functions

 GUI (const Configuration *c, Screen *s)
 
int AddWidget (GUI_Widget *widget)
 
bool removeWidget (GUI_Widget *widget)
 
bool moveWidget (GUI_Widget *widget, uint32 dx, uint32 dy)
 
void force_full_redraw ()
 
void Display ()
 
int Running (void)
 
void Run (GUI_IdleProc idle=nullptr, int once=0, int multitaskfriendly=0)
 
void Idle ()
 
GUI_Font * get_font ()
 
Screen * get_screen ()
 
GUI_Widget * get_focused_widget ()
 
GUI_Widget * get_locked_widget ()
 
bool get_block_input ()
 
GUI_Color * get_selected_color ()
 
GUI_status HandleEvent (Common::Event *event)
 
bool set_focus (GUI_Widget *widget)
 
void clear_focus ()
 
void lock_input (GUI_Widget *widget)
 
void unlock_input ()
 
void block ()
 
void unblock ()
 
Common::Path get_data_dir () const
 
uint16 get_width () const
 
uint16 get_height () const
 

Static Public Member Functions

static GUI * get_gui ()
 

Static Public Attributes

static const int mouseclick_delay
 

Protected Member Functions

void HandleStatus (GUI_status status)
 
void CleanupDeletedWidgets (bool redraw=false)
 

Protected Attributes

const Configuration * config
 
Screen * screen
 
GUI_Font * gui_font
 
GUI_DragManager * gui_drag_manager
 
int maxwidgets
 
int numwidgets
 
GUI_Widget ** widgets
 
GUI_Widget * focused_widget
 
GUI_Widget * locked_widget
 
bool block_input
 
int running
 
int display
 
bool dragging
 
bool full_redraw
 
GUI_Color * selected_color
 

Static Protected Attributes

static GUI * gui
 

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