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
cfaa2b55
Kaydet (Commit)
cfaa2b55
authored
Eki 27, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
implement X11WindowProvider for GtkSalFrame
Change-Id: Id763f9b69f4d4476a3b6401bb83e2bf173248e8a
üst
2d472d94
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
gtkframe.hxx
vcl/inc/unx/gtk/gtkframe.hxx
+4
-1
gtksalframe.cxx
vcl/unx/gtk/window/gtksalframe.cxx
+5
-0
No files found.
vcl/inc/unx/gtk/gtkframe.hxx
Dosyayı görüntüle @
cfaa2b55
...
...
@@ -33,6 +33,7 @@
#include <salframe.hxx>
#include <vcl/sysdata.hxx>
#include <unx/x11windowprovider.hxx>
#include <unx/saltype.h>
#include "tools/link.hxx"
...
...
@@ -58,7 +59,7 @@ typedef ::Window GdkNativeWindow;
typedef
void
GDBusConnection
;
#endif
class
GtkSalFrame
:
public
SalFrame
class
GtkSalFrame
:
public
SalFrame
,
public
X11WindowProvider
{
static
const
int
nMaxGraphics
=
2
;
...
...
@@ -445,6 +446,8 @@ public:
static
GtkSalFrame
*
getFromWindow
(
GtkWindow
*
pWindow
);
virtual
void
damaged
(
const
basegfx
::
B2IBox
&
rDamageRect
);
virtual
Window
GetX11Window
()
SAL_OVERRIDE
;
};
#define OOO_TYPE_FIXED ooo_fixed_get_type()
...
...
vcl/unx/gtk/window/gtksalframe.cxx
Dosyayı görüntüle @
cfaa2b55
...
...
@@ -4508,4 +4508,9 @@ Size GtkSalDisplay::GetScreenSize( int nDisplayScreen )
return
Size
(
aRect
.
GetWidth
(),
aRect
.
GetHeight
()
);
}
Window
GtkSalFrame
::
GetX11Window
()
{
return
widget_get_xid
(
m_pWindow
);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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