TORCS  1.3.9
The Open Racing Car Simulator
guiscrollbar.cpp File Reference

GUI scrollbar management. More...

#include <stdlib.h>
#include <tgfclient.h>
#include "gui.h"
Include dependency graph for guiscrollbar.cpp:

Go to the source code of this file.

Functions

void gfuiScrollBarInit (void)
 
static void gfuiScrollPlus (void *idv)
 
static void gfuiScrollMinus (void *idv)
 
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. More...
 
int GfuiScrollBarPosGet (void *scr, int id)
 Get the current position of a scroll bar. More...
 
void GfuiScrollBarPosSet (void *scr, int id, int min, int max, int len, int start)
 Set new values for position. More...
 
void gfuiReleaseScrollbar (tGfuiObject *curObject)
 

Detailed Description

GUI scrollbar management.

Author
Eric Espie
Version
$Id$

Definition in file guiscrollbar.cpp.

Function Documentation

◆ gfuiReleaseScrollbar()

void gfuiReleaseScrollbar ( tGfuiObject curObject)

Definition at line 433 of file guiscrollbar.cpp.

◆ gfuiScrollBarInit()

void gfuiScrollBarInit ( void  )

Definition at line 35 of file guiscrollbar.cpp.

◆ gfuiScrollMinus()

static void gfuiScrollMinus ( void *  idv)
static

Definition at line 65 of file guiscrollbar.cpp.

◆ gfuiScrollPlus()

static void gfuiScrollPlus ( void *  idv)
static

Definition at line 40 of file guiscrollbar.cpp.