diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/gfxlink.hxx | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/include/vcl/gfxlink.hxx b/include/vcl/gfxlink.hxx index 3bdb4b79595a..864d1d6863a6 100644 --- a/include/vcl/gfxlink.hxx +++ b/include/vcl/gfxlink.hxx @@ -75,26 +75,25 @@ struct ImpGfxLink //#endif // __PRIVATE -enum GfxLinkType +enum class GfxLinkType { - GFX_LINK_TYPE_NONE = 0, - GFX_LINK_TYPE_EPS_BUFFER = 1, - GFX_LINK_TYPE_NATIVE_GIF = 2, // Don't forget to update the following defines - GFX_LINK_TYPE_NATIVE_JPG = 3, // Don't forget to update the following defines - GFX_LINK_TYPE_NATIVE_PNG = 4, // Don't forget to update the following defines - GFX_LINK_TYPE_NATIVE_TIF = 5, // Don't forget to update the following defines - GFX_LINK_TYPE_NATIVE_WMF = 6, // Don't forget to update the following defines - GFX_LINK_TYPE_NATIVE_MET = 7, // Don't forget to update the following defines - GFX_LINK_TYPE_NATIVE_PCT = 8, // Don't forget to update the following defines - GFX_LINK_TYPE_NATIVE_SVG = 9, // Don't forget to update the following defines - GFX_LINK_TYPE_NATIVE_MOV = 10, // Don't forget to update the following defines + NONE = 0, + EpsBuffer = 1, + NativeGif = 2, // Don't forget to update the following defines + NativeJpg = 3, // Don't forget to update the following defines + NativePng = 4, // Don't forget to update the following defines + NativeTif = 5, // Don't forget to update the following defines + NativeWmf = 6, // Don't forget to update the following defines + NativeMet = 7, // Don't forget to update the following defines + NativePct = 8, // Don't forget to update the following defines + NativeSvg = 9, // Don't forget to update the following defines + NativeMov = 10, // Don't forget to update the following defines // #i15508# added BMP type support - GFX_LINK_TYPE_NATIVE_BMP = 11, // Don't forget to update the following defines - GFX_LINK_TYPE_USER = 0xffff + NativeBmp = 11 // Don't forget to update the following defines }; -#define GFX_LINK_FIRST_NATIVE_ID GFX_LINK_TYPE_NATIVE_GIF -#define GFX_LINK_LAST_NATIVE_ID GFX_LINK_TYPE_NATIVE_BMP +#define GFX_LINK_FIRST_NATIVE_ID GfxLinkType::NativeGif +#define GFX_LINK_LAST_NATIVE_ID GfxLinkType::NativeBmp struct ImpBuffer; |