diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-10-24 01:47:02 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-10 07:58:13 +0100 |
commit | 81a55f1c6cb07674c9375f5bd39c4f1fd47facd0 (patch) | |
tree | fc343ea1911778872027d06d63c8392be22c6d83 /vcl/unx/generic/gdi/gdiimpl.hxx | |
parent | fix missing pieces (diff) | |
download | core-81a55f1c6cb07674c9375f5bd39c4f1fd47facd0.tar.gz core-81a55f1c6cb07674c9375f5bd39c4f1fd47facd0.zip |
use m prefix instead of _ for member variables
Change-Id: I9f73d653f3b5a4ec3eea91398977d4dfc2d478e7
Diffstat (limited to 'vcl/unx/generic/gdi/gdiimpl.hxx')
-rw-r--r-- | vcl/unx/generic/gdi/gdiimpl.hxx | 58 |
1 files changed, 30 insertions, 28 deletions
diff --git a/vcl/unx/generic/gdi/gdiimpl.hxx b/vcl/unx/generic/gdi/gdiimpl.hxx index ebc9bf1b4aa5..3d35cef118ab 100644 --- a/vcl/unx/generic/gdi/gdiimpl.hxx +++ b/vcl/unx/generic/gdi/gdiimpl.hxx @@ -36,37 +36,39 @@ class X11SalGraphics; class X11SalGraphicsImpl : public SalGraphicsImpl { + friend X11SalGraphics; + private: X11SalGraphics& mrParent; - SalColor nBrushColor_; - GC pBrushGC_; // Brush attributes - Pixel nBrushPixel_; - - bool bPenGC_ : 1; // is Pen GC valid - bool bBrushGC_ : 1; // is Brush GC valid - bool bMonoGC_ : 1; // is Mono GC valid - bool bCopyGC_ : 1; // is Copy GC valid - bool bInvertGC_ : 1; // is Invert GC valid - bool bInvert50GC_ : 1; // is Invert50 GC valid - bool bStippleGC_ : 1; // is Stipple GC valid - bool bTrackingGC_ : 1; // is Tracking GC valid - bool bDitherBrush_ : 1; // is solid or tile - - bool bXORMode_ : 1; // is ROP XOR Mode set - - GC pPenGC_; // Pen attributes - SalColor nPenColor_; - Pixel nPenPixel_; - - - GC pMonoGC_; - GC pCopyGC_; - GC pMaskGC_; - GC pInvertGC_; - GC pInvert50GC_; - GC pStippleGC_; - GC pTrackingGC_; + SalColor mnBrushColor; + GC mpBrushGC; // Brush attributes + Pixel mnBrushPixel; + + bool mbPenGC : 1; // is Pen GC valid + bool mbBrushGC : 1; // is Brush GC valid + bool mbMonoGC : 1; // is Mono GC valid + bool mbCopyGC : 1; // is Copy GC valid + bool mbInvertGC : 1; // is Invert GC valid + bool mbInvert50GC : 1; // is Invert50 GC valid + bool mbStippleGC : 1; // is Stipple GC valid + bool mbTrackingGC : 1; // is Tracking GC valid + bool mbDitherBrush : 1; // is solid or tile + + bool mbXORMode : 1; // is ROP XOR Mode set + + GC mpPenGC; // Pen attributes + SalColor mnPenColor; + Pixel mnPenPixel; + + + GC mpMonoGC; + GC mpCopyGC; + GC mpMaskGC; + GC mpInvertGC; + GC mpInvert50GC; + GC mpStippleGC; + GC mpTrackingGC; GC CreateGC( Drawable hDrawable, unsigned long nMask = GCGraphicsExposures ); |