bWidgets
Core widget toolkit designed for Blender
|
Properties for typical widgets with roundbox corners. More...
#include <bwWidgetBaseStyle.h>
Public Member Functions | |
bwWidgetBaseStyle () | |
void | registerProperties (bwStyleProperties &style_properties) |
auto | backgroundColor () const -> const bwColor & |
auto | textColor () const -> const bwColor & |
auto | borderColor () const -> const bwColor & |
auto | decorationColor () const -> const bwColor & |
auto | shadeTop () const -> float |
auto | shadeBottom () const -> float |
auto | isBorderVisible () const -> bool |
Public Attributes | |
bwColor | background_color |
bwColor | text_color |
bwColor | border_color |
bwColor | decoration_color |
int | shade_top {0} |
int | shade_bottom |
enum TextAlignment | text_alignment |
unsigned int | roundbox_corners |
float | corner_radius |
Properties for typical widgets with roundbox corners.
bWidgets::bwWidgetBaseStyle::bwWidgetBaseStyle | ( | ) |
auto bWidgets::bwWidgetBaseStyle::backgroundColor | ( | ) | const -> const bwColor& |
auto bWidgets::bwWidgetBaseStyle::borderColor | ( | ) | const -> const bwColor& |
auto bWidgets::bwWidgetBaseStyle::decorationColor | ( | ) | const -> const bwColor& |
auto bWidgets::bwWidgetBaseStyle::isBorderVisible | ( | ) | const -> bool |
void bWidgets::bwWidgetBaseStyle::registerProperties | ( | bwStyleProperties & | style_properties | ) |
Add bwStyleProperty instances to style_properties for all bwWidgetBaseStyle options.
auto bWidgets::bwWidgetBaseStyle::shadeBottom | ( | ) | const -> float |
auto bWidgets::bwWidgetBaseStyle::shadeTop | ( | ) | const -> float |
auto bWidgets::bwWidgetBaseStyle::textColor | ( | ) | const -> const bwColor& |
bwColor bWidgets::bwWidgetBaseStyle::background_color |
bwColor bWidgets::bwWidgetBaseStyle::border_color |
float bWidgets::bwWidgetBaseStyle::corner_radius |
bwColor bWidgets::bwWidgetBaseStyle::decoration_color |
unsigned int bWidgets::bwWidgetBaseStyle::roundbox_corners |
int bWidgets::bwWidgetBaseStyle::shade_bottom |
int bWidgets::bwWidgetBaseStyle::shade_top {0} |
enum TextAlignment bWidgets::bwWidgetBaseStyle::text_alignment |
bwColor bWidgets::bwWidgetBaseStyle::text_color |