|
LibreOffice Module vcl (master) 1
|
#include <salframe.h>
Public Member Functions | |
| AquaSalFrame (SalFrame *pParent, SalFrameStyleFlags salFrameStyle) | |
| Constructor. More... | |
| virtual | ~AquaSalFrame () override |
| virtual SalGraphics * | AcquireGraphics () override |
| virtual void | ReleaseGraphics (SalGraphics *pGraphics) override |
| 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 | SetRepresentedURL (const OUString &) override |
| virtual void | SetMenu (SalMenu *pSalMenu) 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 nDisplay) 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 (void) override |
| virtual void | Flush (const tools::Rectangle &) 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 | SetExtendedFrameStyle (SalExtStyle) override |
| virtual void | SetScreenNumber (unsigned int) override |
| virtual void | SetApplicationID (const OUString &rApplicationID) 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 |
| virtual void | UpdateDarkMode () override |
| virtual bool | GetUseDarkMode () const override |
| virtual bool | GetUseReducedAnimation () const override |
| void | UpdateFrameGeometry () |
| void | SendPaintEvent (const tools::Rectangle *pRect=nullptr) |
| NSWindow * | getNSWindow () const |
| NSView * | getNSView () const |
| unsigned int | getStyleMask () const |
| void | getResolution (sal_Int32 &o_rDPIX, sal_Int32 &o_rDPIY) |
| void | VCLToCocoa (NSRect &io_rRect, bool bRelativeToScreen=true) |
| void | CocoaToVCL (NSRect &io_rRect, bool bRelativeToScreen=true) |
| void | VCLToCocoa (NSPoint &io_rPoint, bool bRelativeToScreen=true) |
| void | CocoaToVCL (NSPoint &io_Point, bool bRelativeToScreen=true) |
| NSCursor * | getCurrentCursor () |
| CGMutablePathRef | getClipPath () const |
| void | screenParametersChanged () |
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 |
Static Public Member Functions | |
| static bool | isAlive (const AquaSalFrame *pFrame) |
| static AquaSalFrame * | GetCaptureFrame () |
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 | |
| NSWindow * | mpNSWindow |
| NSView * | mpNSView |
| NSMenuItem * | mpDockMenuEntry |
| NSRect | maScreenRect |
| AquaSalGraphics * | mpGraphics |
| AquaSalFrame * | mpParent |
| SystemEnvData | maSysData |
| int | mnMinWidth |
| int | mnMinHeight |
| int | mnMaxWidth |
| int | mnMaxHeight |
| NSRect | maFullScreenRect |
| bool | mbGraphics |
| bool | mbFullScreen |
| bool | mbShown |
| bool | mbInitShow |
| bool | mbPositioned |
| bool | mbSized |
| bool | mbPresentation |
| SalFrameStyleFlags | mnStyle |
| unsigned int | mnStyleMask |
| sal_uInt64 | mnLastEventTime |
| unsigned int | mnLastModifierFlags |
| AquaSalMenu * | mpMenu |
| SalExtStyle | mnExtStyle |
| PointerStyle | mePointerStyle |
| NSTrackingRectTag | mnTrackingRectTag |
| NSRect | maTrackingRect |
| CGMutablePathRef | mrClippingPath |
| std::vector< CGRect > | maClippingRects |
| tools::Rectangle | maInvalidRect |
| InputContextFlags | mnICOptions |
| IOPMAssertionID | mnAssertionID |
| NSRect | maFrameRect |
| NSRect | maContentRect |
| bool | mbGeometryDidChange |
| int | mnBlinkCursorDelay |
Public Attributes inherited from SalFrame | |
| SalFrameGeometry | maGeometry |
| absolute, unmirrored values More... | |
Protected Member Functions | |
| SalEvent | PreparePosSize (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt16 nFlags) |
Protected Member Functions inherited from vcl::DeletionNotifier | |
| DeletionNotifier () | |
| ~DeletionNotifier () | |
| void | notifyDelete () |
Private Member Functions | |
| void | initShow () |
| do things on initial show (like centering on parent or on screen) More... | |
| void | initWindowAndView () |
| void | doShowFullScreen (bool bFullScreen, sal_Int32 nDisplay) |
| void | doResetClipRegion () |
| AquaSalFrame (const AquaSalFrame &)=delete | |
| AquaSalFrame & | operator= (const AquaSalFrame &)=delete |
Static Private Attributes | |
| static AquaSalFrame * | s_pCaptureFrame |
Additional Inherited Members | |
Protected Attributes inherited from SalFrame | |
| std::unique_ptr< weld::Window > | m_xFrameWeld |
Definition at line 47 of file osx/salframe.h.
| AquaSalFrame::AquaSalFrame | ( | SalFrame * | pParent, |
| SalFrameStyleFlags | salFrameStyle | ||
| ) |
Constructor.
Creates a system window and connects this frame with it.
| std::runtime_error | in case window creation fails |
|
overridevirtual |
|
privatedelete |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
| void AquaSalFrame::CocoaToVCL | ( | NSPoint & | io_Point, |
| bool | bRelativeToScreen = true |
||
| ) |
| void AquaSalFrame::CocoaToVCL | ( | NSRect & | io_rRect, |
| bool | bRelativeToScreen = true |
||
| ) |
|
private |
|
private |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Reimplemented from SalFrame.
|
overridevirtual |
Implements SalFrame.
|
inlinestatic |
Definition at line 177 of file osx/salframe.h.
References s_pCaptureFrame.
|
overridevirtual |
Implements SalFrame.
|
inline |
Definition at line 196 of file osx/salframe.h.
References mrClippingPath.
| NSCursor * AquaSalFrame::getCurrentCursor | ( | ) |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
inline |
Definition at line 180 of file osx/salframe.h.
References mpNSView.
|
inline |
Definition at line 179 of file osx/salframe.h.
References mpNSWindow.
|
overridevirtual |
Implements SalFrame.
| void AquaSalFrame::getResolution | ( | sal_Int32 & | o_rDPIX, |
| sal_Int32 & | o_rDPIY | ||
| ) |
|
inline |
Definition at line 181 of file osx/salframe.h.
References mnStyleMask.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Reimplemented from SalFrame.
|
overridevirtual |
Reimplemented from SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
private |
do things on initial show (like centering on parent or on screen)
|
private |
|
inlinestatic |
Definition at line 223 of file osx/salframe.h.
References GetSalData(), SalUserEventList::isFrameAlive(), and SalData::mpInstance.
|
overridevirtual |
Implements SalFrame.
|
privatedelete |
|
overridevirtual |
Implements SalFrame.
|
protected |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
| void AquaSalFrame::screenParametersChanged | ( | ) |
| void AquaSalFrame::SendPaintEvent | ( | const tools::Rectangle * | pRect = nullptr | ) |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Reimplemented from SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Reimplemented from SalFrame.
| void AquaSalFrame::UpdateFrameGeometry | ( | ) |
|
overridevirtual |
Implements SalFrame.
| void AquaSalFrame::VCLToCocoa | ( | NSPoint & | io_rPoint, |
| bool | bRelativeToScreen = true |
||
| ) |
| void AquaSalFrame::VCLToCocoa | ( | NSRect & | io_rRect, |
| bool | bRelativeToScreen = true |
||
| ) |
| std::vector< CGRect > AquaSalFrame::maClippingRects |
Definition at line 85 of file osx/salframe.h.
| NSRect AquaSalFrame::maContentRect |
Definition at line 95 of file osx/salframe.h.
| NSRect AquaSalFrame::maFrameRect |
Definition at line 94 of file osx/salframe.h.
| NSRect AquaSalFrame::maFullScreenRect |
Definition at line 61 of file osx/salframe.h.
| tools::Rectangle AquaSalFrame::maInvalidRect |
Definition at line 87 of file osx/salframe.h.
Referenced by AquaSharedAttributes::refreshRect().
| NSRect AquaSalFrame::maScreenRect |
Definition at line 53 of file osx/salframe.h.
| SystemEnvData AquaSalFrame::maSysData |
Definition at line 56 of file osx/salframe.h.
| NSRect AquaSalFrame::maTrackingRect |
Definition at line 82 of file osx/salframe.h.
| bool AquaSalFrame::mbFullScreen |
Definition at line 63 of file osx/salframe.h.
| bool AquaSalFrame::mbGeometryDidChange |
Definition at line 97 of file osx/salframe.h.
| bool AquaSalFrame::mbGraphics |
Definition at line 62 of file osx/salframe.h.
| bool AquaSalFrame::mbInitShow |
Definition at line 65 of file osx/salframe.h.
| bool AquaSalFrame::mbPositioned |
Definition at line 66 of file osx/salframe.h.
| bool AquaSalFrame::mbPresentation |
Definition at line 68 of file osx/salframe.h.
| bool AquaSalFrame::mbShown |
Definition at line 64 of file osx/salframe.h.
| bool AquaSalFrame::mbSized |
Definition at line 67 of file osx/salframe.h.
| PointerStyle AquaSalFrame::mePointerStyle |
Definition at line 79 of file osx/salframe.h.
| IOPMAssertionID AquaSalFrame::mnAssertionID |
Definition at line 92 of file osx/salframe.h.
| int AquaSalFrame::mnBlinkCursorDelay |
Definition at line 99 of file osx/salframe.h.
| SalExtStyle AquaSalFrame::mnExtStyle |
Definition at line 77 of file osx/salframe.h.
| InputContextFlags AquaSalFrame::mnICOptions |
Definition at line 89 of file osx/salframe.h.
| sal_uInt64 AquaSalFrame::mnLastEventTime |
Definition at line 73 of file osx/salframe.h.
| unsigned int AquaSalFrame::mnLastModifierFlags |
Definition at line 74 of file osx/salframe.h.
| int AquaSalFrame::mnMaxHeight |
Definition at line 60 of file osx/salframe.h.
| int AquaSalFrame::mnMaxWidth |
Definition at line 59 of file osx/salframe.h.
| int AquaSalFrame::mnMinHeight |
Definition at line 58 of file osx/salframe.h.
| int AquaSalFrame::mnMinWidth |
Definition at line 57 of file osx/salframe.h.
| SalFrameStyleFlags AquaSalFrame::mnStyle |
Definition at line 70 of file osx/salframe.h.
| unsigned int AquaSalFrame::mnStyleMask |
Definition at line 71 of file osx/salframe.h.
Referenced by getStyleMask().
| NSTrackingRectTag AquaSalFrame::mnTrackingRectTag |
Definition at line 81 of file osx/salframe.h.
| NSMenuItem* AquaSalFrame::mpDockMenuEntry |
Definition at line 52 of file osx/salframe.h.
| AquaSalGraphics* AquaSalFrame::mpGraphics |
Definition at line 54 of file osx/salframe.h.
| AquaSalMenu* AquaSalFrame::mpMenu |
Definition at line 75 of file osx/salframe.h.
| NSView* AquaSalFrame::mpNSView |
Definition at line 51 of file osx/salframe.h.
Referenced by getNSView().
| NSWindow* AquaSalFrame::mpNSWindow |
Definition at line 50 of file osx/salframe.h.
Referenced by getNSWindow().
| AquaSalFrame* AquaSalFrame::mpParent |
Definition at line 55 of file osx/salframe.h.
| CGMutablePathRef AquaSalFrame::mrClippingPath |
Definition at line 84 of file osx/salframe.h.
Referenced by getClipPath().
|
staticprivate |
Definition at line 217 of file osx/salframe.h.
Referenced by GetCaptureFrame().