|
| GridWidget (GuiObject *boss, const Common::String &name) |
|
template<typename T > |
void | unloadSurfaces (Common::HashMap< T, const Graphics::ManagedSurface *> &surfaces) |
|
const Graphics::ManagedSurface * | filenameToSurface (const Common::String &name) |
|
const Graphics::ManagedSurface * | languageToSurface (Common::Language languageCode, Graphics::AlphaType &alphaType) |
|
const Graphics::ManagedSurface * | platformToSurface (Common::Platform platformCode, Graphics::AlphaType &alphaType) |
|
const Graphics::ManagedSurface * | demoToSurface (const Common::String extraString, Graphics::AlphaType &alphaType) |
|
const Graphics::ManagedSurface * | disabledThumbnail () |
|
bool | calcVisibleEntries () |
| Update _visibleEntries from _allEntries and returns true if reload is required.
|
|
void | setEntryList (Common::Array< GridItemInfo > *list) |
|
void | setAttributeValues (const Common::Array< Common::U32String > &attrs) |
|
void | setMetadataNames (const Common::StringMap &metadata) |
|
void | setTitlesVisible (bool vis) |
|
void | markGridAsInvalid () |
|
void | setGroupHeaderFormat (const Common::U32String &prefix, const Common::U32String &suffix) |
|
void | groupEntries () |
|
void | sortGroups () |
|
bool | groupExpanded (int groupID) |
|
void | toggleGroup (int groupID) |
|
void | loadClosedGroups (const Common::U32String &groupName) |
|
void | saveClosedGroups (const Common::U32String &groupName) |
|
void | reloadThumbnails () |
|
void | loadFlagIcons () |
|
void | loadPlatformIcons () |
|
void | loadExtraIcons () |
|
void | destroyItems () |
|
void | calcInnerHeight () |
|
void | calcEntrySizes () |
|
void | updateGrid () |
|
void | move (int x, int y) |
|
void | scrollToEntry (int id, bool forceToTop) |
|
void | assignEntriesToItems () |
|
int | getNextPos (int oldSel) |
|
int | getNewSel (int index) |
|
int | getScrollPos () const |
|
int | getSelected () const |
|
int | getThumbnailHeight () const |
|
int | getThumbnailWidth () const |
|
void | handleMouseWheel (int x, int y, int direction) override |
|
void | handleCommand (CommandSender *sender, uint32 cmd, uint32 data) override |
|
void | reflowLayout () override |
|
bool | wantsFocus () override |
|
void | openTray (int x, int y, int entryID) |
|
void | openTrayAtSelected () |
|
void | scrollBarRecalc () |
|
void | setSelected (int id) |
|
void | setFilter (const Common::U32String &filter) |
|
| ContainerWidget (GuiObject *boss, int x, int y, int w, int h, bool scale=false) |
|
| ContainerWidget (GuiObject *boss, const Common::String &name) |
|
bool | containsWidget (Widget *) const override |
|
Widget * | findWidget (int x, int y) override |
|
void | removeWidget (Widget *widget) override |
|
void | setBackgroundType (ThemeEngine::WidgetBackground backgroundType) |
|
| Widget (GuiObject *boss, int x, int y, int w, int h, bool scale, const Common::U32String &tooltip=Common::U32String()) |
|
| Widget (GuiObject *boss, int x, int y, int w, int h, const Common::U32String &tooltip=Common::U32String()) |
|
| Widget (GuiObject *boss, const Common::String &name, const Common::U32String &tooltip=Common::U32String()) |
|
void | init () |
|
void | setNext (Widget *w) |
|
void | setBoss (GuiObject *newBoss) |
|
Widget * | next () |
|
int16 | getAbsX () const override |
|
int16 | getAbsY () const override |
|
virtual void | setPos (int x, int y) |
|
virtual void | setSize (int w, int h) |
|
virtual void | getMinSize (int &minWidth, int &minHeight) |
|
virtual void | handleMouseDown (int x, int y, int button, int clickCount) |
|
virtual void | handleMouseUp (int x, int y, int button, int clickCount) |
|
virtual void | handleMouseEntered (int button) |
|
virtual void | handleMouseLeft (int button) |
|
virtual void | handleMouseMoved (int x, int y, int button) |
|
virtual bool | handleKeyDown (Common::KeyState state) |
|
virtual bool | handleKeyUp (Common::KeyState state) |
|
virtual void | handleOtherEvent (const Common::Event &evt) |
|
virtual void | handleTickle () |
|
virtual void | markAsDirty () |
|
virtual void | draw () |
|
void | receivedFocus () |
|
void | lostFocus () |
|
uint32 | getType () const |
|
void | setFlags (int flags) |
|
void | clearFlags (int flags) |
|
int | getFlags () const |
|
void | setEnabled (bool e) |
|
bool | isEnabled () const |
|
void | setVisible (bool e) |
|
bool | isVisible () const override |
|
bool | useRTL () const |
|
uint8 | parseHotkey (const Common::U32String &label) |
|
Common::U32String | cleanupHotkey (const Common::U32String &label) |
|
bool | hasTooltip () const |
|
const Common::U32String & | getTooltip () const |
|
void | setTooltip (const Common::U32String &tooltip) |
|
void | setTooltip (const Common::String &tooltip) |
|
void | read (const Common::U32String &str) |
|
| GuiObject (int x, int y, int w, int h, bool scale=false) |
|
| GuiObject (const Common::String &name) |
|
virtual void | setTextDrawableArea (const Common::Rect &r) |
|
virtual void | resize (int x, int y, int w, int h, bool scale=true) |
|
virtual Widget * | addChild (Widget *newChild) |
|
virtual int16 | getRelX () const |
|
virtual int16 | getRelY () const |
|
virtual int16 | getChildX () const |
|
virtual int16 | getChildY () const |
|
virtual uint16 | getWidth () const |
|
virtual uint16 | getHeight () const |
|
virtual bool | isPointIn (int x, int y) |
|
virtual Common::Rect | getClipRect () const |
|
virtual void | handleTooltipUpdate (int x, int y) |
|
Public Member Functions inherited from GUI::CommandSender |
| CommandSender (CommandReceiver *target) |
|
void | setTarget (CommandReceiver *target) |
|
CommandReceiver * | getTarget () const |
|
virtual void | sendCommand (uint32 cmd, uint32 data) |
|