UI: add UI_SELECT_DRAW flag
Allow to draw as pressed w/o interfering with behavior. Resolves issue where buttons raised on mouse-over.
This commit is contained in:
@@ -119,6 +119,7 @@ enum {
|
||||
UI_ACTIVE = (1 << 2),
|
||||
UI_HAS_ICON = (1 << 3),
|
||||
UI_HIDDEN = (1 << 4),
|
||||
UI_SELECT_DRAW = (1 << 5), /* Display selected, doesn't impact interaction. */
|
||||
/* warn: rest of uiBut->flag in UI_interface.h */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user