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

Macros

#define D4D_PRGRS_BAR_F_BAR_AUTOCOLOR
 This flag specifies the behavior of the progress bar. If it is set, the color of a progress bar depends on the current value and it is computed from a color scheme object dependent parameters fore color and barEnd from the progress bar declaration macro. In another situation, a color specified by the bar parameter from the color scheme object dependent parameters are used. More...
 
#define D4D_PRGRS_BAR_F_TEXT_AUTOCOLOR
 Enable text autocolor based on current value (inverted color to bar color) More...
 
#define D4D_PRGRS_BAR_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_PRGRS_BAR_F_AUTOCOLOR
 Help macro to simplify the auto color declaration. More...
 
#define D4D_PRGRS_BAR_F_DEFAULT
 This is progress bar init flags. If not defined, it sets to (D4D_OBJECT_F_VISIBLE | D4D_OBJECT_F_ENABLED | D4D_PRGRS_BAR_F_BAR_AUTOCOLOR | D4D_PRGRS_BAR_F_BAR_SCALECOLOR) as a default. More...
 
#define D4D_PRGRS_BAR_BAR_OFF
 This is offset value of active work area of progress bar. If not defined, it sets to 5 pixels as a default. More...
 
#define D4D_COLOR_PRGRS_BAR_BAR_FORE
 This is progress bar fore color definition. If not defined, it sets to D4D_COLOR_DARK_GREEN as a default. More...
 
#define D4D_COLOR_PRGRS_BAR_BAR_END
 This is progress bar end color definition. If not defined, it sets to D4D_COLOR_YELLOW as a default. More...
 
#define D4D_COLOR_PRGRS_BAR_BAR_BCKG
 This is progress bar background color definition. If not defined, it sets to D4D_COLOR_BRIGHT_GREY as a default. More...
 
#define D4D_COLOR_PRGRS_BAR_MAX_VAL
 This is progress bar maximal value definition. If not defined, it sets to 100 (to reflect standard percentual view) as a default. More...
 
#define D4D_GET_PROGRESS_BAR(pObj)
 
#define _D4D_DECLARE_PROGRESS_BAR(type, name, x, y, cx, cy, radius, pMargin, pRelations, flags, pScheme, pUser, pOnUsrMsg)
 Macro that create the Progress bar object structure in memory including all substructures. More...
 
#define D4D_DECLARE_PROGRESS_BAR(name, x, y, cx, cy, radius, flags, pScheme, pUser, pOnUsrMsg)
 Macro that create the Progress bar object structure in memory including all substructures with restricted count of parameters to simplify definition. More...
 
#define D4D_DECLARE_STD_PROGRESS_BAR(name, x, y, cx, cy, radius)
 Macro that create the Progress 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_PROGRESS_BAR_INRAM(name, x, y, cx, cy, radius, flags, pScheme, pUser, pOnUsrMsg)
 Same as D4D_DECLARE_PROGRESS_BAR, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_STD_PROGRESS_BAR_INRAM(name, x, y, cx, cy, radius)
 Same as D4D_DECLARE_STD_PROGRESS_BAR, but is created in RAM instead of the ROM memory. More...
 

Typedefs

typedef Byte D4D_PROGRESS_BAR_VALUE
 Type definition of progress bar value type - this is standard type used for progress bar data input. More...
 

Functions

void D4D_PrgrsBarSetValue (D4D_OBJECT_PTR pThis, D4D_PROGRESS_BAR_VALUE value)
 
D4D_PROGRESS_BAR_VALUE D4D_PrgrsBarGetValue (D4D_OBJECT_PTR pThis)
 
void D4D_PrgrsBarChangeValue (D4D_OBJECT_PTR pThis, D4D_PROGRESS_BAR_VALUE incr)
 
void D4D_PrgrsBarSetBarColor (D4D_OBJECT_PTR pThis, D4D_COLOR color)
 
D4D_COLOR D4D_PrgrsBarGetBarColor (D4D_OBJECT_PTR pThis)
 

Variables

const D4D_OBJECT_SYS_FUNCTION d4d_progress_barSysFunc
 

Detailed Description

D4D Driver progress_bar object header file.

Author
Petr Gargulak
Version
0.0.6.0
Date
Jan-14-2014

Definition in file d4d_progress_bar.h.

Macro Definition Documentation

#define D4D_GET_PROGRESS_BAR (   pObj)

Definition at line 152 of file d4d_progress_bar.h.

Function Documentation

void D4D_PrgrsBarChangeValue ( D4D_OBJECT_PTR  pThis,
D4D_PROGRESS_BAR_VALUE  incr 
)

Definition at line 265 of file d4d_progress_bar.c.

Here is the call graph for this function:

D4D_COLOR D4D_PrgrsBarGetBarColor ( D4D_OBJECT_PTR  pThis)

Definition at line 252 of file d4d_progress_bar.c.

D4D_PROGRESS_BAR_VALUE D4D_PrgrsBarGetValue ( D4D_OBJECT_PTR  pThis)

Definition at line 223 of file d4d_progress_bar.c.

void D4D_PrgrsBarSetBarColor ( D4D_OBJECT_PTR  pThis,
D4D_COLOR  color 
)

Definition at line 235 of file d4d_progress_bar.c.

Here is the call graph for this function:

void D4D_PrgrsBarSetValue ( D4D_OBJECT_PTR  pThis,
D4D_PROGRESS_BAR_VALUE  value 
)

Definition at line 199 of file d4d_progress_bar.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const D4D_OBJECT_SYS_FUNCTION d4d_progress_barSysFunc

Definition at line 52 of file d4d_progress_bar.c.