Provide BM_DRAW_MODE_LAST for enumerating draw modes.

This commit is contained in:
Jari Vetoniemi 2014-03-28 21:59:34 +02:00
parent ae23d48579
commit 06c8bde93f

View File

@ -6,9 +6,13 @@
/** /**
* Draw mode constants for setting bmMenu instance draw mode. * Draw mode constants for setting bmMenu instance draw mode.
*
* BM_DRAW_MODE_LAST is provided for enumerating draw modes.
* Instancing with it however provides exactly same functionality as BM_DRAW_MODE_NONE.
*/ */
typedef enum bmDrawMode { typedef enum bmDrawMode {
BM_DRAW_MODE_NONE BM_DRAW_MODE_NONE,
BM_DRAW_MODE_LAST
} bmDrawMode; } bmDrawMode;
typedef struct _bmMenu bmMenu; typedef struct _bmMenu bmMenu;