From da2d035200ad93daa4c6e657ca87618e66f887f0 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 9 Oct 2016 22:08:22 +0000 Subject: [PATCH] Remove exact numeric values from ContextCommand. They carry no meaning, except for FIRST_STYLE. --- src/ui.h | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/ui.h b/src/ui.h index 488d0212..569c4b8d 100644 --- a/src/ui.h +++ b/src/ui.h @@ -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 };