ScummVM API documentation
MacVenture::Gui Class Reference

Public Member Functions

 Gui (MacVentureEngine *engine, Common::MacResManager *resman)
 
void reloadInternals ()
 
void draw ()
 
void drawMenu ()
 
void drawTitle ()
 
void clearControls ()
 
bool processEvent (Common::Event &event)
 
void handleMenuAction (MenuAction action)
 
void updateWindow (WindowReference winID, bool containerOpen)
 
void invertWindowColors (WindowReference winID)
 
WindowReference createInventoryWindow (ObjID objRef)
 
bool tryCloseWindow (WindowReference winID)
 
Common::Point getObjMeasures (ObjID obj)
 
WindowReference getObjWindow (ObjID objID)
 
WindowReference findObjWindow (ObjID objID)
 
bool processCommandEvents (WindowClick click, Common::Event &event)
 
bool processMainGameEvents (WindowClick click, Common::Event &event)
 
bool processOutConsoleEvents (WindowClick click, Common::Event &event)
 
bool processSelfEvents (WindowClick click, Common::Event &event)
 
bool processExitsEvents (WindowClick click, Common::Event &event)
 
bool processDiplomaEvents (WindowClick click, Common::Event &event)
 
bool processInventoryEvents (WindowClick click, Common::Event &event)
 
const WindowDatagetWindowData (WindowReference reference)
 
const Graphics::FontgetCurrentFont ()
 
void selectForDrag (Common::Point cursorPosition)
 
void handleSingleClick ()
 
void handleDoubleClick ()
 
void bringToFront (WindowReference window)
 
void setWindowTitle (WindowReference winID, const Common::String &string)
 
void updateWindowInfo (WindowReference ref, ObjID objID, const Common::Array< ObjID > &children)
 
void ensureInventoryOpen (WindowReference reference, ObjID id)
 
void addChild (WindowReference target, ObjID child)
 
void removeChild (WindowReference target, ObjID child)
 
void clearExits ()
 
void unselectExits ()
 
void updateExit (ObjID id)
 
void printText (const Common::String &text)
 
void showPrebuiltDialog (PrebuiltDialogs type)
 
bool isDialogOpen ()
 
void getTextFromUser ()
 
void setTextInput (const Common::String &str)
 
void closeDialog ()
 
void loadGame ()
 
void saveGame ()
 
void newGame ()
 
void quitGame ()
 
void createInnerSurface (Graphics::ManagedSurface *innerSurface, Graphics::ManagedSurface *outerSurface, const BorderBounds &borders)
 

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