SEViewScheme Class

<< Click to Display Table of Contents >>

Navigation:  SEUIXP Classes for X# > Classes >

SEViewScheme Class

Previous pageReturn to chapter overviewNext page

Purpose

This class defines colors and fonts for the SEMenuXP class and the SEToolBarXP class.

 

Prototype

CLASS SEViewScheme

 

EXPORTS

BarMargin

MenuBar left margin (DWORD)

LeftMargin

Free space between band and menu text  (DWORD)

RightMargin

Right margin of a menu item  (DWORD)

SeparatorHeight

The height of the menu separator line  (DWORD)

BarButtonShadowWidth

Width of the MenuBarTab  (DWORD)

ItemPaddingX

Adds pixels to the menu image width.  (DWORD)

ItemPaddingY

Adds pixels to the menu image height.  (DWORD)



ColorButtonSelect

Color of a selected menu item, which opens a sub menu.  (DWORD ColorRef value)

ColorButtonHot

Color of a hot menu item. (DWORD ColorRef value)

ColorButtonFrame

Color of the button frame. (DWORD ColorRef value)

ColorImageShadow

Color of the image shadow, if Shadow is TRUE. (DWORD ColorRef value)

ColorSeparator

Color of the menu separator. (DWORD ColorRef value)

ColorBackground

Color of the menu background of sub menus. (DWORD ColorRef value)

ColorBandLeft

Left starting color of the vertical image band of sub menus. (DWORD ColorRef value)

ColorBandRight

Left right ending color of the vertical image band of sub menus. (DWORD ColorRef value)

ColorBarBackground

Color of the menu bar background. (DWORD ColorRef value)

ColorBarButtonSelect

Color of the menubar button, if the sub menu is opened. (DWORD ColorRef value)

ColorBarButtonFrame

Color of the menubar button frame, if the sub menu is opened. (DWORD ColorRef value)

ColorBarButtonShadow

Color of the menubar button shadow, if the sub menu is opened. (DWORD ColorRef value)

ColorText

Textcolor of normal unselected menu- or toolbar-items in sub menus. (DWORD ColorRef value)

ColorTextSelect

Textcolor of selected or hot menu- or toolbar-items in sub menus. (DWORD ColorRef value)

ColorBarText

Textcolor of normal unselected menu- or toolbar-items in the menubar. (DWORD ColorRef value)

ColorBarTextSelect

Textcolor of selected or hot menu- or toolbar-items in the menubar. (DWORD ColorRef value)



FontNormal

Font handle for the normal menu or toolbar text. If this value is Null_Ptr the system menu text font ist used.

FontBold

Font handle for the bold menu or toolbar text. If this value is Null_Ptr the bold system menu text font ist used.



Shadow

TRUE enables and FALSE disables shadowing of images of selected or hot menu items.

 

Access

HasBand

IsLowColor

 

Method

Init()

GetColorValue()

GetFont()

SetColorValue()

SetFont()

SetLowColorValues()

Update()´