eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
d4d_scroll_bar.h File Reference
This graph shows which files directly or indirectly include this file:

Macros

#define D4D_SCRLBR_F_DEFAULT
 This is scroll bar init flags. If not defined, it sets to (D4D_OBJECT_F_VISIBLE | D4D_OBJECT_F_ENABLED | D4D_OBJECT_F_TABSTOP | D4D_OBJECT_F_TOUCHENABLE | D4D_OBJECT_F_MOUSE_NORMAL | D4D_OBJECT_F_FOCUSRECT) as a default. More...
 
#define D4D_SCRLBAR_MIN_TAB_SIZE
 This is minimal width of scroll bar in pixels. If not defined, it sets to 4 pixel as a default. More...
 
#define D4D_GET_SCROLL_BAR(pObj)
 
#define D4D_GET_SCROLL_BAR_DATA(pObj)
 
#define _D4D_DECLARE_SCROLL_BAR(type, name, x, y, cx, cy, radius, pMargin, pRelations, flags, pScheme, pUser, pOnChange, pOnUsrMsg)
 Macro that create the Scroll bar object structure in memory including all substructures. More...
 
#define D4D_DECLARE_SCROLL_BAR(name, x, y, cx, cy, flags, pScheme, pUser, pOnChange, pOnUsrMsg)
 Macro that create the Scroll bar object structure in memory including all substructures with restricted count of parameters to simplify definition. More...
 
#define D4D_DECLARE_STD_SCROLL_BAR(name, x, y, cx, cy, pOnChange)
 Macro that create the Scroll bar object structure in memory including all substructures with restricted count of parameters to simplify definition The missing parameters are replaced by default values. More...
 
#define D4D_DECLARE_RSCROLL_BAR(name, x, y, cx, cy, radius, flags, pScheme, pUser, pOnChange, pOnUsrMsg)
 Macro that create the rounded Scroll bar object structure in memory including all substructures with restricted count of parameters to simplify definition. More...
 
#define D4D_DECLARE_STD_RSCROLL_BAR(name, x, y, cx, cy, radius, pOnChange)
 Macro that create the rounded Scroll bar object structure in memory including all substructures with restricted count of parameters to simplify definition The missing parameters are replaced by default values. More...
 
#define D4D_DECLARE_SCROLL_BAR_INRAM(name, x, y, cx, cy, flags, pScheme, pUser, pOnChange, pOnUsrMsg)
 Same as D4D_DECLARE_SCROLL_BAR, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_STD_SCROLL_BAR_INRAM(name, x, y, cx, cy, pOnChange)
 Same as D4D_DECLARE_STD_SCROLL_BAR, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_RSCROLL_BAR_INRAM(name, x, y, cx, cy, radius, flags, pScheme, pUser, pOnChange, pOnUsrMsg)
 Same as D4D_DECLARE_RSCROLL_BAR, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_STD_RSCROLL_BAR_INRAM(name, x, y, cx, cy, radius, pOnChange)
 Same as D4D_DECLARE_STD_RSCROLL_BAR, but is created in RAM instead of the ROM memory. More...
 

Typedefs

typedef void(* D4D_SCRLBR_ON_CHANGE )(D4D_OBJECT *pThis, D4D_INDEX old_position, D4D_INDEX new_position)
 Type definition of scroll bar on change callback function. More...
 
typedef struct D4D_SCRLBAR_DATA_S D4D_SCRLBAR_DATA
 

Functions

void D4D_ScrlBrSetRange (D4D_OBJECT_PTR pObj, D4D_INDEX minimum, D4D_INDEX maximum)
 The function sets the range of scroll bar scale. More...
 
void D4D_ScrlBrSetStep (D4D_OBJECT_PTR pObj, D4D_INDEX page, D4D_INDEX step)
 The function sets the step and page of scroll bar scale. More...
 
void D4D_ScrlBrSetPosition (D4D_OBJECT_PTR pObj, D4D_INDEX position)
 The function sets the scroll bar position. More...
 
D4D_INDEX D4D_ScrlBrGetPosition (D4D_OBJECT_PTR pObj)
 The function gets the scroll bar position. More...
 
void D4D_ScrlBrChangePosition (D4D_OBJECT_PTR pObj, D4D_INDEX_DELTA change)
 The function change the scroll bar position. More...
 

Variables

const D4D_OBJECT_SYS_FUNCTION d4d_scroll_barSysFunc
 

Detailed Description

D4D Driver label object header file.

Author
Petr Gargulak
Version
0.0.11.0
Date
Jan-14-2014

Definition in file d4d_scroll_bar.h.

Macro Definition Documentation

#define D4D_GET_SCROLL_BAR (   pObj)

Definition at line 122 of file d4d_scroll_bar.h.

#define D4D_GET_SCROLL_BAR_DATA (   pObj)

Definition at line 123 of file d4d_scroll_bar.h.

Typedef Documentation

Variable Documentation

const D4D_OBJECT_SYS_FUNCTION d4d_scroll_barSysFunc

Definition at line 61 of file d4d_scroll_bar.c.