DAS  3.1.6 - 18/09/2017
Macros
Color Brightness percentages
+ Collaboration diagram for Color Brightness percentages:

Macros

#define CS_DARK   85
 for armed button bg and default selection highlights More...
 
#define CS_DARKER   60
 for object border shadows 2 More...
 
#define CS_LIGHT   115
 for default selection highlights More...
 
#define CS_LIGHTER   140
 

Detailed Description

These macros are internally used by the MGui library for brightness percentage levels. Using predefined values for color shading is recommended especially when the program runs in Palette mode (up to 256 colors). These values can be used as the percentage parameter in functions like MAllocShiftColor(), MScrolledFormSetSliderColorShift(), MScrollBarSetSliderColorShift(), MSListSetSliderColorShift(), MScrolledEditSetSliderColorShift(), MTreeSetSliderColorShift(), MObjectSetBGColorFromParent()

Macro Definition Documentation

§ CS_DARK

#define CS_DARK   85

for armed button bg and default selection highlights

Definition at line 261 of file Mguidefs.h.

§ CS_DARKER

#define CS_DARKER   60

for object border shadows 2

Definition at line 259 of file Mguidefs.h.

§ CS_LIGHT

#define CS_LIGHT   115

for default selection highlights

Definition at line 263 of file Mguidefs.h.

§ CS_LIGHTER

#define CS_LIGHTER   140

for object border shadows 1

Definition at line 257 of file Mguidefs.h.

______________________________________________________________________________________
Generated on Mon Sep 18 2017 11:47:07 for DAS - Rel. 3.1.6 - 18/09/2017.