Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
81a55f1c
Kaydet (Commit)
81a55f1c
authored
Eki 23, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use m prefix instead of _ for member variables
Change-Id: I9f73d653f3b5a4ec3eea91398977d4dfc2d478e7
üst
748e48fe
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
30 deletions
+32
-30
gdiimpl.cxx
vcl/unx/generic/gdi/gdiimpl.cxx
+0
-0
gdiimpl.hxx
vcl/unx/generic/gdi/gdiimpl.hxx
+30
-28
salgdi.cxx
vcl/unx/generic/gdi/salgdi.cxx
+2
-2
No files found.
vcl/unx/generic/gdi/gdiimpl.cxx
Dosyayı görüntüle @
81a55f1c
This diff is collapsed.
Click to expand it.
vcl/unx/generic/gdi/gdiimpl.hxx
Dosyayı görüntüle @
81a55f1c
...
...
@@ -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
);
...
...
vcl/unx/generic/gdi/salgdi.cxx
Dosyayı görüntüle @
81a55f1c
...
...
@@ -148,8 +148,8 @@ void X11SalGraphics::SetDrawable( Drawable aDrawable, SalX11Screen nXScreen )
X11SalGraphicsImpl
*
pImpl
=
dynamic_cast
<
X11SalGraphicsImpl
*>
(
mpImpl
.
get
());
if
(
pImpl
)
{
pImpl
->
nPenPixel_
=
GetPixel
(
pImpl
->
nPenColor_
);
pImpl
->
nBrushPixel_
=
GetPixel
(
pImpl
->
nBrushColor_
);
pImpl
->
mnPenPixel
=
GetPixel
(
pImpl
->
mnPenColor
);
pImpl
->
mnBrushPixel
=
GetPixel
(
pImpl
->
mnBrushColor
);
}
nTextPixel_
=
GetPixel
(
nTextColor_
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment