BITMAPBUTTON_CUSTOMGUISETTINGS

Detailed Description

Macros

#define BITMAPBUTTON_BORDER
 
#define BITMAPBUTTON_BUTTON
 
#define BITMAPBUTTON_TOGGLE
 
#define BITMAPBUTTON_IGNORE_BITMAP_WIDTH
 
#define BITMAPBUTTON_IGNORE_BITMAP_HEIGHT
 
#define BITMAPBUTTON_DRAWPOPUPBUTTON
 
#define BITMAPBUTTON_TOOLTIP
 
#define BITMAPBUTTON_ICONID1
 
#define BITMAPBUTTON_ICONID2
 
#define BITMAPBUTTON_FORCE_SIZE
 
#define BITMAPBUTTON_FORCE_SIZE_Y
 
#define BITMAPBUTTON_SPECIAL
 
#define BITMAPBUTTON_NOBORDERDRAW
 
#define BITMAPBUTTON_OUTBORDER
 
#define BITMAPBUTTON_BACKCOLOR
 
#define BITMAPBUTTON_MIRROR
 
#define BITMAPBUTTON_STRING
 
#define BITMAPBUTTON_DISABLE_FADING
 
#define BITMAPBUTTON_FORCE_TOOLTIP
 
#define BITMAPBUTTON_NO_COLOR_INFO
 

Macro Definition Documentation

◆ BITMAPBUTTON_BORDER

#define BITMAPBUTTON_BORDER

Int32 Border type: BORDER

Note
Used for the pressed button state if BITMAPBUTTON_OUTBORDER is set.

◆ BITMAPBUTTON_BUTTON

#define BITMAPBUTTON_BUTTON

Bool Clickable button.

Note
To detect when the button is pressed in a description check if the DESCFLAGS_SET::USERINTERACTION flag is set in the NodeData::SetDParameter() call.

◆ BITMAPBUTTON_TOGGLE

#define BITMAPBUTTON_TOGGLE

Bool Toggle button, like a checkbox.

◆ BITMAPBUTTON_IGNORE_BITMAP_WIDTH

#define BITMAPBUTTON_IGNORE_BITMAP_WIDTH

Bool Ignore bitmap width.

◆ BITMAPBUTTON_IGNORE_BITMAP_HEIGHT

#define BITMAPBUTTON_IGNORE_BITMAP_HEIGHT

Bool Ignore bitmap height.

◆ BITMAPBUTTON_DRAWPOPUPBUTTON

#define BITMAPBUTTON_DRAWPOPUPBUTTON

Bool Draw popup button.

◆ BITMAPBUTTON_TOOLTIP

#define BITMAPBUTTON_TOOLTIP

String Tooltip string.

Note
Only work if BITMAPBUTTON_BUTTON is true.
To format the bitmap's button tooltip text use the "<b>" and "<br>" HTML tags. This is used internally to format the tooltip text for the palettes buttons. For example:
bc.SetString(BITMAPBUTTON_TOOLTIP, "<b>Bold Text</b><br>New line");
#define BITMAPBUTTON_TOOLTIP
Definition: customgui_bitmapbutton.h:41

◆ BITMAPBUTTON_ICONID1

#define BITMAPBUTTON_ICONID1

Int32 Registered icon bitmap ID. On state for toggle buttons.

◆ BITMAPBUTTON_ICONID2

#define BITMAPBUTTON_ICONID2

Int32 Registered icon bitmap ID. Off state for toggle buttons.

◆ BITMAPBUTTON_FORCE_SIZE

#define BITMAPBUTTON_FORCE_SIZE

Int32 Forces the width and height of the icon in pixels if value is greater than 0.

◆ BITMAPBUTTON_FORCE_SIZE_Y

#define BITMAPBUTTON_FORCE_SIZE_Y

Int32 Additionally forces the y size of the bitmap button. FORCE_SIZE is used for y size when not specified.

◆ BITMAPBUTTON_SPECIAL

#define BITMAPBUTTON_SPECIAL

Private.

◆ BITMAPBUTTON_NOBORDERDRAW

#define BITMAPBUTTON_NOBORDERDRAW

Bool Disable border drawing.

◆ BITMAPBUTTON_OUTBORDER

#define BITMAPBUTTON_OUTBORDER

Int32 Out border type: BORDER

Note
Used if BITMAPBUTTON_BUTTON is set.

◆ BITMAPBUTTON_BACKCOLOR

#define BITMAPBUTTON_BACKCOLOR

Int32 Background color: COLOR

◆ BITMAPBUTTON_MIRROR

#define BITMAPBUTTON_MIRROR

Bool Mirror the button in an Arabic interface.

◆ BITMAPBUTTON_STRING

#define BITMAPBUTTON_STRING

String Adds a string in bold font at left of the icon.

Since
R20

◆ BITMAPBUTTON_DISABLE_FADING

#define BITMAPBUTTON_DISABLE_FADING

Bool Disables the mouse over fadding effect.

Since
S22

◆ BITMAPBUTTON_FORCE_TOOLTIP

#define BITMAPBUTTON_FORCE_TOOLTIP

Bool Forces to show the defined tooltip when BITMAPBUTTON_BUTTON is false.

Since
S26

◆ BITMAPBUTTON_NO_COLOR_INFO

#define BITMAPBUTTON_NO_COLOR_INFO

Bool Hides the per-pixel color info that pops-up when holding CTRL key on mouse hover when BITMAPBUTTON_BUTTON is false.

Since
S26