ScummVM API documentation
Pegasus::BiochipPicture Class Reference
Inheritance diagram for Pegasus::BiochipPicture:
Pegasus::InventoryPicture Pegasus::InputHandler Pegasus::Picture Pegasus::DisplayElement Pegasus::Frame Pegasus::IDObject Pegasus::PixelImage Pegasus::Surface

Public Member Functions

 BiochipPicture (const DisplayElementID, InputHandler *, Inventory *)
 
- Public Member Functions inherited from Pegasus::InventoryPicture
 InventoryPicture (const DisplayElementID, InputHandler *, Inventory *)
 
void initInventoryImage (Transition *)
 
void throwAwayInventoryImage ()
 
void panelUp ()
 
void activateInventoryPicture ()
 
void deactivateInventoryPicture ()
 
void handleInput (const Input &, const Hotspot *) override
 
bool wantsCursor () override
 
InventoryResult addInventoryItem (Item *)
 
InventoryResult removeInventoryItem (Item *)
 
void removeAllItems ()
 
ItemgetCurrentItem ()
 
void setCurrentItemIndex (int32)
 
void setCurrentItemID (ItemID)
 
int32 getCurrentItemIndex ()
 
bool itemInInventory (Item *)
 
bool itemInInventory (const ItemID)
 
- Public Member Functions inherited from Pegasus::InputHandler
 InputHandler (InputHandler *)
 
virtual void setNextHandler (InputHandler *nextHandler)
 
virtual InputHandlergetNextHandler ()
 
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 releaseInputFocus ()
 
virtual void grabInputFocus ()
 
virtual InputBits getInputFilter ()
 
virtual InputBits getClickFilter ()
 
virtual void allowInput (const bool allow)
 
- Public Member Functions inherited from Pegasus::Picture
 Picture (const DisplayElementID id)
 
void initFromPICTFile (const Common::Path &fileName, bool transparent=false) override
 
void initFromPICTResource (Common::MacResManager *resFork, uint16 id, bool transparent=false) override
 
void initFromMovieFrame (Video::VideoDecoder *, TimeValue, bool transparent=false) override
 
void draw (const Common::Rect &) override
 
- Public Member Functions inherited from Pegasus::DisplayElement
 DisplayElement (const DisplayElementID)
 
void setDisplayOrder (const DisplayOrder)
 
DisplayOrder getDisplayOrder () const
 
bool validToDraw (DisplayOrder, DisplayOrder)
 
bool isDisplaying ()
 
virtual void startDisplaying ()
 
virtual void stopDisplaying ()
 
virtual void show ()
 
virtual void hide ()
 
bool isVisible ()
 
void triggerRedraw ()
 
void setTriggeredElement (DisplayElement *)
 
virtual void setBounds (const CoordType, const CoordType, const CoordType, const CoordType)
 
virtual void setBounds (const Common::Rect &)
 
virtual void getBounds (Common::Rect &) const
 
virtual void sizeElement (const CoordType, const CoordType)
 
virtual void moveElementTo (const CoordType, const CoordType)
 
virtual void moveElement (const CoordType, const CoordType)
 
virtual void getLocation (CoordType &, CoordType &) const
 
virtual void getCenter (CoordType &, CoordType &) const
 
virtual void centerElementAt (const CoordType, const CoordType)
 
- Public Member Functions inherited from Pegasus::IDObject
 IDObject (const int32 id)
 
int32 getObjectID () const
 
- Public Member Functions inherited from Pegasus::PixelImage
void drawImage (const Common::Rect &, const Common::Rect &)
 
- Public Member Functions inherited from Pegasus::Surface
virtual void allocateSurface (const Common::Rect &)
 
virtual void deallocateSurface ()
 
virtual void shareSurface (Surface *surface)
 
bool isSurfaceValid () const
 
Graphics::SurfacegetSurface () const
 
void getSurfaceBounds (Common::Rect &r)
 
void copyToCurrentPort () const
 
void copyToCurrentPortTransparent () const
 
void copyToCurrentPort (const Common::Rect &) const
 
void copyToCurrentPortTransparent (const Common::Rect &) const
 
void copyToCurrentPort (const Common::Rect &, const Common::Rect &) const
 
void copyToCurrentPortTransparent (const Common::Rect &, const Common::Rect &) const
 
void copyToCurrentPortMasked (const Common::Rect &, const Common::Rect &, const Surface *) const
 
void copyToCurrentPortTransparentGlow (const Common::Rect &, const Common::Rect &) const
 
void scaleTransparentCopy (const Common::Rect &, const Common::Rect &) const
 
void scaleTransparentCopyGlow (const Common::Rect &, const Common::Rect &) const
 
virtual void getImageFromPICTFile (const Common::Path &fileName)
 
virtual void getImageFromPICTResource (Common::MacResManager *resFork, uint16 id)
 
virtual void getImageFromMovieFrame (Video::VideoDecoder *, TimeValue)
 

Protected Member Functions

void unhighlightCurrentItem () override
 
TimeValue getItemPanelTime (Item *) override
 
- Protected Member Functions inherited from Pegasus::InventoryPicture
void getItemXY (uint32, CoordType &, CoordType &)
 
void draw (const Common::Rect &) override
 
void drawItemHighlight (const Common::Rect &)
 
virtual void highlightCurrentItem ()
 
- Protected Member Functions inherited from Pegasus::PixelImage
virtual void setTransparent (bool transparent)
 

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 ()
 
- Protected Attributes inherited from Pegasus::InventoryPicture
Inventory_inventory
 
uint32 _lastReferenceCount
 
Frame _highlightImage
 
Movie _panelMovie
 
int32 _currentItemIndex
 
Item_currentItem
 
Common::Rect _highlightBounds
 
bool _active
 
bool _shouldDrawHighlight
 
Common::Path _pictName
 
Common::Path _movieName
 
Common::Path _highlightName
 
uint16 _itemsPerRow
 
uint16 _numberOfRows
 
uint16 _itemWidth
 
uint16 _itemHeight
 
uint16 _itemX
 
uint16 _itemY
 
- Protected Attributes inherited from Pegasus::InputHandler
InputHandler_nextHandler
 
bool _allowInput
 
- Protected Attributes inherited from Pegasus::DisplayElement
Common::Rect _bounds
 
bool _elementIsVisible
 
DisplayElement_triggeredElement
 
bool _elementIsDisplaying
 
DisplayOrder _elementOrder
 
DisplayElement_nextElement
 
- Protected Attributes inherited from Pegasus::PixelImage
bool _transparent
 
- Protected Attributes inherited from Pegasus::Surface
bool _ownsSurface
 
Graphics::Surface_surface
 
Common::Rect _bounds
 
- 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: