GUI scrollbar management.
More...
#include <stdlib.h>
#include <tgfclient.h>
#include "gui.h"
Go to the source code of this file.
|
| void | gfuiScrollBarInit (void) |
| static void | gfuiScrollPlus (tGfuiObject *object) |
| static void | gfuiScrollMinus (tGfuiObject *object) |
| static void | gfuiScrollButtonCreate (void *scr, const char *image, const char *pushed, int x, int y, int align, tGfuiObject *object, void(*onPush)(tGfuiObject *)) |
| int | GfuiScrollBarCreate (void *scr, int x, int y, int align, int width, int orientation, int min, int max, int len, int start, void *userData, tfuiSBCallback onScroll) |
| | Create a new scroll bar.
|
| int | GfuiScrollBarPosGet (void *scr, int id) |
| | Get the current position of a scroll bar.
|
| void | GfuiScrollBarPosSet (void *scr, int id, int min, int max, int len, int start) |
| | Set new values for position.
|
| void | gfuiReleaseScrollbar (tGfuiObject *curObject) |
GUI scrollbar management.
- Author
- Eric Espie
Definition in file guiscrollbar.cpp.
◆ gfuiReleaseScrollbar()
◆ gfuiScrollBarInit()
| void gfuiScrollBarInit |
( |
void | | ) |
|
◆ gfuiScrollButtonCreate()
| void gfuiScrollButtonCreate |
( |
void * | scr, |
|
|
const char * | image, |
|
|
const char * | pushed, |
|
|
int | x, |
|
|
int | y, |
|
|
int | align, |
|
|
tGfuiObject * | object, |
|
|
void(* | onPush )(tGfuiObject *) ) |
|
static |
◆ gfuiScrollMinus()
◆ gfuiScrollPlus()