20#ifndef INCLUDED_VCL_INC_UNX_SALFRAME_H
21#define INCLUDED_VCL_INC_UNX_SALFRAME_H
42namespace vcl_sal {
class WMAdaptor;
class NetWMAdaptor;
class GnomeWMAdaptor; }
192#if !defined(__synchronous_extinput__)
213 virtual bool PostEvent(std::unique_ptr<ImplSVEvent> pData)
override;
215 virtual void SetTitle(
const OUString& rTitle )
override;
216 virtual void SetIcon( sal_uInt16 nIcon )
override;
220 virtual void Show(
bool bVisible,
bool bNoActivate =
false )
override;
struct _cairo_surface cairo_surface_t
Display * GetDisplay() const
A SalFrame is a system window (e.g. an X11 window).
bool CallCallback(SalEvent nEvent, const void *pEvent) const
std::unique_ptr< X11SalGraphics > pFreeGraphics_
WMWindowType meWindowType
virtual void SimulateKeyPress(sal_uInt16 nKeyCode) override
virtual void SetMinClientSize(tools::Long nWidth, tools::Long nHeight) override
virtual void StartPresentation(bool bStart) override
::Window GetForeignParent() const
void Init(SalFrameStyleFlags nSalFrameStyle, SalX11Screen nScreen, SystemParentData const *pParentData, bool bUseGeometry=false)
Display * GetXDisplay() const
void RestackChildren(::Window *pTopLevelWindows, int nTopLevelWindows)
virtual void EndSetClipRegion() override
std::vector< XRectangle > m_vClipRectangles
virtual void updateGraphics(bool bClear)
virtual void ResetClipRegion() override
virtual void ToTop(SalFrameToTop nFlags) override
virtual void SetExtendedFrameStyle(SalExtStyle nExtStyle) override
bool HandleSizeEvent(XConfigureEvent *pEvent)
bool HandleReparentEvent(XReparentEvent *pEvent)
cairo_surface_t * mpSurface
virtual void SetPointer(PointerStyle ePointerStyle) override
X11SalFrame(SalFrame *pParent, SalFrameStyleFlags nSalFrameStyle, SystemParentData const *pSystemParent=nullptr)
virtual const SystemEnvData * GetSystemData() const override
DECL_LINK(HandleAlwaysOnTopRaise, Timer *, void)
bool IsSysChildWindow() const
virtual void SetPointerPos(tools::Long nX, tools::Long nY) override
std::list< X11SalFrame * > maChildren
void updateScreenNumber()
tools::Rectangle maRestorePosSize
::Window GetStackingWindow() const
bool HandleStateEvent(XPropertyEvent const *pEvent)
virtual void CaptureMouse(bool bMouse) override
virtual void SetTitle(const OUString &rTitle) override
bool appendUnicodeSequence(sal_Unicode)
::Window mhStackingWindow
bool HandleFocusEvent(XFocusChangeEvent const *pEvent)
void beginUnicodeSequence()
bool mbSendExtKeyModChange
virtual void SetParent(SalFrame *pNewParent) override
bool HandleMouseEvent(XEvent *pEvent)
virtual void SetAlwaysOnTop(bool bOnTop) override
SystemEnvData maSystemChildData
bool m_bIsPartialFullScreen
virtual void GetClientSize(tools::Long &rWidth, tools::Long &rHeight) override
SalDisplay * GetDisplay() const
bool Dispatch(XEvent *pEvent)
bool IsFloatGrabWindow() const
virtual bool MapUnicodeToKeyCode(sal_Unicode aUnicode, LanguageType aLangType, vcl::KeyCode &rKeyCode) override
bool HandleKeyEvent(XKeyEvent *pEvent)
::Window GetShellWindow() const
virtual void SetPosSize(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt16 nFlags) override
bool HandleExposeEvent(XEvent const *pEvent)
virtual SalPointerState GetPointerState() override
SalI18N_InputContext * getInputContext() const
void SetSize(const Size &rSize)
virtual void SetPluginParent(SystemParentData *pNewParent) override
std::unique_ptr< X11SalGraphics > pGraphics_
virtual ~X11SalFrame() override
void askForXEmbedFocus(sal_Int32 i_nTimeCode)
virtual void SetMenu(SalMenu *pMenu) override
virtual void UpdateSettings(AllSettings &rSettings) override
virtual SalGraphics * AcquireGraphics() override
::Window GetWindow() const
Timer maAlwaysOnTopRaiseTimer
SalFrameStyleFlags nStyle_
friend class vcl_sal::GnomeWMAdaptor
virtual KeyIndicatorState GetIndicatorState() override
virtual void ShowFullScreen(bool bFullScreen, sal_Int32 nMonitor) override
SalFrameStyleFlags GetStyle() const
void GetPosSize(tools::Rectangle &rPosSize)
virtual void SetApplicationID(const OUString &rWMClass) override
cairo_surface_t * GetSurface() const
tools::Rectangle maPaintRegion
virtual void ReleaseGraphics(SalGraphics *pGraphics) override
void setPendingSizeEvent()
virtual void SetIcon(sal_uInt16 nIcon) override
void createNewWindow(::Window aParent, SalX11Screen nXScreen=SalX11Screen(-1))
bool HandleClientMessage(XClientMessageEvent *pEvent)
bool endUnicodeSequence()
virtual void Beep() override
bool IsChildWindow() const
void SetPosSize(const tools::Rectangle &rPosSize)
virtual void SetInputContext(SalInputContext *pContext) override
bool IsOverrideRedirect() const
friend class vcl_sal::NetWMAdaptor
virtual void BeginSetClipRegion(sal_uInt32 nRects) override
virtual void Flush() override
virtual LanguageType GetInputLanguage() override
virtual void GetWorkArea(tools::Rectangle &rRect) override
virtual void SetWindowState(const vcl::WindowData *) override
const SalX11Screen & GetScreenNumber() const
std::unique_ptr< SalI18N_InputContext > mpInputContext
virtual void SetMaxClientSize(tools::Long nWidth, tools::Long nHeight) override
virtual void SetScreenNumber(unsigned int) override
virtual bool GetWindowState(vcl::WindowData *) override
virtual SalFrame * GetParent() const override
virtual void EndExtTextInput(EndExtTextInputFlags nFlags) override
SessionManagerInhibitor maSessionManagerInhibitor
virtual OUString GetKeyName(sal_uInt16 nKeyCode) override
virtual void UnionClipRegion(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight) override
virtual bool PostEvent(std::unique_ptr< ImplSVEvent > pData) override
virtual void Show(bool bVisible, bool bNoActivate=false) override
void HandleExtTextEvent(XClientMessageEvent const *pEvent)