diff options
Diffstat (limited to 'engines/macventure/macventure.h')
-rw-r--r-- | engines/macventure/macventure.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/engines/macventure/macventure.h b/engines/macventure/macventure.h index c19021d4c5..4671c2a881 100644 --- a/engines/macventure/macventure.h +++ b/engines/macventure/macventure.h @@ -179,7 +179,7 @@ public: void runObjQueue(); bool printTexts(); - void selectObject(ObjID objID); + void handleObjectSelect(ObjID objID, WindowReference win, Common::Event event); void updateDelta(Common::Point newPos); void focusObjWin(ObjID objID); void updateWindow(WindowReference winID); @@ -201,6 +201,10 @@ public: bool isObjClickable(ObjID objID); bool isObjSelected(ObjID objID); + // Encapsulation HACK + Common::Rect getObjBounds(ObjID objID); + uint getOverlapPercent(ObjID one, ObjID other); + WindowReference getObjWindow(ObjID objID); WindowReference findObjWindow(ObjID objID); WindowReference findParentWindow(ObjID objID); @@ -217,6 +221,14 @@ private: void updateControls(); void resetVars(); + void unselectAll(); + void selectObject(ObjID objID); + void unselectObject(ObjID objID); + int findObjectInArray(ObjID objID, const Common::Array<ObjID> &list); + void highlightExit(ObjID objID); + void selectPrimaryObject(ObjID objID); + + // Object queue methods void focusObjectWindow(ObjID objID); void openObject(ObjID objID); |