Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/UI_interface.h
| Show First 20 Lines • Show All 177 Lines • ▼ Show 20 Lines | enum { | ||||
| 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). */ | ||||
| UI_BUT_DRAG_MULTI = (1 << 25), /* edit this button as well as the active button (not just dragging) */ | UI_BUT_DRAG_MULTI = (1 << 25), /* edit this button as well as the active button (not just dragging) */ | ||||
| UI_BUT_SCA_LINK_GREY = (1 << 26), /* used to flag if sca links shoud be gray out */ | UI_BUT_SCA_LINK_GREY = (1 << 26), /* used to flag if sca links shoud be gray out */ | ||||
| UI_BUT_HAS_SEP_CHAR = (1 << 27), /* but->str contains UI_SEP_CHAR, used for key shortcuts */ | UI_BUT_HAS_SEP_CHAR = (1 << 27), /* but->str contains UI_SEP_CHAR, used for key shortcuts */ | ||||
| UI_BUT_UPDATE_DELAY = (1 << 28), /* don't run updates while dragging (needed in rare cases). */ | UI_BUT_UPDATE_DELAY = (1 << 28), /* don't run updates while dragging (needed in rare cases). */ | ||||
| UI_BUT_TEXTEDIT_UPDATE = (1 << 29), /* when widget is in textedit mode, update value on each char stroke */ | UI_BUT_TEXTEDIT_UPDATE = (1 << 29), /* when widget is in textedit mode, update value on each char stroke */ | ||||
| UI_BUT_VALUE_CLEAR = (1 << 30), /* show 'x' icon to clear/unlink value of text or search button */ | UI_BUT_VALUE_CLEAR = (1 << 30), /* show 'x' icon to clear/unlink value of text or search button */ | ||||
| UI_BUT_OVERRIDEN = (1 << 31), /* RNA property of the button is overriden from linked reference data. */ | |||||
| }; | }; | ||||
| #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 * 1.0f) | #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. */ | ||||
| ▲ Show 20 Lines • Show All 950 Lines • Show Last 20 Lines | |||||