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_Fontget_font ()
 
Screenget_screen ()
 
GUI_Widgetget_focused_widget ()
 
GUI_Widgetget_locked_widget ()
 
bool get_block_input ()
 
GUI_Colorget_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 GUIget_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 Configurationconfig
 
Screenscreen
 
GUI_Fontgui_font
 
GUI_DragManagergui_drag_manager
 
int maxwidgets
 
int numwidgets
 
GUI_Widget ** widgets
 
GUI_Widgetfocused_widget
 
GUI_Widgetlocked_widget
 
bool block_input
 
int running
 
int display
 
bool dragging
 
bool full_redraw
 
GUI_Colorselected_color
 

Static Protected Attributes

static GUIgui
 

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