ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
M4::GUI::menuItemHSlider Struct Reference
Inheritance diagram for M4::GUI::menuItemHSlider:
M4::GUI::menuItem

Public Types

enum  { H_THUMB_NORM = 0, H_THUMB_OVER = 1, H_THUMB_PRESS = 2 }
 
- Public Types inherited from M4::GUI::menuItem
enum  {
  TEXT_COLOR_GREY_HILITE = 192, TEXT_COLOR_GREY_FOREGROUND = 210, TEXT_COLOR_GREY_SHADOW = 229, TEXT_COLOR_NORM_HILITE = 3,
  TEXT_COLOR_NORM_FOREGROUND = 2, TEXT_COLOR_NORM_SHADOW = 1, TEXT_COLOR_OVER_HILITE = 3, TEXT_COLOR_OVER_FOREGROUND = 2,
  TEXT_COLOR_OVER_SHADOW = 1, TEXT_COLOR_PRESS_HILITE = 3, TEXT_COLOR_PRESS_FOREGROUND = 2, TEXT_COLOR_PRESS_SHADOW = 1
}
 

Static Public Member Functions

static menuItemHSlideradd (guiMenu *myMenu, int32 tag, int32 x, int32 y, int32 w, int32 h, int32 initPercent=0, CALLBACK callback=nullptr, bool transparent=false)
 
- Static Public Member Functions inherited from M4::GUI::menuItem
static void destroyItem (menuItem *theItem)
 
static bool cursorInsideItem (menuItem *myItem, int32 cursorX, int32 cursorY)
 

Public Attributes

int32 itemFlags = 0
 
int32 thumbW = 0
 
int32 thumbH = 0
 
int32 thumbX = 0
 
int32 maxThumbX = 0
 
int32 percent = 0
 
- Public Attributes inherited from M4::GUI::menuItem
menuItemnext = nullptr
 
menuItemprev = nullptr
 
guiMenumyMenu = nullptr
 
int32 tag = 0
 
int32 x1 = 0
 
int32 y1 = 0
 
int32 x2 = 0
 
int32 y2 = 0
 
bool transparent = false
 
GrBuffbackground = nullptr
 
CALLBACK callback = nullptr
 
DrawFunction redraw = nullptr
 
DestroyFunction destroy = nullptr
 
ItemHandlerFunction itemEventHandler = nullptr
 

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