summaryrefslogtreecommitdiff
path: root/core/fxge
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge')
-rw-r--r--core/fxge/agg/fx_agg_driver.h4
-rw-r--r--core/fxge/win32/win32_int.h10
2 files changed, 7 insertions, 7 deletions
diff --git a/core/fxge/agg/fx_agg_driver.h b/core/fxge/agg/fx_agg_driver.h
index 92500c3df6..41b97da2fb 100644
--- a/core/fxge/agg/fx_agg_driver.h
+++ b/core/fxge/agg/fx_agg_driver.h
@@ -116,9 +116,9 @@ class CFX_AggDeviceDriver : public IFX_RenderDeviceDriver {
void* m_pPlatformGraphics;
#endif
int m_FillFlags;
- bool m_bRgbByteOrder;
+ const bool m_bRgbByteOrder;
RetainPtr<CFX_DIBitmap> m_pOriDevice;
- bool m_bGroupKnockout;
+ const bool m_bGroupKnockout;
};
#endif // CORE_FXGE_AGG_FX_AGG_DRIVER_H_
diff --git a/core/fxge/win32/win32_int.h b/core/fxge/win32/win32_int.h
index d4f2597033..8bc8290845 100644
--- a/core/fxge/win32/win32_int.h
+++ b/core/fxge/win32/win32_int.h
@@ -323,7 +323,7 @@ class CPSPrinterDriver : public IFX_RenderDeviceDriver {
uint32_t color) override;
HDC m_hDC;
- bool m_bCmykOutput;
+ const bool m_bCmykOutput;
int m_Width;
int m_Height;
int m_nBitsPerPixel;
@@ -386,11 +386,11 @@ class CTextOnlyPrinterDriver : public IFX_RenderDeviceDriver {
uint32_t color) override;
HDC m_hDC;
- int m_Width;
- int m_Height;
+ const int m_Width;
+ const int m_Height;
int m_nBitsPerPixel;
- int m_HorzSize;
- int m_VertSize;
+ const int m_HorzSize;
+ const int m_VertSize;
float m_OriginY;
bool m_SetOrigin;
};