eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
D4D SCHEME API Macro's Specification
Collaboration diagram for D4D SCHEME API Macro's Specification:

Modules

 D4D SCHEME 24-bit color mode support macros.
 
 D4D SCHEME 18-bit color mode support macros.
 
 D4D SCHEME 16-bit color mode support macros.
 
 D4D SCHEME 15-bit color mode support macros.
 
 D4D SCHEME 8-bit color mode support macros.
 
 D4D SCHEME 1-bit color mode support macros.
 

Macros

#define D4D_DECLARE_CLR_SCHEME(name, scrDesktop, scrOutline, scrTitleBar, scrTitleText, scrExitBtnFore, scrExitBtnBckg, objBckg, objBckgDis, objBckgFocus, objBckgCapture, objFore, objForeDis, objForeFocus, objForeCapture, gaugHub, gaugPointer, sldrBarBckg, sldrBar, sldrBarStart, sldrBarEnd, iconBckg, graphGrid, prgrsBarBarBckg, prgrsBarBar, prgrsBarBarEnd)
 The color scheme has a simple instantiation macro that specifies all colors for screens, common object colors, and object dependent colors. This is a full definition macro that allows setting of all colors in D4D color scheme. More...
 
#define D4D_DECLARE_CLR_SCHEME_INRAM(name, scrDesktop, scrOutline, scrTitleBar, scrTitleText, scrExitBtnFore, scrExitBtnBckg, objBckg, objBckgDis, objBckgFocus, objBckgCapture, objFore, objForeDis, objForeFocus, objForeCapture, gaugHub, gaugPointer, sldrBarBckg, sldrBar, sldrBarStart, sldrBarEnd, iconBckg, graphGrid, prgrsBarBarBckg, prgrsBarBar, prgrsBarBarEnd)
 The color scheme has a simple instantiation macro that specifies all colors for screens, common object colors, and object dependent colors. This is a full definition macro that allows setting of all colors in D4D color scheme. More...
 

Detailed Description

This section specifies the exact usage for each API macro.

Macro Definition Documentation

#define D4D_DECLARE_CLR_SCHEME (   name,
  scrDesktop,
  scrOutline,
  scrTitleBar,
  scrTitleText,
  scrExitBtnFore,
  scrExitBtnBckg,
  objBckg,
  objBckgDis,
  objBckgFocus,
  objBckgCapture,
  objFore,
  objForeDis,
  objForeFocus,
  objForeCapture,
  gaugHub,
  gaugPointer,
  sldrBarBckg,
  sldrBar,
  sldrBarStart,
  sldrBarEnd,
  iconBckg,
  graphGrid,
  prgrsBarBarBckg,
  prgrsBarBar,
  prgrsBarBarEnd 
)

The color scheme has a simple instantiation macro that specifies all colors for screens, common object colors, and object dependent colors. This is a full definition macro that allows setting of all colors in D4D color scheme.


Parameters
name- Name of the color scheme
scrDesktop- Used as a desktop color of screen
scrOutline- Used as a color of the screen outline
scrTitleBar- Used as a color of the screen title bar
scrTitleText- Used as a color of the screen title text
scrExitBtnFore- Used as a color of the screen exit button fore color
scrExitBtnBckg- Used as a color of the screen exit button background color
objBckg- Used as a background color of objects
objBckgDis- Used as a background color of objects in disable state
objBckgFocus- Used as a background color of objects in focus state
objBckgCapture- Used as a background color of objects in capture state
objFore- Used as a fore color of objects
objForeDis- Used as a fore color of objects in disable state
objForeFocus- Used as a fore color of objects in focus state
objForeCapture- Used as a fore color of objects in capture state
gaugHub- Used as a color for hub in gauge object
gaugPointer- Used as a color for pointer in gauge object
sldrBarBckg- Used as a background color for bar in slider object
sldrBar- Used as a forecolor for bar in slider object
sldrBarStart- Used as a start color for the bar in the slider object, when the auto color of the bar option is enabled
sldrBarEnd- Used as an end color for a bar in slider object, when the auto color of the bar option is enabled
iconBckg- Used as a background color for icon in check box object
graphGrid- Used as a color of grid lines in graph object
prgrsBarBarBckg- Used as a background color for bar in progress bar object
prgrsBarBar- Used as a forecolor and start color for bar in progress bar object
prgrsBarBarEnd- Used as an end color for a bar in progress bar object, when the auto color of the bar option is enabled
Note
This instantiation macro creates a color scheme in the non-volatile memory (ROM).

Definition at line 635 of file d4d_scheme.h.

#define D4D_DECLARE_CLR_SCHEME_INRAM (   name,
  scrDesktop,
  scrOutline,
  scrTitleBar,
  scrTitleText,
  scrExitBtnFore,
  scrExitBtnBckg,
  objBckg,
  objBckgDis,
  objBckgFocus,
  objBckgCapture,
  objFore,
  objForeDis,
  objForeFocus,
  objForeCapture,
  gaugHub,
  gaugPointer,
  sldrBarBckg,
  sldrBar,
  sldrBarStart,
  sldrBarEnd,
  iconBckg,
  graphGrid,
  prgrsBarBarBckg,
  prgrsBarBar,
  prgrsBarBarEnd 
)

The color scheme has a simple instantiation macro that specifies all colors for screens, common object colors, and object dependent colors. This is a full definition macro that allows setting of all colors in D4D color scheme.

Parameters
name- Name of the color scheme
scrDesktop- Used as a desktop color of screen
scrOutline- Used as a color of the screen outline
scrTitleBar- Used as a color of the screen title bar
scrTitleText- Used as a color of the screen title text
scrExitBtnFore- Used as a color of the screen exit button fore color
scrExitBtnBckg- Used as a color of the screen exit button background color
objBckg- Used as a background color of objects
objBckgDis- Used as a background color of objects in disable state
objBckgFocus- Used as a background color of objects in focus state
objBckgCapture- Used as a background color of objects in capture state
objFore- Used as a fore color of objects
objForeDis- Used as a fore color of objects in disable state
objForeFocus- Used as a fore color of objects in focus state
objForeCapture- Used as a fore color of objects in capture state
gaugHub- Used as a color for hub in gauge object
gaugPointer- Used as a color for pointer in gauge object
sldrBarBckg- Used as a background color for bar in slider object
sldrBar- Used as a forecolor for bar in slider object
sldrBarStart- Used as a start color for the bar in the slider object, when the auto color of the bar option is enabled
sldrBarEnd- Used as an end color for a bar in slider object, when the auto color of the bar option is enabled
iconBckg- Used as a background color for icon in check box object
graphGrid- Used as a color of grid lines in graph object
prgrsBarBarBckg- Used as a background color for bar in progress bar object
prgrsBarBar- Used as a forecolor and start color for bar in progress bar object
prgrsBarBarEnd- Used as an end color for a bar in progress bar object, when the auto color of the bar option is enabled
Note
This instantiation macro creates a color scheme in the volatile memory (RAM).

Definition at line 688 of file d4d_scheme.h.