ScummVM API documentation
Xeen::ItemSelectionDialog Class Reference
Inheritance diagram for Xeen::ItemSelectionDialog:
Xeen::ButtonContainer Xeen::Cutscenes

Static Public Member Functions

static int show (int actionIndex, InventoryItems &items)
 

Additional Inherited Members

- Public Member Functions inherited from Xeen::ButtonContainer
 ButtonContainer (XeenEngine *vm)
 
void saveButtons ()
 
void clearButtons ()
 
void restoreButtons ()
 
void addButton (const Common::Rect &bounds, int val, SpriteResource *sprites=nullptr)
 
void addButton (const Common::Rect &bounds, int val, int frameNum, SpriteResource *sprites=nullptr)
 
void addPartyButtons (XeenEngine *vm)
 
void drawButtons (XSurface *surface)
 
void clearEvents ()
 
- Protected Member Functions inherited from Xeen::ButtonContainer
bool checkEvents (XeenEngine *vm)
 
bool doScroll (bool rollUp, bool fadeIn) override
 
void loadStrings (const Common::String &name)
 
void loadStrings (const Common::String &name, int ccMode)
 
void setWaitBounds ()
 
- Protected Member Functions inherited from Xeen::Cutscenes
 Cutscenes (XeenEngine *vm)
 
uint getSpeakingFrame (uint minFrame, uint maxFrame)
 
- Protected Attributes inherited from Xeen::ButtonContainer
Common::Array< UIButton_buttons
 
Common::StringArray _textStrings
 
Common::Rect _waitBounds
 
int _buttonValue
 
- Protected Attributes inherited from Xeen::Cutscenes
XeenEngine_vm
 

Member Function Documentation

◆ show()

static int Xeen::ItemSelectionDialog::show ( int  actionIndex,
InventoryItems items 
)
static

Shows the dialog

Parameters
actionIndexCurrent action type
itemsCurrently active items category
Returns
Selected item index

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