diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-19 15:18:27 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2018-06-20 09:51:42 +0000 |
| commit | 954a0083d9ce7065564c18c9788743eb0cf371f2 (patch) | |
| tree | 3f77797181a9e89dafd9c5f00f6da3dc477d244b /src/knot-enums.h | |
| parent | Replace typedef struct with struct in POD type declarations. (diff) | |
| download | inkscape-954a0083d9ce7065564c18c9788743eb0cf371f2.tar.gz inkscape-954a0083d9ce7065564c18c9788743eb0cf371f2.zip | |
Replace typedef enum with enum in POD type declarations.
Diffstat (limited to 'src/knot-enums.h')
| -rw-r--r-- | src/knot-enums.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/knot-enums.h b/src/knot-enums.h index 737100c29..6f88f1c01 100644 --- a/src/knot-enums.h +++ b/src/knot-enums.h @@ -15,7 +15,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -typedef enum { +enum SPKnotShapeType { SP_KNOT_SHAPE_SQUARE, SP_KNOT_SHAPE_DIAMOND, SP_KNOT_SHAPE_CIRCLE, @@ -23,20 +23,20 @@ typedef enum { SP_KNOT_SHAPE_CROSS, SP_KNOT_SHAPE_BITMAP, SP_KNOT_SHAPE_IMAGE -} SPKnotShapeType; +}; -typedef enum { +enum SPKnotModeType { SP_KNOT_MODE_COLOR, SP_KNOT_MODE_XOR -} SPKnotModeType; +}; -typedef enum { +enum SPKnotStateType { SP_KNOT_STATE_NORMAL, SP_KNOT_STATE_MOUSEOVER, SP_KNOT_STATE_DRAGGING, SP_KNOT_STATE_SELECTED, SP_KNOT_STATE_HIDDEN -} SPKnotStateType; +}; #define SP_KNOT_VISIBLE_STATES 4 |
