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

Macros

#define D4D_SLDR_F_BAR_AUTOCOLOR
 This flag specifies the behavior of the slider. If it is set, the color of a slider bar depends on the current value and it is computed from a color scheme object dependent parameters fore color and barEnd from the slider declaration macro. In another situation, a color specified by the bar parameter from the color scheme object dependent parameters are used. More...
 
#define D4D_SLDR_F_TEXT_AUTOCOLOR
 Enable text autocolor based on current value (inverted color to bar color) More...
 
#define D4D_SLDR_F_BAR_SCALECOLOR
 This option enable little bit different type of drawing bar, the color is gradually changed from fore color to end bar color. More...
 
#define D4D_SLDR_F_AUTOTOUCH_OFF
 This option disables auto touch events to prevent fast changing of slider for longer touches. More...
 
#define D4D_SLDR_F_AUTOCOLOR
 Help macro to simplify the auto color declaration. More...
 
#define D4D_SLDR_F_DEFAULT
 This is slider 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_FOCUSRECT | D4D_OBJECT_F_MOUSE_NORMAL) as a default. More...
 
#define D4D_SLDR_TXT_PRTY_DEFAULT
 This is slider init text properties. If not defined, it sets to (D4D_ALIGN_H_CENTER_MASK | D4D_ALIGN_V_CENTER_MASK) as a default. More...
 
#define D4D_SLDR_FNT_PRTY_DEFAULT
 This is slider init font properties. If not defined, it sets to ( D4D_FNT_PRTY_TRANSPARENT_YES_MASK ) as a default. More...
 
#define D4D_SLDR_BAR_OFF_LENGTH
 This is slider working bar offset in axis X to object outline. If not defined, it sets to 2 pixels as a default. More...
 
#define D4D_SLDR_BAR_OFF_WIDTH
 This is slider working bar offset in axis Y to object outline. If not defined, it sets to 2 pixels as a default. More...
 
#define D4D_SLDR_AUTOTOUCHTICKS
 This is slider timeout of auto increment for long touch (in ticks of eGUI time ticks - D4D_TimeTickPut), it can be changed in runtime. If not defined, it sets to ( 10 ) as a default. More...
 
#define D4D_COLOR_SLDR_BAR_FORE
 This is slider fore color definition. If not defined, it sets to D4D_COLOR_DARK_BLUE as a default. More...
 
#define D4D_COLOR_SLDR_BAR_BCKG
 This is slider background color definition. If not defined, it sets to D4D_COLOR_BRIGHT_GREY as a default. More...
 
#define D4D_COLOR_SLDR_BAR_START
 This is slider start fore color definition. If not defined, it sets to D4D_COLOR_GREEN as a default. More...
 
#define D4D_COLOR_SLDR_BAR_END
 This is slider end color definition. If not defined, it sets to D4D_COLOR_RED as a default. More...
 
#define D4D_GET_SLIDER(pObj)
 
#define _D4D_DECLARE_SLIDER(type, name, text, x, y, cx, cy, radius, pMargin, pRelations, tx, ty, bx, by, bcx, bcy, flags, pBmp, pScheme, fontId, pUser, onvalch, pOnUsrMsg)
 Macro that create the Slider object structure in memory including all substructures. More...
 
#define D4D_DECLARE_SLIDER(name, text, x, y, cx, cy, tx, ty, bx, by, bcx, bcy, flags, pBmp, pScheme, fontId, pUser, onvalch, pOnUsrMsg)
 Macro that create the Slider object structure in memory including all substructures with restricted count of parameters to simplify definition. More...
 
#define D4D_DECLARE_STD_SLIDER(name, text, x, y, cx, cy, tx, ty, bx, by, bcx, bcy, pBmp, fontId, onvalch)
 Macro that create the Slider 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_SLIDER_AUTOSIZE(name, text, x, y, cx, cy, flags, pBmp, pScheme, fontId, pUser, onvalch, pOnUsrMsg)
 Macro that create the Slider object structure in memory including all substructures with restricted count of parameters to simplify definition The internal coordination values are computed automatically to standard. More...
 
#define D4D_DECLARE_STD_SLIDER_AUTOSIZE(name, text, x, y, cx, cy, pBmp, fontId, onvalch)
 Macro that create the Slider object structure in memory including all substructures with restricted count of parameters to simplify definition The missing parameters are replaced by default values. The internal coordination values are computed automatically to standard. More...
 
#define D4D_DECLARE_RSLIDER(name, text, x, y, cx, cy, radius, tx, ty, bx, by, bcx, bcy, flags, pBmp, pScheme, fontId, pUser, onvalch, pOnUsrMsg)
 Macro that create the rounded Slider object structure in memory including all substructures with restricted count of parameters to simplify definition. More...
 
