Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/UI_interface.h
| Show First 20 Lines • Show All 178 Lines • ▼ Show 20 Lines | enum { | ||||
| /** Update the button that opened. */ | /** Update the button that opened. */ | ||||
| UI_RETURN_UPDATE = 1 << 4, | UI_RETURN_UPDATE = 1 << 4, | ||||
| /** Popup is ok to be handled. */ | /** Popup is ok to be handled. */ | ||||
| UI_RETURN_POPUP_OK = 1 << 5, | UI_RETURN_POPUP_OK = 1 << 5, | ||||
| }; | }; | ||||
| /** #uiBut.flag general state flags. */ | /** #uiBut.flag general state flags. */ | ||||
| enum { | enum { | ||||
| /* WARNING: the first 7 flags are internal (see #UI_SELECT definition). */ | /* WARNING: the first 8 flags are internal (see #UI_SELECT definition). */ | ||||
| UI_BUT_ICON_SUBMENU = 1 << 7, | UI_BUT_ICON_SUBMENU = 1 << 8, | ||||
| UI_BUT_ICON_PREVIEW = 1 << 8, | UI_BUT_ICON_PREVIEW = 1 << 9, | ||||
| UI_BUT_NODE_LINK = 1 << 9, | UI_BUT_NODE_LINK = 1 << 10, | ||||
| UI_BUT_NODE_ACTIVE = 1 << 10, | UI_BUT_NODE_ACTIVE = 1 << 11, | ||||
| UI_BUT_DRAG_LOCK = 1 << 11, | UI_BUT_DRAG_LOCK = 1 << 12, | ||||
| /** Grayed out and un-editable. */ | /** Grayed out and un-editable. */ | ||||
| UI_BUT_DISABLED = 1 << 12, | UI_BUT_DISABLED = 1 << 13, | ||||
| UI_BUT_ANIMATED = 1 << 13, | UI_BUT_ANIMATED = 1 << 14, | ||||
| UI_BUT_ANIMATED_KEY = 1 << 14, | UI_BUT_ANIMATED_KEY = 1 << 15, | ||||
| UI_BUT_DRIVEN = 1 << 15, | UI_BUT_DRIVEN = 1 << 16, | ||||
| UI_BUT_REDALERT = 1 << 16, | UI_BUT_REDALERT = 1 << 17, | ||||
| /** Grayed out but still editable. */ | /** Grayed out but still editable. */ | ||||
| UI_BUT_INACTIVE = 1 << 17, | UI_BUT_INACTIVE = 1 << 18, | ||||
| UI_BUT_LAST_ACTIVE = 1 << 18, | UI_BUT_LAST_ACTIVE = 1 << 19, | ||||
| UI_BUT_UNDO = 1 << 19, | UI_BUT_UNDO = 1 << 20, | ||||
| UI_BUT_IMMEDIATE = 1 << 20, | UI_BUT_IMMEDIATE = 1 << 21, | ||||
| UI_BUT_NO_UTF8 = 1 << 21, | UI_BUT_NO_UTF8 = 1 << 22, | ||||
| /** For popups, pressing return activates this button, overriding the highlighted button. | /** For popups, pressing return activates this button, overriding the highlighted button. | ||||
| * For non-popups this is just used as a display hint for the user to let them | * For non-popups this is just used as a display hint for the user to let them | ||||
| * know the action which is activated when pressing return (file selector for eg). */ | * know the action which is activated when pressing return (file selector for eg). */ | ||||
| UI_BUT_ACTIVE_DEFAULT = 1 << 23, | UI_BUT_ACTIVE_DEFAULT = 1 << 23, | ||||
| /** This but is "inside" a list item (currently used to change theme colors). */ | /** This but is "inside" a list item (currently used to change theme colors). */ | ||||
| UI_BUT_LIST_ITEM = 1 << 24, | UI_BUT_LIST_ITEM = 1 << 24, | ||||
| ▲ Show 20 Lines • Show All 3,034 Lines • Show Last 20 Lines | |||||