Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/UI_interface.h
| Show First 20 Lines • Show All 171 Lines • ▼ Show 20 Lines | enum { | ||||
| UI_BUT_VEC_SIZE_LOCK = (1 << 22), /* used to flag if color hsv-circle should keep luminance */ | UI_BUT_VEC_SIZE_LOCK = (1 << 22), /* used to flag if color hsv-circle should keep luminance */ | ||||
| UI_BUT_COLOR_CUBIC = (1 << 23), /* cubic saturation for the color wheel */ | UI_BUT_COLOR_CUBIC = (1 << 23), /* cubic saturation for the color wheel */ | ||||
| UI_BUT_LIST_ITEM = (1 << 24), /* This but is "inside" a list item (currently used to change theme colors). */ | UI_BUT_LIST_ITEM = (1 << 24), /* This but is "inside" a list item (currently used to change theme colors). */ | ||||
| }; | }; | ||||
| #define UI_PANEL_WIDTH 340 | #define UI_PANEL_WIDTH 340 | ||||
| #define UI_COMPACT_PANEL_WIDTH 160 | #define UI_COMPACT_PANEL_WIDTH 160 | ||||
| #define UI_PANEL_CATEGORY_MARGIN_WIDTH (U.widget_unit * 0.9f) | #define UI_PANEL_CATEGORY_MARGIN_WIDTH (U.widget_unit * 1.0f) | ||||
| /* but->drawflag - these flags should only affect how the button is drawn. */ | /* but->drawflag - these flags should only affect how the button is drawn. */ | ||||
| /* Note: currently, these flags _are not passed_ to the widget's state() or draw() functions | /* Note: currently, these flags _are not passed_ to the widget's state() or draw() functions | ||||
| * (except for the 'align' ones)! | * (except for the 'align' ones)! | ||||
| */ | */ | ||||
| enum { | enum { | ||||
| /* draw enum-like up/down arrows for button */ | /* draw enum-like up/down arrows for button */ | ||||
| UI_BUT_DRAW_ENUM_ARROWS = (1 << 0), | UI_BUT_DRAW_ENUM_ARROWS = (1 << 0), | ||||
| ▲ Show 20 Lines • Show All 756 Lines • Show Last 20 Lines | |||||