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
1cdf1e90
Kaydet (Commit)
1cdf1e90
authored
Mar 04, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
damaged does the same gtk_widget_queue_draw_area with -1 top and +2 dimension
Change-Id: I86428b381680455dfd8dcb2ef28decfd4063fe59
üst
429ff887
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
gtkgdi.hxx
vcl/inc/unx/gtk/gtkgdi.hxx
+0
-1
gtk3salnativewidgets-gtk.cxx
vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
+1
-7
No files found.
vcl/inc/unx/gtk/gtkgdi.hxx
Dosyayı görüntüle @
1cdf1e90
...
@@ -78,7 +78,6 @@ private:
...
@@ -78,7 +78,6 @@ private:
static
GtkStyleContext
*
mpComboboxStyle
;
static
GtkStyleContext
*
mpComboboxStyle
;
static
GtkStyleContext
*
mpListboxStyle
;
static
GtkStyleContext
*
mpListboxStyle
;
void
queue_draw_area
(
cairo_rectangle_int_t
*
region
);
void
getStyleContext
(
GtkStyleContext
**
style
,
GtkWidget
*
widget
);
void
getStyleContext
(
GtkStyleContext
**
style
,
GtkWidget
*
widget
);
Rectangle
NWGetScrollButtonRect
(
ControlPart
nPart
,
Rectangle
aAreaRect
);
Rectangle
NWGetScrollButtonRect
(
ControlPart
nPart
,
Rectangle
aAreaRect
);
Rectangle
NWGetSpinButtonRect
(
ControlPart
nPart
,
Rectangle
aAreaRect
);
Rectangle
NWGetSpinButtonRect
(
ControlPart
nPart
,
Rectangle
aAreaRect
);
...
...
vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
Dosyayı görüntüle @
1cdf1e90
...
@@ -963,17 +963,11 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
...
@@ -963,17 +963,11 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
}
}
cairo_destroy
(
cr
);
// unref
cairo_destroy
(
cr
);
// unref
queue_draw_area
(
&
translatedRegion
);
mpFrame
->
damaged
(
basegfx
::
B2IBox
(
rControlRegion
.
Left
(),
rControlRegion
.
Top
(),
rControlRegion
.
Right
(),
rControlRegion
.
Bottom
())
);
return
true
;
return
true
;
}
}
void
GtkSalGraphics
::
queue_draw_area
(
cairo_rectangle_int_t
*
region
)
{
if
(
!
mpFrame
->
isDuringRender
())
gtk_widget_queue_draw_area
(
mpFrame
->
getWindow
(),
region
->
x
,
region
->
y
,
region
->
width
,
region
->
height
);
}
bool
GtkSalGraphics
::
getNativeControlRegion
(
ControlType
nType
,
ControlPart
nPart
,
const
Rectangle
&
rControlRegion
,
ControlState
,
bool
GtkSalGraphics
::
getNativeControlRegion
(
ControlType
nType
,
ControlPart
nPart
,
const
Rectangle
&
rControlRegion
,
ControlState
,
const
ImplControlValue
&
,
const
OUString
&
,
const
ImplControlValue
&
,
const
OUString
&
,
Rectangle
&
rNativeBoundingRegion
,
Rectangle
&
rNativeContentRegion
)
Rectangle
&
rNativeBoundingRegion
,
Rectangle
&
rNativeContentRegion
)
...
...
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