Remove exact numeric values from ContextCommand.

They carry no meaning, except for FIRST_STYLE.
pull/66/head
whitequark 2016-10-09 22:08:22 +00:00
parent c43a1988ae
commit da2d035200
1 changed files with 21 additions and 21 deletions

View File

@ -118,27 +118,27 @@ enum class Command : uint32_t {
};
enum class ContextCommand : uint32_t {
CANCELLED = 0x000,
SUBMENU = 0x001,
SEPARATOR = 0x002,
UNSELECT_ALL = 0x100,
UNSELECT_HOVERED = 0x101,
CUT_SEL = 0x102,
COPY_SEL = 0x103,
PASTE = 0x104,
PASTE_XFRM = 0x105,
DELETE_SEL = 0x106,
SELECT_CHAIN = 0x107,
NEW_CUSTOM_STYLE = 0x110,
NO_STYLE = 0x111,
GROUP_INFO = 0x120,
STYLE_INFO = 0x121,
REFERENCE_DIM = 0x130,
OTHER_ANGLE = 0x131,
DEL_COINCIDENT = 0x132,
SNAP_TO_GRID = 0x140,
REMOVE_SPLINE_PT = 0x141,
ADD_SPLINE_PT = 0x142,
CANCELLED,
SUBMENU,
SEPARATOR,
UNSELECT_ALL,
UNSELECT_HOVERED,
CUT_SEL,
COPY_SEL,
PASTE,
PASTE_XFRM,
DELETE_SEL,
SELECT_CHAIN,
NEW_CUSTOM_STYLE,
NO_STYLE,
GROUP_INFO,
STYLE_INFO,
REFERENCE_DIM,
OTHER_ANGLE,
DEL_COINCIDENT,
SNAP_TO_GRID,
REMOVE_SPLINE_PT,
ADD_SPLINE_PT,
FIRST_STYLE = 0x40000000
};