Public Types | |
| enum | { VS_NORM = 0x0000, VS_OVER = 0x0001, VS_PRESS = 0x0002, VS_GREY = 0x0003, VS_STATUS = 0x000f, VS_UP = 0x0010, VS_PAGE_UP = 0x0020, VS_THUMB = 0x0030, VS_PAGE_DOWN = 0x0040, VS_DOWN = 0x0050, VS_COMPONENT = 0x00f0 } |
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 menuItemVSlider * | add (guiMenu *myMenu, int32 tag, int32 x, int32 y, int32 w, int32 h, int32 initPercent=0, CALLBACK callback=nullptr, bool transparent=false) |
| static void | disableVSlider (menuItemVSlider *myItem, int32 tag, guiMenu *myMenu) |
| static void | enableVSlider (menuItemVSlider *myItem, int32 tag, guiMenu *myMenu) |
| static void | drawVSlider (menuItemVSlider *myItem, guiMenu *myMenu, int32 x, int32 y, int32, int32) |
| static bool | handler (menuItemVSlider *myItem, int32 eventType, int32 event, int32 x, int32 y, void **currItem) |
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 | thumbY = 0 |
| int32 | minThumbY = 0 |
| int32 | maxThumbY = 0 |
| int32 | percent = 0 |
Public Attributes inherited from M4::GUI::menuItem | |
| menuItem * | next = nullptr |
| menuItem * | prev = nullptr |
| guiMenu * | myMenu = nullptr |
| int32 | tag = 0 |
| int32 | x1 = 0 |
| int32 | y1 = 0 |
| int32 | x2 = 0 |
| int32 | y2 = 0 |
| bool | transparent = false |
| GrBuff * | background = nullptr |
| CALLBACK | callback = nullptr |
| DrawFunction | redraw = nullptr |
| DestroyFunction | destroy = nullptr |
| ItemHandlerFunction | itemEventHandler = nullptr |