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
d535a783
Kaydet (Commit)
d535a783
authored
Mar 09, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
draw menu bg with gtk theme
Change-Id: Ia525130e8c378b784b7ee8439153daa1f2a43283
üst
ca3a68c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
gtk3salnativewidgets-gtk.cxx
vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
+11
-4
No files found.
vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
Dosyayı görüntüle @
d535a783
...
@@ -835,7 +835,6 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
...
@@ -835,7 +835,6 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
}
}
break
;
break
;
case
CTRL_MENU_POPUP
:
case
CTRL_MENU_POPUP
:
/* FIXME: missing ENTIRE_CONTROL, as it doesn't seem to work */
switch
(
nPart
)
switch
(
nPart
)
{
{
case
PART_MENU_ITEM_CHECK_MARK
:
case
PART_MENU_ITEM_CHECK_MARK
:
...
@@ -857,6 +856,10 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
...
@@ -857,6 +856,10 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
context
=
mpMenuStyle
;
context
=
mpMenuStyle
;
renderType
=
RENDER_ARROW
;
renderType
=
RENDER_ARROW
;
break
;
break
;
case
PART_ENTIRE_CONTROL
:
context
=
mpMenuStyle
;
renderType
=
RENDER_BACKGROUND
;
break
;
}
}
break
;
break
;
case
CTRL_TOOLBAR
:
case
CTRL_TOOLBAR
:
...
@@ -1419,9 +1422,13 @@ bool GtkSalGraphics::IsNativeControlSupported( ControlType nType, ControlPart nP
...
@@ -1419,9 +1422,13 @@ bool GtkSalGraphics::IsNativeControlSupported( ControlType nType, ControlPart nP
(
(
nPart
==
PART_DRAW_BACKGROUND_HORZ
)
||
(
nPart
==
PART_DRAW_BACKGROUND_VERT
)
||
(
(
nPart
==
PART_DRAW_BACKGROUND_HORZ
)
||
(
nPart
==
PART_DRAW_BACKGROUND_VERT
)
||
(
nPart
==
PART_ENTIRE_CONTROL
)
||
(
nPart
==
HAS_THREE_BUTTONS
)))
||
(
nPart
==
PART_ENTIRE_CONTROL
)
||
(
nPart
==
HAS_THREE_BUTTONS
)))
||
(
nType
==
CTRL_MENU_POPUP
&&
(
nType
==
CTRL_MENU_POPUP
&&
((
nPart
==
PART_MENU_ITEM_CHECK_MARK
)
||
(
nPart
==
PART_MENU_ITEM_RADIO_MARK
)
||
(
(
nPart
==
PART_ENTIRE_CONTROL
)
||
(
nPart
==
PART_MENU_SEPARATOR
)
||
(
nPart
==
PART_MENU_SUBMENU_ARROW
))))
(
nPart
==
PART_MENU_ITEM_CHECK_MARK
)
||
(
nPart
==
PART_MENU_ITEM_RADIO_MARK
)
||
return
true
;
(
nPart
==
PART_MENU_SEPARATOR
)
||
(
nPart
==
PART_MENU_SUBMENU_ARROW
)
))
)
{
return
true
;
}
printf
(
"Unhandled is native supported for Type: %d, Part %d
\n
"
,
printf
(
"Unhandled is native supported for Type: %d, Part %d
\n
"
,
(
int
)
nType
,
(
int
)
nPart
);
(
int
)
nType
,
(
int
)
nPart
);
...
...
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