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 loadDiploma ()
 
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)
 
bool tryCloseWindowRec (WindowReference winID, bool runControl=false)
 
void resetWindows ()
 
void closeAllWindows ()
 
void highlightExitButton (ObjID objID)
 
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 (WindowReference ref, WindowClick click, Common::Event &event)
 
const WindowDatagetWindowData (WindowReference reference)
 
Graphics::MacWindowfindWindow (WindowReference reference)
 
Graphics::MacWindowManagergetMacWindowManager ()
 
const Graphics::FontgetCurrentFont ()
 
void select (Common::Point cursorPosition, bool shiftPressed, bool isDoubleClick)
 
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 clearDraggedObjects ()
 
void clearExits ()
 
void unselectExits ()
 
void updateExit (ObjID id)
 
Common::String getConsoleText () const
 
void setConsoleText (const Common::String &text)
 
void printText (const Common::String &text)
 
void showPrebuiltDialog (PrebuiltDialogs type, const Common::String &title="")
 
bool isDialogOpen ()
 
void getTextFromUser (Common::String &title)
 
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: