summaryrefslogtreecommitdiff
path: root/core/fxge/include/fx_ge_win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/include/fx_ge_win32.h')
-rw-r--r--core/fxge/include/fx_ge_win32.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/core/fxge/include/fx_ge_win32.h b/core/fxge/include/fx_ge_win32.h
index b4337c117c..a6d8fbb378 100644
--- a/core/fxge/include/fx_ge_win32.h
+++ b/core/fxge/include/fx_ge_win32.h
@@ -22,6 +22,7 @@ typedef struct WINDIB_Open_Args_ {
const FX_WCHAR* path_name;
} WINDIB_Open_Args_;
+
class CFX_WindowsDIB : public CFX_DIBitmap {
public:
static CFX_ByteString GetBitmapInfo(const CFX_DIBitmap* pBitmap);
@@ -62,26 +63,20 @@ class CFX_WindowsDIB : public CFX_DIBitmap {
HBITMAP m_hOldBitmap;
};
+
class CFX_WindowsDevice : public CFX_RenderDevice {
public:
- static IFX_RenderDeviceDriver* CreateDriver(HDC hDC,
- FX_BOOL bCmykOutput = FALSE);
+ static IFX_RenderDeviceDriver* CreateDriver(HDC hDC);
- CFX_WindowsDevice(HDC hDC,
- FX_BOOL bCmykOutput = FALSE,
- FX_BOOL bForcePSOutput = FALSE,
- int psLevel = 2);
+ explicit CFX_WindowsDevice(HDC hDC);
+ ~CFX_WindowsDevice();
HDC GetDC() const;
-
- FX_BOOL m_bForcePSOutput;
-
- static int m_psLevel;
};
+
class CFX_WinBitmapDevice : public CFX_RenderDevice {
public:
CFX_WinBitmapDevice(int width, int height, FXDIB_Format format);
-
~CFX_WinBitmapDevice();
HDC GetDC() { return m_hDC; }