UI: number button arrows appear on hover, highlight clickable areas.

This commit is contained in:
2018-04-22 13:57:50 +02:00
parent 15ca90489f
commit 20a713b7ff
3 changed files with 143 additions and 21 deletions

View File

@@ -221,6 +221,9 @@ enum {
UI_BUT_ALIGN_ALL = (UI_BUT_ALIGN | UI_BUT_ALIGN_STITCH_TOP | UI_BUT_ALIGN_STITCH_LEFT),
UI_BUT_BOX_ITEM = (1 << 20), /* This but is "inside" a box item (currently used to change theme colors). */
UI_BUT_ACTIVE_LEFT = (1 << 21), /* Active left part of number button */
UI_BUT_ACTIVE_RIGHT = (1 << 22), /* Active left part of number button */
};
/* scale fixed button widths by this to account for DPI */