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
d444079d
Kaydet (Commit)
d444079d
authored
Kas 03, 2011
tarafından
Cosimo Cecchi
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
gtk3: misc cleanups
üst
585140eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
gtkgdi.hxx
vcl/inc/unx/gtk/gtkgdi.hxx
+3
-0
gtk3salnativewidgets-gtk.cxx
vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
+7
-4
No files found.
vcl/inc/unx/gtk/gtkgdi.hxx
Dosyayı görüntüle @
d444079d
...
@@ -88,10 +88,12 @@ private:
...
@@ -88,10 +88,12 @@ private:
void
PaintScrollbar
(
GtkStyleContext
*
context
,
void
PaintScrollbar
(
GtkStyleContext
*
context
,
cairo_t
*
cr
,
cairo_t
*
cr
,
const
Rectangle
&
rControlRectangle
,
const
Rectangle
&
rControlRectangle
,
ControlType
nType
,
ControlPart
nPart
,
ControlPart
nPart
,
const
ImplControlValue
&
aValue
);
const
ImplControlValue
&
aValue
);
void
PaintOneSpinButton
(
GtkStyleContext
*
context
,
void
PaintOneSpinButton
(
GtkStyleContext
*
context
,
cairo_t
*
cr
,
cairo_t
*
cr
,
ControlType
nType
,
ControlPart
nPart
,
ControlPart
nPart
,
Rectangle
aAreaRect
,
Rectangle
aAreaRect
,
ControlState
nState
);
ControlState
nState
);
...
@@ -99,6 +101,7 @@ private:
...
@@ -99,6 +101,7 @@ private:
cairo_t
*
cr
,
cairo_t
*
cr
,
const
Rectangle
&
rControlRectangle
,
const
Rectangle
&
rControlRectangle
,
ControlType
nType
,
ControlType
nType
,
ControlPart
nPart
,
const
ImplControlValue
&
aValue
);
const
ImplControlValue
&
aValue
);
void
PaintCombobox
(
GtkStyleContext
*
context
,
void
PaintCombobox
(
GtkStyleContext
*
context
,
cairo_t
*
cr
,
cairo_t
*
cr
,
...
...
vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
Dosyayı görüntüle @
d444079d
...
@@ -257,6 +257,7 @@ Rectangle GtkSalGraphics::NWGetScrollButtonRect( ControlPart nPart, Rectangle aA
...
@@ -257,6 +257,7 @@ Rectangle GtkSalGraphics::NWGetScrollButtonRect( ControlPart nPart, Rectangle aA
void
GtkSalGraphics
::
PaintScrollbar
(
GtkStyleContext
*
context
,
void
GtkSalGraphics
::
PaintScrollbar
(
GtkStyleContext
*
context
,
cairo_t
*
cr
,
cairo_t
*
cr
,
const
Rectangle
&
rControlRectangle
,
const
Rectangle
&
rControlRectangle
,
ControlType
nType
,
ControlPart
nPart
,
ControlPart
nPart
,
const
ImplControlValue
&
aValue
)
const
ImplControlValue
&
aValue
)
{
{
...
@@ -542,6 +543,7 @@ void GtkSalGraphics::PaintScrollbar(GtkStyleContext *context,
...
@@ -542,6 +543,7 @@ void GtkSalGraphics::PaintScrollbar(GtkStyleContext *context,
void
GtkSalGraphics
::
PaintOneSpinButton
(
GtkStyleContext
*
context
,
void
GtkSalGraphics
::
PaintOneSpinButton
(
GtkStyleContext
*
context
,
cairo_t
*
cr
,
cairo_t
*
cr
,
ControlType
nType
,
ControlPart
nPart
,
ControlPart
nPart
,
Rectangle
aAreaRect
,
Rectangle
aAreaRect
,
ControlState
nState
)
ControlState
nState
)
...
@@ -588,6 +590,7 @@ void GtkSalGraphics::PaintSpinButton(GtkStyleContext *context,
...
@@ -588,6 +590,7 @@ void GtkSalGraphics::PaintSpinButton(GtkStyleContext *context,
cairo_t
*
cr
,
cairo_t
*
cr
,
const
Rectangle
&
rControlRectangle
,
const
Rectangle
&
rControlRectangle
,
ControlType
nType
,
ControlType
nType
,
ControlPart
nPart
,
const
ImplControlValue
&
aValue
)
const
ImplControlValue
&
aValue
)
{
{
Rectangle
areaRect
;
Rectangle
areaRect
;
...
@@ -637,8 +640,8 @@ void GtkSalGraphics::PaintSpinButton(GtkStyleContext *context,
...
@@ -637,8 +640,8 @@ void GtkSalGraphics::PaintSpinButton(GtkStyleContext *context,
areaRect
.
GetWidth
(),
areaRect
.
GetHeight
()
);
areaRect
.
GetWidth
(),
areaRect
.
GetHeight
()
);
}
}
PaintOneSpinButton
(
context
,
cr
,
upBtnPart
,
areaRect
,
upBtnState
);
PaintOneSpinButton
(
context
,
cr
,
nType
,
upBtnPart
,
areaRect
,
upBtnState
);
PaintOneSpinButton
(
context
,
cr
,
downBtnPart
,
areaRect
,
downBtnState
);
PaintOneSpinButton
(
context
,
cr
,
nType
,
downBtnPart
,
areaRect
,
downBtnState
);
}
}
#define ARROW_SIZE 11 * 0.85
#define ARROW_SIZE 11 * 0.85
...
@@ -913,10 +916,10 @@ sal_Bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart
...
@@ -913,10 +916,10 @@ sal_Bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart
MIN
(
rControlRegion
.
GetWidth
(),
1
+
rControlRegion
.
GetHeight
()));
MIN
(
rControlRegion
.
GetWidth
(),
1
+
rControlRegion
.
GetHeight
()));
break
;
break
;
case
RENDER_SCROLLBAR
:
case
RENDER_SCROLLBAR
:
PaintScrollbar
(
context
,
cr
,
rControlRegion
,
nPart
,
aValue
);
PaintScrollbar
(
context
,
cr
,
rControlRegion
,
n
Type
,
n
Part
,
aValue
);
break
;
break
;
case
RENDER_SPINBUTTON
:
case
RENDER_SPINBUTTON
:
PaintSpinButton
(
context
,
cr
,
rControlRegion
,
nType
,
aValue
);
PaintSpinButton
(
context
,
cr
,
rControlRegion
,
nType
,
nPart
,
aValue
);
break
;
break
;
case
RENDER_COMBOBOX
:
case
RENDER_COMBOBOX
:
PaintCombobox
(
context
,
cr
,
rControlRegion
,
nType
,
nPart
,
aValue
);
PaintCombobox
(
context
,
cr
,
rControlRegion
,
nType
,
nPart
,
aValue
);
...
...
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