#define D4D_DECLARE_STD_RSLIDER(name, text, x, y, cx, cy, radius, tx, ty, bx, by, bcx, bcy, pBmp, fontId, onvalch)
 Macro that create the rounded Slider 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_RSLIDER_AUTOSIZE(name, text, x, y, cx, cy, radius, flags, pBmp, pScheme, fontId, pUser, onvalch, pOnUsrMsg)
 Macro that create the rounded Slider object structure in memory including all substructures with restricted count of parameters to simplify definition The internal coordination values are computed automatically to standard. More...
 
#define D4D_DECLARE_STD_RSLIDER_AUTOSIZE(name, text, x, y, cx, cy, radius, pBmp, fontId, onvalch)
 Macro that create the rounded Slider object structure in memory including all substructures with restricted count of parameters to simplify definition The missing parameters are replaced by default values. The internal coordination values are computed automatically to standard. More...
 
#define D4D_DECLARE_SLIDER_INRAM(name, text, x, y, cx, cy, tx, ty, bx, by, bcx, bcy, flags, pBmp, pScheme, fontId, pUser, onvalch, pOnUsrMsg)
 Same as D4D_DECLARE_SLIDER, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_STD_SLIDER_INRAM(name, text, x, y, cx, cy, tx, ty, bx, by, bcx, bcy, pBmp, fontId, onvalch)
 Same as D4D_DECLARE_STD_SLIDER, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_SLIDER_AUTOSIZE_INRAM(name, text, x, y, cx, cy, flags, pBmp, pScheme, font, pUser, onvalch, pOnUsrMsg)
 Same as D4D_DECLARE_SLIDER_AUTOSIZE, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_STD_SLIDER_AUTOSIZE_INRAM(name, text, x, y, cx, cy, pBmp, font, onvalch)
 Same as D4D_DECLARE_STD_SLIDER, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_RSLIDER_INRAM(name, text, x, y, cx, cy, radius, tx, ty, bx, by, bcx, bcy, flags, pBmp, pScheme, fontId, pUser, onvalch, pOnUsrMsg)
 Same as D4D_DECLARE_RSLIDER, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_STD_RSLIDER_INRAM(name, text, x, y, cx, cy, radius, tx, ty, bx, by, bcx, bcy, pBmp, fontId, onvalch)
 Same as D4D_DECLARE_STD_RSLIDER, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_RSLIDER_AUTOSIZE_INRAM(name, text, x, y, cx, cy, radius, flags, pBmp, pScheme, font, pUser, onvalch, pOnUsrMsg)
 Same as D4D_DECLARE_RSLIDER_AUTOSIZE, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_STD_RSLIDER_AUTOSIZE_INRAM(name, text, x, y, cx, cy, radius, pBmp, font, onvalch)
 Same as D4D_DECLARE_STD_RSLIDER_AUTOSIZE, but is created in RAM instead of the ROM memory. More...
 
#define D4D_SldrSetText
 

Typedefs

typedef sByte D4D_SLIDER_VALUE
 Type definition of slider value type - this is standard type used for slider data input. More...
 
typedef void(* D4D_SLDR_ON_CHANGE )(D4D_OBJECT *pThis)
 Type definition of slider on change callback function. More...
 

Functions

void D4D_SldrSetValue (D4D_OBJECT_PTR pThis, D4D_SLIDER_VALUE value)
 Function Sets the slider value. More...
 
D4D_SLIDER_VALUE D4D_SldrGetValue (D4D_OBJECT_PTR pThis)
 Function Gets the slider value. More...
 
void D4D_SldrChangeValue (D4D_OBJECT_PTR pThis, D4D_SLIDER_VALUE incr)
 Function change the slider value by signed increment. More...
 
void D4D_SldrSetLimits (D4D_OBJECT_PTR pThis, const D4D_SLIDER_LIMITS *pLimits)
 Function set the new limits of slider object. More...
 
void D4D_SldrGetLimits (D4D_OBJECT_PTR pThis, D4D_SLIDER_LIMITS *pLimits)
 Function get the current limits of slider object. More...
 
void D4D_SldrSetBarColor (D4D_OBJECT_PTR pThis, D4D_COLOR color)
 Function Sets the slider bar color. More...
 
D4D_COLOR D4D_SldrGetBarColor (D4D_OBJECT_PTR pThis)
 

Variables

const D4D_OBJECT_SYS_FUNCTION d4d_sliderSysFunc
 

Detailed Description

D4D Driver slider object header file.

Author
Petr Gargulak
Version
0.0.48.0
Date
Jan-14-2014

Definition in file d4d_slider.h.

Macro Definition Documentation

#define D4D_GET_SLIDER (   pObj)

Definition at line 200 of file d4d_slider.h.

#define D4D_SldrSetText

Definition at line 540 of file d4d_slider.h.

Variable Documentation

const D4D_OBJECT_SYS_FUNCTION d4d_sliderSysFunc

Definition at line 53 of file d4d_slider.c.