LibreOffice Module vcl (master) 1
|
#include <salframe.h>
Public Member Functions | |
X11SalFrame (SalFrame *pParent, SalFrameStyleFlags nSalFrameStyle, SystemParentData const *pSystemParent=nullptr) | |
virtual | ~X11SalFrame () override |
bool | Dispatch (XEvent *pEvent) |
void | Init (SalFrameStyleFlags nSalFrameStyle, SalX11Screen nScreen, SystemParentData const *pParentData, bool bUseGeometry=false) |
SalDisplay * | GetDisplay () const |
Display * | GetXDisplay () const |
const SalX11Screen & | GetScreenNumber () const |
::Window | GetWindow () const |
cairo_surface_t * | GetSurface () const |
::Window | GetShellWindow () const |
::Window | GetForeignParent () const |
::Window | GetStackingWindow () const |
void | Close () const |
SalFrameStyleFlags | GetStyle () const |
Cursor | GetCursor () const |
bool | IsCaptured () const |
void | HandleExtTextEvent (XClientMessageEvent const *pEvent) |
bool | IsOverrideRedirect () const |
bool | IsChildWindow () const |
bool | IsSysChildWindow () const |
bool | IsFloatGrabWindow () const |
SalI18N_InputContext * | getInputContext () const |
bool | hasFocus () const |
void | beginUnicodeSequence () |
bool | appendUnicodeSequence (sal_Unicode) |
bool | endUnicodeSequence () |
virtual SalGraphics * | AcquireGraphics () override |
virtual void | ReleaseGraphics (SalGraphics *pGraphics) override |
virtual void | updateGraphics (bool bClear) |
virtual bool | PostEvent (std::unique_ptr< ImplSVEvent > pData) override |
virtual void | SetTitle (const OUString &rTitle) override |
virtual void | SetIcon (sal_uInt16 nIcon) override |
virtual void | SetMenu (SalMenu *pMenu) override |
virtual void | SetExtendedFrameStyle (SalExtStyle nExtStyle) override |
virtual void | Show (bool bVisible, bool bNoActivate=false) override |
virtual void | SetMinClientSize (tools::Long nWidth, tools::Long nHeight) override |
virtual void | SetMaxClientSize (tools::Long nWidth, tools::Long nHeight) override |
virtual void | SetPosSize (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt16 nFlags) override |
virtual void | GetClientSize (tools::Long &rWidth, tools::Long &rHeight) override |
virtual void | GetWorkArea (tools::Rectangle &rRect) override |
virtual SalFrame * | GetParent () const override |
virtual void | SetWindowState (const vcl::WindowData *) override |
virtual bool | GetWindowState (vcl::WindowData *) override |
virtual void | ShowFullScreen (bool bFullScreen, sal_Int32 nMonitor) override |
virtual void | StartPresentation (bool bStart) override |
virtual void | SetAlwaysOnTop (bool bOnTop) override |
virtual void | ToTop (SalFrameToTop nFlags) override |
virtual void | SetPointer (PointerStyle ePointerStyle) override |
virtual void | CaptureMouse (bool bMouse) override |
virtual void | SetPointerPos (tools::Long nX, tools::Long nY) override |
virtual void | Flush () override |
virtual void | SetInputContext (SalInputContext *pContext) override |
virtual void | EndExtTextInput (EndExtTextInputFlags nFlags) override |
virtual OUString | GetKeyName (sal_uInt16 nKeyCode) override |
virtual bool | MapUnicodeToKeyCode (sal_Unicode aUnicode, LanguageType aLangType, vcl::KeyCode &rKeyCode) override |
virtual LanguageType | GetInputLanguage () override |
virtual void | UpdateSettings (AllSettings &rSettings) override |
virtual void | Beep () override |
virtual const SystemEnvData * | GetSystemData () const override |
virtual SalPointerState | GetPointerState () override |
virtual KeyIndicatorState | GetIndicatorState () override |
virtual void | SimulateKeyPress (sal_uInt16 nKeyCode) override |
virtual void | SetParent (SalFrame *pNewParent) override |
virtual void | SetPluginParent (SystemParentData *pNewParent) override |
virtual void | SetScreenNumber (unsigned int) override |
virtual void | SetApplicationID (const OUString &rWMClass) override |
virtual void | ResetClipRegion () override |
virtual void | BeginSetClipRegion (sal_uInt32 nRects) override |
virtual void | UnionClipRegion (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight) override |
virtual void | EndSetClipRegion () override |
void | setPendingSizeEvent () |
virtual void | Flush ()=0 |
virtual void | Flush (const tools::Rectangle &) |
Public Member Functions inherited from SalFrame | |
SalFrame () | |
virtual | ~SalFrame () override |
virtual tools::Long | GetWidth () const override |
virtual tools::Long | GetHeight () const override |
virtual bool | IsOffScreen () const override |
virtual SalGraphics * | AcquireGraphics ()=0 |
virtual void | ReleaseGraphics (SalGraphics *pGraphics)=0 |
virtual bool | PostEvent (std::unique_ptr< ImplSVEvent > pData)=0 |
virtual void | SetTitle (const OUString &rTitle)=0 |
virtual void | SetIcon (sal_uInt16 nIcon)=0 |
virtual void | SetRepresentedURL (const OUString &) |
virtual void | SetMenu (SalMenu *pSalMenu)=0 |
virtual void | SetExtendedFrameStyle (SalExtStyle nExtStyle)=0 |
virtual void | Show (bool bVisible, bool bNoActivate=false)=0 |
virtual void | SetMinClientSize (tools::Long nWidth, tools::Long nHeight)=0 |
virtual void | SetMaxClientSize (tools::Long nWidth, tools::Long nHeight)=0 |
virtual void | SetPosSize (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt16 nFlags)=0 |
virtual void | GetClientSize (tools::Long &rWidth, tools::Long &rHeight)=0 |
virtual void | GetWorkArea (tools::Rectangle &rRect)=0 |
virtual SalFrame * | GetParent () const =0 |
SalFrameGeometry | GetGeometry () const |
const SalFrameGeometry & | GetUnmirroredGeometry () const |
virtual void | SetWindowState (const vcl::WindowData *)=0 |
virtual bool | GetWindowState (vcl::WindowData *)=0 |
virtual void | ShowFullScreen (bool bFullScreen, sal_Int32 nDisplay)=0 |
virtual void | PositionByToolkit (const tools::Rectangle &, FloatWinPopupFlags) |
virtual void | StartPresentation (bool bStart)=0 |
virtual void | SetAlwaysOnTop (bool bOnTop)=0 |
virtual void | ToTop (SalFrameToTop nFlags)=0 |
virtual void | GrabFocus () |
virtual void | SetPointer (PointerStyle ePointerStyle)=0 |
virtual void | CaptureMouse (bool bMouse)=0 |
virtual void | SetPointerPos (tools::Long nX, tools::Long nY)=0 |
virtual void | Flush ()=0 |
virtual void | Flush (const tools::Rectangle &) |
virtual void | SetInputContext (SalInputContext *pContext)=0 |
virtual void | EndExtTextInput (EndExtTextInputFlags nFlags)=0 |
virtual OUString | GetKeyName (sal_uInt16 nKeyCode)=0 |
virtual bool | MapUnicodeToKeyCode (sal_Unicode aUnicode, LanguageType aLangType, vcl::KeyCode &rKeyCode)=0 |
virtual LanguageType | GetInputLanguage ()=0 |
virtual void | UpdateSettings (AllSettings &rSettings)=0 |
virtual void | Beep ()=0 |
virtual const SystemEnvData * | GetSystemData () const =0 |
virtual void | ResolveWindowHandle (SystemEnvData &) const |
virtual SalPointerState | GetPointerState ()=0 |
virtual KeyIndicatorState | GetIndicatorState ()=0 |
virtual void | SimulateKeyPress (sal_uInt16 nKeyCode)=0 |
virtual void | SetParent (SalFrame *pNewParent)=0 |
virtual void | SetPluginParent (SystemParentData *pNewParent)=0 |
virtual void | SetScreenNumber (unsigned int nScreen)=0 |
virtual void | SetApplicationID (const OUString &rApplicationID)=0 |
virtual void | ResetClipRegion ()=0 |
virtual void | BeginSetClipRegion (sal_uInt32 nRects)=0 |
virtual void | UnionClipRegion (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight)=0 |
virtual void | EndSetClipRegion ()=0 |
virtual void | SetModal (bool) |
virtual bool | GetModal () const |
virtual bool | ShowTooltip (const OUString &, const tools::Rectangle &) |
virtual void * | ShowPopover (const OUString &, vcl::Window *, const tools::Rectangle &, QuickHelpFlags) |
virtual bool | UpdatePopover (void *, const OUString &, vcl::Window *, const tools::Rectangle &) |
virtual bool | HidePopover (void *) |
virtual weld::Window * | GetFrameWeld () const |
void | SetCallback (vcl::Window *pWindow, SALFRAMEPROC pProc) |
vcl::Window * | GetWindow () const |
void | SetModalHierarchyHdl (const Link< bool, void > &rLink) |
void | NotifyModalHierarchy (bool bModal) |
virtual void | UpdateDarkMode () |
virtual bool | GetUseDarkMode () const |
virtual bool | GetUseReducedAnimation () const |
bool | CallCallback (SalEvent nEvent, const void *pEvent) const |
Public Member Functions inherited from vcl::DeletionNotifier | |
void | addDel (DeletionListener *pListener) |
void | removeDel (DeletionListener *pListener) |
Public Member Functions inherited from SalGeometryProvider | |
virtual | ~SalGeometryProvider () |
virtual tools::Long | GetWidth () const =0 |
virtual tools::Long | GetHeight () const =0 |
virtual bool | IsOffScreen () const =0 |
Private Member Functions | |
void | GetPosSize (tools::Rectangle &rPosSize) |
void | SetSize (const Size &rSize) |
void | Center () |
void | SetPosSize (const tools::Rectangle &rPosSize) |
void | Minimize () |
void | Maximize () |
void | Restore () |
void | RestackChildren (::Window *pTopLevelWindows, int nTopLevelWindows) |
void | RestackChildren () |
bool | HandleKeyEvent (XKeyEvent *pEvent) |
bool | HandleMouseEvent (XEvent *pEvent) |
bool | HandleFocusEvent (XFocusChangeEvent const *pEvent) |
bool | HandleExposeEvent (XEvent const *pEvent) |
bool | HandleSizeEvent (XConfigureEvent *pEvent) |
bool | HandleStateEvent (XPropertyEvent const *pEvent) |
bool | HandleReparentEvent (XReparentEvent *pEvent) |
bool | HandleClientMessage (XClientMessageEvent *pEvent) |
DECL_LINK (HandleAlwaysOnTopRaise, Timer *, void) | |
void | createNewWindow (::Window aParent, SalX11Screen nXScreen=SalX11Screen(-1)) |
void | updateScreenNumber () |
void | setXEmbedInfo () |
void | askForXEmbedFocus (sal_Int32 i_nTimeCode) |
void | updateWMClass () |
Friends | |
class | vcl_sal::WMAdaptor |
class | vcl_sal::NetWMAdaptor |
class | vcl_sal::GnomeWMAdaptor |
Additional Inherited Members | |
Static Public Member Functions inherited from SalFrame | |
static OUString | DumpSetPosSize (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt16 nFlags) |
static Selection | CalcDeleteSurroundingSelection (const OUString &rSurroundingText, sal_Int32 nCursorIndex, int nOffset, int nChars) |
Public Attributes inherited from SalFrame | |
SalFrameGeometry | maGeometry |
absolute, unmirrored values More... | |
Protected Member Functions inherited from vcl::DeletionNotifier | |
DeletionNotifier () | |
~DeletionNotifier () | |
void | notifyDelete () |
Protected Attributes inherited from SalFrame | |
std::unique_ptr< weld::Window > | m_xFrameWeld |
Definition at line 63 of file unx/salframe.h.
X11SalFrame::X11SalFrame | ( | SalFrame * | pParent, |
SalFrameStyleFlags | nSalFrameStyle, | ||
SystemParentData const * | pSystemParent = nullptr |
||
) |
|
overridevirtual |
|
overridevirtual |
Implements SalFrame.
bool X11SalFrame::appendUnicodeSequence | ( | sal_Unicode | ) |
|
private |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
void X11SalFrame::beginUnicodeSequence | ( | ) |
|
overridevirtual |
Implements SalFrame.
|
private |
|
inline |
Definition at line 187 of file unx/salframe.h.
References SalFrame::CallCallback(), and Close.
|
private |
|
private |
bool X11SalFrame::Dispatch | ( | XEvent * | pEvent | ) |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
bool X11SalFrame::endUnicodeSequence | ( | ) |
|
overridevirtual |
Implements SalFrame.
|
virtual |
Implements SalFrame.
|
virtual |
Reimplemented from SalFrame.
Definition at line 194 of file salvtables.cxx.
|
overridevirtual |
Implements SalFrame.
|
inline |
Definition at line 190 of file unx/salframe.h.
|
inline |
Definition at line 173 of file unx/salframe.h.
References pDisplay_.
|
inline |
Definition at line 185 of file unx/salframe.h.
References mhForeignParent.
|
overridevirtual |
Implements SalFrame.
|
inline |
Definition at line 199 of file unx/salframe.h.
References mpInputContext.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
private |
|
inline |
Definition at line 181 of file unx/salframe.h.
References m_nXScreen.
|
inline |
Definition at line 184 of file unx/salframe.h.
References mhShellWindow.
|
inline |
Definition at line 186 of file unx/salframe.h.
References mhStackingWindow.
|
inline |
Definition at line 188 of file unx/salframe.h.
References nStyle_.
|
inline |
Definition at line 183 of file unx/salframe.h.
References mpSurface.
|
overridevirtual |
Implements SalFrame.
|
inline |
Definition at line 182 of file unx/salframe.h.
References mhWindow.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
inline |
Definition at line 177 of file unx/salframe.h.
References SalDisplay::GetDisplay(), and pDisplay_.
|
private |
|
private |
void X11SalFrame::HandleExtTextEvent | ( | XClientMessageEvent const * | pEvent | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 200 of file unx/salframe.h.
References mbInputFocus.
void X11SalFrame::Init | ( | SalFrameStyleFlags | nSalFrameStyle, |
SalX11Screen | nScreen, | ||
SystemParentData const * | pParentData, | ||
bool | bUseGeometry = false |
||
) |
|
inline |
Definition at line 191 of file unx/salframe.h.
References nCaptured_.
|
inline |
Definition at line 196 of file unx/salframe.h.
References nStyle_, PLUG, and SYSTEMCHILD.
bool X11SalFrame::IsFloatGrabWindow | ( | ) | const |
bool X11SalFrame::IsOverrideRedirect | ( | ) | const |
|
inline |
Definition at line 197 of file unx/salframe.h.
References nStyle_, and SYSTEMCHILD.
|
overridevirtual |
Implements SalFrame.
|
private |
|
private |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
private |
|
private |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
void X11SalFrame::setPendingSizeEvent | ( | ) |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
private |
|
overridevirtual |
Implements SalFrame.
|
private |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
private |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
virtual |
|
private |
|
overridevirtual |
Implements SalFrame.
|
private |
|
friend |
Definition at line 67 of file unx/salframe.h.
|
friend |
Definition at line 66 of file unx/salframe.h.
|
friend |
Definition at line 65 of file unx/salframe.h.
|
private |
Definition at line 99 of file unx/salframe.h.
|
private |
Definition at line 102 of file unx/salframe.h.
|
private |
Definition at line 101 of file unx/salframe.h.
|
private |
Definition at line 100 of file unx/salframe.h.
|
private |
Definition at line 84 of file unx/salframe.h.
Referenced by GetCursor().
|
private |
Definition at line 123 of file unx/salframe.h.
|
private |
Definition at line 118 of file unx/salframe.h.
|
private |
Definition at line 106 of file unx/salframe.h.
|
private |
Definition at line 103 of file unx/salframe.h.
|
private |
Definition at line 105 of file unx/salframe.h.
|
private |
Definition at line 75 of file unx/salframe.h.
Referenced by GetScreenNumber().
|
private |
Definition at line 125 of file unx/salframe.h.
|
private |
Definition at line 132 of file unx/salframe.h.
|
private |
Definition at line 111 of file unx/salframe.h.
|
private |
Definition at line 72 of file unx/salframe.h.
|
private |
Definition at line 109 of file unx/salframe.h.
|
private |
Definition at line 96 of file unx/salframe.h.
|
private |
Definition at line 108 of file unx/salframe.h.
|
private |
Definition at line 127 of file unx/salframe.h.
|
private |
Definition at line 117 of file unx/salframe.h.
|
private |
Definition at line 130 of file unx/salframe.h.
Referenced by hasFocus().
|
private |
Definition at line 116 of file unx/salframe.h.
|
private |
Definition at line 115 of file unx/salframe.h.
|
private |
Definition at line 90 of file unx/salframe.h.
|
private |
Definition at line 71 of file unx/salframe.h.
|
private |
Definition at line 114 of file unx/salframe.h.
|
private |
Definition at line 79 of file unx/salframe.h.
Referenced by GetForeignParent().
|
private |
Definition at line 78 of file unx/salframe.h.
Referenced by GetShellWindow().
|
private |
Definition at line 81 of file unx/salframe.h.
Referenced by GetStackingWindow().
|
private |
Definition at line 76 of file unx/salframe.h.
Referenced by GetWindow().
|
private |
Definition at line 91 of file unx/salframe.h.
|
private |
Definition at line 98 of file unx/salframe.h.
|
private |
Definition at line 121 of file unx/salframe.h.
|
private |
Definition at line 134 of file unx/salframe.h.
|
private |
Definition at line 129 of file unx/salframe.h.
Referenced by getInputContext().
|
private |
Definition at line 69 of file unx/salframe.h.
|
private |
Definition at line 77 of file unx/salframe.h.
Referenced by GetSurface().
|
private |
Definition at line 85 of file unx/salframe.h.
Referenced by IsCaptured().
|
private |
Definition at line 95 of file unx/salframe.h.
|
private |
Definition at line 93 of file unx/salframe.h.
|
private |
Definition at line 97 of file unx/salframe.h.
Referenced by GetStyle(), IsChildWindow(), and IsSysChildWindow().
|
private |
Definition at line 104 of file unx/salframe.h.
|
private |
Definition at line 94 of file unx/salframe.h.
|
private |
Definition at line 74 of file unx/salframe.h.
Referenced by GetDisplay(), and GetXDisplay().
|
private |
Definition at line 88 of file unx/salframe.h.
|
private |
Definition at line 87 of file unx/salframe.h.