Main Page   Modules   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

CmAbsScrolledForm Class Reference

Abstract Scrolled Form. More...

Inheritance diagram for CmAbsScrolledForm:

CmAbsCForm CmForm CmContainer CmObject CmMGUI CmScrolledColForm CmScrolledPosForm CmScrolledRowForm

Public Methods

void setIncr (int h_inc, int v_inc)
void setSliderColor (CmColor *cc)
void setSliderColorShift (int perc)
void enableAutoSliderColor (void)
 Enables the automatic slider color setting on the scrollbar sliders.

void disableAutoSliderColor (void)
 Disables the automatic slider color setting on the scrollbar sliders.


Detailed Description

Abstract Scrolled Form.


Member Function Documentation

void CmAbsScrolledForm::disableAutoSliderColor void   
 

Disables the automatic slider color setting on the scrollbar sliders.

This function has the effect of reverting to gray the color of the arrow buttons and the slider in the object's scrollbars.

See also:
enableAutoSliderColor

void CmAbsScrolledForm::enableAutoSliderColor void   
 

Enables the automatic slider color setting on the scrollbar sliders.

By default arrow buttons and slider in the scrollbars control are gray. Using this function you can force the object to set a suitable color on its scrollbars. The computed color is based on the object's background color and has a reasonable brightness. The standard gray will result as the computed color if black or white is used on the main object.

See also:
disableAutoSliderColor

void CmAbsScrolledForm::setIncr int    h_inc,
int    v_inc
 

void CmAbsScrolledForm::setSliderColor CmColor   cc
 

Reimplemented from CmAbsCForm.

void CmAbsScrolledForm::setSliderColorShift int    perc
 

Reimplemented from CmAbsCForm.


Generated on Sun Aug 17 17:29:26 2003 for MGui API by doxygen1.3-rc2