ScummVM API documentation
Xeen::Input Class Reference
Inheritance diagram for Xeen::Input:
Xeen::ButtonContainer Xeen::Cutscenes Xeen::CopyProtection Xeen::NumericInput Xeen::StringInput

Static Public Member Functions

static int show (XeenEngine *vm, Window *window, Common::String &line, uint maxLen, int maxWidth, bool isNumeric=false)
 

Protected Member Functions

int nonEnToUpper (uint16 ascii)
 
int nonEnToLower (uint16 ascii)
 
int getString (Common::String &line, uint maxLen, int maxWidth, bool isNumeric)
 
 Input (XeenEngine *vm, Window *window)
 
- 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

Window_window
 
int _cursorAnimIndex
 
- 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
 

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 ()
 

Member Function Documentation

◆ getString()

int Xeen::Input::getString ( Common::String line,
uint  maxLen,
int  maxWidth,
bool  isNumeric 
)
protected

Allows the user to enter a string


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