diff options
Diffstat (limited to 'include/tools/rc.h')
-rw-r--r-- | include/tools/rc.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/tools/rc.h b/include/tools/rc.h index 6bfafde5a244..cd09254b4dc4 100644 --- a/include/tools/rc.h +++ b/include/tools/rc.h @@ -154,9 +154,13 @@ namespace o3tl { } // For "Image": -#define RSC_IMAGE_IMAGEBITMAP 0x01 -#define RSC_IMAGE_MASKBITMAP 0x02 -#define RSC_IMAGE_MASKCOLOR 0x04 +enum class RscImageFlags { + ImageBitmap = 0x01, + MaskColor = 0x04 +}; +namespace o3tl { + template<> struct typed_flags<RscImageFlags> : is_typed_flags<RscImageFlags, 0x05> {}; +} // For "ImageList": enum class RscImageListFlags { |