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
84972949
Kaydet (Commit)
84972949
authored
Ara 02, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix build
Change-Id: I24e5ad4f27584aa982fa8a4d7ee80e7167bbcacf
üst
2ba0266f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
14 deletions
+34
-14
salframe.h
vcl/inc/unx/salframe.h
+15
-7
salvd.h
vcl/inc/unx/salvd.h
+19
-7
No files found.
vcl/inc/unx/salframe.h
Dosyayı görüntüle @
84972949
...
...
@@ -25,7 +25,7 @@
#include <unx/salunx.h>
#include <unx/saltype.h>
#include <unx/saldisp.hxx>
#include <salframe.hxx>
#include <salwtype.hxx>
#include <salinst.hxx>
...
...
@@ -37,7 +37,6 @@
#include <list>
class
SalDisplay
;
class
X11SalGraphics
;
class
SalI18N_InputContext
;
...
...
@@ -171,9 +170,18 @@ public:
void
Init
(
sal_uIntPtr
nSalFrameStyle
,
SalX11Screen
nScreen
=
SalX11Screen
(
-
1
),
SystemParentData
*
pParentData
=
NULL
,
bool
bUseGeometry
=
false
);
SalDisplay
*
GetDisplay
()
const
{
return
pDisplay_
;
}
Display
*
GetXDisplay
()
const
;
XLIB_Window
GetDrawable
()
const
;
SalDisplay
*
GetDisplay
()
const
{
return
pDisplay_
;
}
Display
*
GetXDisplay
()
const
{
return
pDisplay_
->
GetDisplay
();
}
XLIB_Window
GetDrawable
()
const
{
return
GetWindow
();
}
SalX11Screen
GetScreenNumber
()
const
{
return
m_nXScreen
;
}
XLIB_Window
GetWindow
()
const
{
return
mhWindow
;
}
XLIB_Window
GetShellWindow
()
const
{
return
mhShellWindow
;
}
...
...
@@ -183,8 +191,8 @@ public:
long
Close
()
const
{
return
CallCallback
(
SALEVENT_CLOSE
,
0
);
}
sal_uIntPtr
GetStyle
()
const
{
return
nStyle_
;
}
inline
XLIB_Cursor
GetCursor
()
const
{
return
hCursor_
;
}
inline
sal_Bool
IsCaptured
()
const
{
return
nCaptured_
==
1
;
}
XLIB_Cursor
GetCursor
()
const
{
return
hCursor_
;
}
sal_Bool
IsCaptured
()
const
{
return
nCaptured_
==
1
;
}
#if !defined(__synchronous_extinput__)
void
HandleExtTextEvent
(
XClientMessageEvent
*
pEvent
);
#endif
...
...
vcl/inc/unx/salvd.h
Dosyayı görüntüle @
84972949
...
...
@@ -54,13 +54,24 @@ public:
SalX11Screen
nXScreen
,
Pixmap
hDrawable
=
None
,
XRenderPictFormat
*
pXRenderFormat
=
NULL
);
inline
void
InitGraphics
(
X11SalVirtualDevice
*
pVD
);
inline
Display
*
GetXDisplay
()
const
;
inline
SalDisplay
*
GetDisplay
()
const
;
inline
sal_Bool
IsDisplay
()
const
;
inline
Pixmap
GetDrawable
()
const
{
return
hDrawable_
;
}
inline
sal_uInt16
GetDepth
()
const
{
return
nDepth_
;
}
void
InitGraphics
(
X11SalVirtualDevice
*
pVD
)
{
pGraphics_
->
Init
(
pVD
);
}
Display
*
GetXDisplay
()
const
{
return
pDisplay_
->
GetDisplay
();
}
SalDisplay
*
GetDisplay
()
const
{
return
pDisplay_
;
}
sal_Bool
IsDisplay
()
const
{
return
pDisplay_
->
IsDisplay
();
}
Pixmap
GetDrawable
()
const
{
return
hDrawable_
;
}
sal_uInt16
GetDepth
()
const
{
return
nDepth_
;
}
int
GetWidth
()
const
{
return
nDX_
;
}
int
GetHeight
()
const
{
return
nDY_
;
}
SalX11Screen
GetXScreenNumber
()
const
{
return
m_nXScreen
;
}
...
...
@@ -73,6 +84,7 @@ public:
virtual
void
GetSize
(
long
&
rWidth
,
long
&
rHeight
);
};
#endif // INCLUDED_VCL_INC_UNX_SALVD_H
/* 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