ScummVM API documentation
Pegasus::Interface Class Reference
Inheritance diagram for Pegasus::Interface:
Pegasus::InputHandler Pegasus::NotificationReceiver

Public Member Functions

void createInterface ()
 
void calibrateCompass ()
 
void calibrateEnergyBar ()
 
void raiseInventoryDrawerSync ()
 
void lowerInventoryDrawerSync ()
 
void raiseBiochipDrawerSync ()
 
void lowerBiochipDrawerSync ()
 
void raiseInventoryDrawer (const bool doCallBacks=true)
 
void raiseBiochipDrawer (const bool doCallBacks=true)
 
void lowerInventoryDrawer (const bool doCallBacks=true)
 
void lowerBiochipDrawer (const bool doCallBacks=true)
 
void raiseInventoryDrawerForMessage ()
 
void lowerInventoryDrawerForMessage ()
 
bool isInventoryUp ()
 
bool isInventoryDown ()
 
InventoryResult addInventoryItem (InventoryItem *)
 
InventoryResult removeInventoryItem (InventoryItem *)
 
void removeAllItemsFromInventory ()
 
InventoryItemgetCurrentInventoryItem ()
 
void setCurrentInventoryItem (InventoryItem *)
 
void setCurrentInventoryItemID (ItemID)
 
InventoryResult addBiochip (BiochipItem *)
 
void removeAllItemsFromBiochips ()
 
BiochipItemgetCurrentBiochip ()
 
void setCurrentBiochip (BiochipItem *)
 
void setCurrentBiochipID (ItemID)
 
void setDate (const uint16)
 
void playEndMessage ()
 
void throwAwayInterface ()
 
- Public Member Functions inherited from Pegasus::InputHandler
 InputHandler (InputHandler *)
 
virtual void setNextHandler (InputHandler *nextHandler)
 
virtual InputHandlergetNextHandler ()
 
virtual void handleInput (const Input &, const Hotspot *)
 
virtual void clickInHotspot (const Input &, const Hotspot *)
 
virtual void activateHotspots ()
 
virtual void updateCursor (const Common::Point, const Hotspot *)
 
virtual bool isClickInput (const Input &, const Hotspot *)
 
virtual bool wantsCursor ()
 
virtual bool releaseInputFocus ()
 
virtual void grabInputFocus ()
 
virtual InputBits getInputFilter ()
 
virtual InputBits getClickFilter ()
 
virtual void allowInput (const bool allow)
 

Protected Member Functions

void validateBackground ()
 
void validateDateMonitor ()
 
void validateCompass ()
 
void validateNotifications ()
 
void validateAIArea ()
 
void validateInventoryPanel ()
 
void validateBiochipPanel ()
 
void validateEnergyMonitor ()
 
void throwAwayBackground ()
 
void throwAwayDateMonitor ()
 
void throwAwayCompass ()
 
void throwAwayNotifications ()
 
void throwAwayAIArea ()
 
void throwAwayInventoryPanel ()
 
void throwAwayBiochipPanel ()
 
void throwAwayEnergyMonitor ()
 
void receiveNotification (Notification *, const NotificationFlags) override
 
void inventoryLidOpen (const bool doCallBacks)
 
void inventoryLidClosed ()
 
void inventoryDrawerUp ()
 
void inventoryDrawerDown (const bool doCallBacks)
 
void biochipLidOpen (const bool doCallBacks)
 
void biochipLidClosed ()
 
void biochipDrawerUp ()
 
void biochipDrawerDown (const bool doCallBacks)
 
- Protected Member Functions inherited from Pegasus::NotificationReceiver
virtual void newNotification (Notification *notification)
 

Protected Attributes

Picture _background1
 
Picture _background2
 
Picture _background3
 
Picture _background4
 
Picture _datePicture
 
InputHandler_previousHandler
 
Push _inventoryPush
 
SpriteSequence _inventoryLid
 
NotificationCallBack _inventoryPushCallBack
 
NotificationCallBack _inventoryLidCallBack
 
InventoryItemsPicture _inventoryPanel
 
bool _inventoryUp
 
bool _inventoryRaised
 
Sound _inventoryOpenSound
 
Sound _inventoryCloseSound
 
Push _biochipPush
 
SpriteSequence _biochipLid
 
NotificationCallBack _biochipPushCallBack
 
NotificationCallBack _biochipLidCallBack
 
BiochipPicture _biochipPanel
 
bool _biochipUp
 
bool _biochipRaised
 
Sound _biochipOpenSound
 
Sound _biochipCloseSound
 
Hotspot _currentItemSpot
 
Hotspot _currentBiochipSpot
 
Notification _interfaceNotification
 
bool _playingEndMessage
 
- Protected Attributes inherited from Pegasus::InputHandler
InputHandler_nextHandler
 
bool _allowInput
 

Additional Inherited Members

- Static Public Member Functions inherited from Pegasus::InputHandler
static InputHandlersetInputHandler (InputHandler *)
 
static InputHandlergetCurrentHandler ()
 
static void pollForInput ()
 
static void getInput (Input &, Hotspot *&)
 
static void readInputDevice (Input &)
 
static void invalHotspots ()
 
static InputBits getCurrentFilter ()
 
- Static Protected Attributes inherited from Pegasus::InputHandler
static InputHandler_inputHandler
 
static bool _invalHotspots
 
static InputBits _lastFilter
 

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