LibreOffice Module vcl (master) 1
|
#include <window.hxx>
Classes | |
struct | PointerState |
Public Member Functions | |
DECL_DLLPRIVATE_LINK (ImplHandlePaintHdl, Timer *, void) | |
DECL_DLLPRIVATE_LINK (ImplGenerateMouseMoveHdl, void *, void) | |
DECL_DLLPRIVATE_LINK (ImplTrackTimerHdl, Timer *, void) | |
DECL_DLLPRIVATE_LINK (ImplAsyncFocusHdl, void *, void) | |
DECL_DLLPRIVATE_LINK (ImplHandleResizeTimerHdl, Timer *, void) | |
SAL_DLLPRIVATE vcl::Window * | ImplGetFrameWindow () const |
weld::Window * | GetFrameWeld () const |
vcl::Window * | GetFrameWindow () const |
SalFrame * | ImplGetFrame () const |
SAL_DLLPRIVATE ImplFrameData * | ImplGetFrameData () |
vcl::Window * | ImplGetWindow () const |
if this is a proxy return the client, otherwise itself More... | |
SAL_DLLPRIVATE ImplWinData * | ImplGetWinData () const |
SAL_DLLPRIVATE vcl::Window * | ImplGetClientWindow () const |
SAL_DLLPRIVATE vcl::Window * | ImplGetDlgWindow (sal_uInt16 n, GetDlgWindowType nType, sal_uInt16 nStart=0, sal_uInt16 nEnd=0xFFFF, sal_uInt16 *pIndex=nullptr) |
SAL_DLLPRIVATE vcl::Window * | ImplGetParent () const |
SAL_DLLPRIVATE vcl::Window * | ImplFindWindow (const Point &rFramePos) |
SAL_DLLPRIVATE void | ImplInvalidateFrameRegion (const vcl::Region *pRegion, InvalidateFlags nFlags) |
SAL_DLLPRIVATE void | ImplInvalidateOverlapFrameRegion (const vcl::Region &rRegion) |
SAL_DLLPRIVATE bool | ImplSetClipFlag (bool bSysObjOnlySmaller=false) |
SAL_DLLPRIVATE bool | ImplIsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const |
SAL_DLLPRIVATE bool | ImplIsChild (const vcl::Window *pWindow, bool bSystemWindow=false) const |
SAL_DLLPRIVATE bool | ImplIsFloatingWindow () const |
SAL_DLLPRIVATE bool | ImplIsPushButton () const |
SAL_DLLPRIVATE bool | ImplIsSplitter () const |
SAL_DLLPRIVATE bool | ImplIsOverlapWindow () const |
SAL_DLLPRIVATE void | ImplIsInTaskPaneList (bool mbIsInTaskList) |
SAL_DLLPRIVATE WindowImpl * | ImplGetWindowImpl () const |
SAL_DLLPRIVATE Point | ImplFrameToOutput (const Point &rPos) |
SAL_DLLPRIVATE void | ImplGrabFocus (GetFocusFlags nFlags) |
SAL_DLLPRIVATE void | ImplGrabFocusToDocument (GetFocusFlags nFlags) |
SAL_DLLPRIVATE void | ImplInvertFocus (const tools::Rectangle &rRect) |
SAL_DLLPRIVATE PointerStyle | ImplGetMousePointer () const |
SAL_DLLPRIVATE void | ImplCallMouseMove (sal_uInt16 nMouseCode, bool bModChanged=false) |
SAL_DLLPRIVATE void | ImplGenerateMouseMove () |
SAL_DLLPRIVATE void | ImplNotifyKeyMouseCommandEventListeners (NotifyEvent &rNEvt) |
SAL_DLLPRIVATE void | ImplNotifyIconifiedState (bool bIconified) |
SAL_DLLPRIVATE void | ImplUpdateAll () |
SAL_DLLPRIVATE void | ImplControlFocus (GetFocusFlags nFlags=GetFocusFlags::NONE) |
SAL_DLLPRIVATE void | ImplMirrorFramePos (Point &pt) const |
SAL_DLLPRIVATE void | ImplPosSizeWindow (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags) |
SAL_DLLPRIVATE void | ImplCallResize () |
SAL_DLLPRIVATE void | ImplCallMove () |
SAL_DLLPRIVATE void | CompatGetFocus () |
SAL_DLLPRIVATE void | CompatLoseFocus () |
SAL_DLLPRIVATE void | CompatStateChanged (StateChangedType nStateChange) |
SAL_DLLPRIVATE void | CompatDataChanged (const DataChangedEvent &rDCEvt) |
SAL_DLLPRIVATE bool | CompatPreNotify (NotifyEvent &rNEvt) |
SAL_DLLPRIVATE bool | CompatNotify (NotifyEvent &rNEvt) |
void | IncModalCount () |
void | DecModalCount () |
Window (vcl::Window *pParent, WinBits nStyle=0) | |
virtual | ~Window () override |
::OutputDevice const * | GetOutDev () const |
::OutputDevice * | GetOutDev () |
Color | GetBackgroundColor () const |
const Wallpaper & | GetBackground () const |
bool | IsBackground () const |
const MapMode & | GetMapMode () const |
void | SetBackground () |
void | SetBackground (const Wallpaper &rBackground) |
virtual void | MouseMove (const MouseEvent &rMEvt) |
virtual void | MouseButtonDown (const MouseEvent &rMEvt) |
virtual void | MouseButtonUp (const MouseEvent &rMEvt) |
virtual void | KeyInput (const KeyEvent &rKEvt) |
virtual void | KeyUp (const KeyEvent &rKEvt) |
virtual void | PrePaint (vcl::RenderContext &rRenderContext) |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) |
virtual void | PostPaint (vcl::RenderContext &rRenderContext) |
void | Erase (vcl::RenderContext &rRenderContext) |
virtual void | Draw (::OutputDevice *pDev, const Point &rPos, SystemTextColorFlags nFlags) |
virtual void | Move () |
virtual void | Resize () |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | GetFocus () |
virtual void | LoseFocus () |
virtual void | RequestHelp (const HelpEvent &rHEvt) |
virtual void | Command (const CommandEvent &rCEvt) |
virtual void | Tracking (const TrackingEvent &rTEvt) |
virtual void | StateChanged (StateChangedType nStateChange) |
virtual void | DataChanged (const DataChangedEvent &rDCEvt) |
virtual bool | PreNotify (NotifyEvent &rNEvt) |
virtual bool | EventNotify (NotifyEvent &rNEvt) |
void | AddEventListener (const Link< VclWindowEvent &, void > &rEventListener) |
void | RemoveEventListener (const Link< VclWindowEvent &, void > &rEventListener) |
void | AddChildEventListener (const Link< VclWindowEvent &, void > &rEventListener) |
void | RemoveChildEventListener (const Link< VclWindowEvent &, void > &rEventListener) |
ImplSVEvent * | PostUserEvent (const Link< void *, void > &rLink, void *pCaller=nullptr, bool bReferenceLink=false) |
void | RemoveUserEvent (ImplSVEvent *nUserEvent) |
LanguageType | GetInputLanguage () const |
void | SetStyle (WinBits nStyle) |
WinBits | GetStyle () const |
WinBits | GetPrevStyle () const |
void | SetExtendedStyle (WindowExtendedStyle nExtendedStyle) |
WindowExtendedStyle | GetExtendedStyle () const |
void | SetType (WindowType nType) |
WindowType | GetType () const |
bool | IsSystemWindow () const |
bool | IsDockingWindow () const |
bool | IsDialog () const |
bool | IsMenuFloatingWindow () const |
bool | IsToolbarFloatingWindow () const |
bool | IsTopWindow () const |
SystemWindow * | GetSystemWindow () const |
bool | SupportsDoubleBuffering () const |
Can the widget derived from this Window do the double-buffering via RenderContext properly? More... | |
void | RequestDoubleBuffering (bool bRequest) |
Enable/disable double-buffering of the frame window and all its children. More... | |
void | EnableAllResize () |
void | SetBorderStyle (WindowBorderStyle nBorderStyle) |
WindowBorderStyle | GetBorderStyle () const |
void | GetBorder (sal_Int32 &rLeftBorder, sal_Int32 &rTopBorder, sal_Int32 &rRightBorder, sal_Int32 &rBottomBorder) const |
Size | CalcWindowSize (const Size &rOutSz) const |
Size | CalcOutputSize (const Size &rWinSz) const |
tools::Long | CalcTitleWidth () const |
void | EnableClipSiblings (bool bClipSiblings=true) |
void | EnableChildTransparentMode (bool bEnable=true) |
bool | IsChildTransparentModeEnabled () const |
void | SetMouseTransparent (bool bTransparent) |
bool | IsMouseTransparent () const |
void | SetPaintTransparent (bool bTransparent) |
bool | IsPaintTransparent () const |
void | SetDialogControlStart (bool bStart) |
bool | IsDialogControlStart () const |
void | SetDialogControlFlags (DialogControlFlags nFlags) |
DialogControlFlags | GetDialogControlFlags () const |
PointerState | GetPointerState () |
bool | IsMouseOver () const |
void | SetInputContext (const InputContext &rInputContext) |
const InputContext & | GetInputContext () const |
void | PostExtTextInputEvent (VclEventId nType, const OUString &rText) |
void | EndExtTextInput () |
void | SetCursorRect (const tools::Rectangle *pRect=nullptr, tools::Long nExtTextInputWidth=0) |
const tools::Rectangle * | GetCursorRect () const |
tools::Long | GetCursorExtTextInputWidth () const |
void | SetCompositionCharRect (const tools::Rectangle *pRect, tools::Long nCompositionLength, bool bVertical=false) |
void | UpdateSettings (const AllSettings &rSettings, bool bChild=false) |
void | NotifyAllChildren (DataChangedEvent &rDCEvt) |
void | SetPointFont (vcl::RenderContext &rRenderContext, const vcl::Font &rFont) |
vcl::Font | GetPointFont (vcl::RenderContext const &rRenderContext) const |
void | SetZoomedPointFont (vcl::RenderContext &rRenderContext, const vcl::Font &rFont) |
tools::Long | GetDrawPixel (::OutputDevice const *pDev, tools::Long nPixels) const |
vcl::Font | GetDrawPixelFont (::OutputDevice const *pDev) const |
void | SetControlFont () |
void | SetControlFont (const vcl::Font &rFont) |
vcl::Font | GetControlFont () const |
bool | IsControlFont () const |
void | ApplyControlFont (vcl::RenderContext &rRenderContext, const vcl::Font &rDefaultFont) |
void | SetControlForeground () |
void | SetControlForeground (const Color &rColor) |
const Color & | GetControlForeground () const |
bool | IsControlForeground () const |
void | ApplyControlForeground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor) |
void | SetControlBackground () |
void | SetControlBackground (const Color &rColor) |
const Color & | GetControlBackground () const |
bool | IsControlBackground () const |
void | ApplyControlBackground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor) |
void | SetParentClipMode (ParentClipMode nMode=ParentClipMode::NONE) |
ParentClipMode | GetParentClipMode () const |
void | SetWindowRegionPixel () |
void | SetWindowRegionPixel (const vcl::Region &rRegion) |
vcl::Region | GetWindowClipRegionPixel () const |
vcl::Region | GetPaintRegion () const |
bool | IsInPaint () const |
void | ExpandPaintClipRegion (const vcl::Region &rRegion) |
void | SetParent (vcl::Window *pNewParent) |
vcl::Window * | GetParent () const |
Dialog * | GetParentDialog () const |
bool | IsAncestorOf (const vcl::Window &rWindow) const |
void | Show (bool bVisible=true, ShowFlags nFlags=ShowFlags::NONE) |
void | Hide () |
bool | IsVisible () const |
bool | IsReallyVisible () const |
bool | IsReallyShown () const |
bool | IsInInitShow () const |
void | Enable (bool bEnable=true, bool bChild=true) |
void | Disable (bool bChild=true) |
bool | IsEnabled () const |
void | EnableInput (bool bEnable=true, bool bChild=true) |
void | EnableInput (bool bEnable, const vcl::Window *pExcludeWindow) |
bool | IsInputEnabled () const |
void | AlwaysEnableInput (bool bAlways, bool bChild=true) |
Override EnableInput . More... | |
bool | IsAlwaysEnableInput () const |
returns the current AlwaysEnableInput state More... | |
bool | IsInModalMode () const |
A window is in modal mode if one of its children or subchildren is a running modal window (a modal dialog) More... | |
void | SetActivateMode (ActivateModeFlags nMode) |
ActivateModeFlags | GetActivateMode () const |
void | ToTop (ToTopFlags nFlags=ToTopFlags::NONE) |
void | SetZOrder (vcl::Window *pRefWindow, ZOrderFlags nFlags) |
void | EnableAlwaysOnTop (bool bEnable=true) |
bool | IsAlwaysOnTopEnabled () const |
virtual void | setPosSizePixel (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags=PosSizeFlags::All) |
virtual void | SetPosPixel (const Point &rNewPos) |
virtual Point | GetPosPixel () const |
virtual void | SetSizePixel (const Size &rNewSize) |
virtual Size | GetSizePixel () const |
virtual void | SetPosSizePixel (const Point &rNewPos, const Size &rNewSize) |
virtual void | SetOutputSizePixel (const Size &rNewSize) |
bool | IsDefaultPos () const |
bool | IsDefaultSize () const |
Point | GetOffsetPixelFrom (const vcl::Window &rWindow) const |
Point | OutputToScreenPixel (const Point &rPos) const |
Point | ScreenToOutputPixel (const Point &rPos) const |
Point | OutputToNormalizedScreenPixel (const Point &rPos) const |
Point | NormalizedScreenToOutputPixel (const Point &rPos) const |
Point | OutputToAbsoluteScreenPixel (const Point &rPos) const |
Point | AbsoluteScreenToOutputPixel (const Point &rPos) const |
tools::Rectangle | GetDesktopRectPixel () const |
tools::Rectangle | GetWindowExtentsRelative (const vcl::Window *pRelativeWindow) const |
bool | IsScrollable () const |
virtual void | Scroll (tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags=ScrollFlags::NONE) |
void | Scroll (tools::Long nHorzScroll, tools::Long nVertScroll, const tools::Rectangle &rRect, ScrollFlags nFlags=ScrollFlags::NONE) |
virtual void | Invalidate (InvalidateFlags nFlags=InvalidateFlags::NONE) |
virtual void | Invalidate (const tools::Rectangle &rRect, InvalidateFlags nFlags=InvalidateFlags::NONE) |
virtual void | Invalidate (const vcl::Region &rRegion, InvalidateFlags nFlags=InvalidateFlags::NONE) |
virtual void | LogicInvalidate (const tools::Rectangle *pRectangle) |
Notification about some rectangle of the output device got invalidated.Used for the main document window. More... | |
virtual void | PixelInvalidate (const tools::Rectangle *pRectangle) |
Notification about some rectangle of the output device got invalidated. More... | |
void | Validate () |
bool | HasPaintEvent () const |
void | PaintImmediately () |
void | EnableDocking (bool bEnable=true) |
void | EnablePaint (bool bEnable) |
bool | IsPaintEnabled () const |
void | SetUpdateMode (bool bUpdate) |
bool | IsUpdateMode () const |
void | SetParentUpdateMode (bool bUpdate) |
void | GrabFocus () |
bool | HasFocus () const |
bool | HasChildPathFocus (bool bSystemWindow=false) const |
bool | IsActive () const |
bool | HasActiveChildFrame () const |
GetFocusFlags | GetGetFocusFlags () const |
void | GrabFocusToDocument () |
VclPtr< vcl::Window > | GetFocusedWindow () const |
void | SetFakeFocus (bool bFocus) |
Set this when you need to act as if the window has focus even if it doesn't. More... | |
bool | IsCompoundControl () const |
void | LocalStartDrag () |
void | CaptureMouse () |
void | ReleaseMouse () |
bool | IsMouseCaptured () const |
virtual void | SetPointer (PointerStyle) |
PointerStyle | GetPointer () const |
void | EnableChildPointerOverwrite (bool bOverwrite) |
void | SetPointerPosPixel (const Point &rPos) |
Point | GetPointerPosPixel () |
Point | GetLastPointerPosPixel () |
void | SetLastMousePos (const Point &rPos) |
Similar to SetPointerPosPixel(), but sets the frame data's last mouse position instead. More... | |
void | ShowPointer (bool bVisible) |
void | EnterWait () |
void | LeaveWait () |
bool | IsWait () const |
void | SetCursor (vcl::Cursor *pCursor) |
vcl::Cursor * | GetCursor () const |
void | SetZoom (const Fraction &rZoom) |
const Fraction & | GetZoom () const |
bool | IsZoom () const |
tools::Long | CalcZoom (tools::Long n) const |
virtual void | SetText (const OUString &rStr) |
virtual OUString | GetText () const |
virtual OUString | GetDisplayText () const |
virtual const Wallpaper & | GetDisplayBackground () const |
void | SetHelpText (const OUString &rHelpText) |
const OUString & | GetHelpText () const |
void | SetQuickHelpText (const OUString &rHelpText) |
const OUString & | GetQuickHelpText () const |
void | SetHelpId (const OString &) |
const OString & | GetHelpId () const |
sal_uInt16 | GetChildCount () const |
vcl::Window * | GetChild (sal_uInt16 nChild) const |
vcl::Window * | GetWindow (GetWindowType nType) const |
bool | IsChild (const vcl::Window *pWindow) const |
bool | IsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const |
SAL_DLLPRIVATE void | CollectChildren (::std::vector< vcl::Window * > &rAllChildren) |
Add all children to rAllChildren recursively. More... | |
virtual void | ShowFocus (const tools::Rectangle &rRect) |
void | HideFocus () |
void | DrawSelectionBackground (const tools::Rectangle &rRect, sal_uInt16 highlight, bool bChecked, bool bDrawBorder) |
void | ShowTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags=ShowTrackFlags::Small) |
void | HideTracking () |
void | InvertTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags) |
void | StartTracking (StartTrackingFlags nFlags=StartTrackingFlags::NONE) |
void | EndTracking (TrackingEventFlags nFlags=TrackingEventFlags::NONE) |
bool | IsTracking () const |
void | StartAutoScroll (StartAutoScrollFlags nFlags) |
void | EndAutoScroll () |
bool | HandleScrollCommand (const CommandEvent &rCmd, Scrollable *pHScrl, Scrollable *pVScrl) |
virtual const SystemEnvData * | GetSystemData () const |
virtual css::uno::Reference< css::awt::XWindowPeer > | GetComponentInterface (bool bCreate=true) |
void | SetComponentInterface (css::uno::Reference< css::awt::XWindowPeer > const &xIFace) |
void | SetUseFrameData (bool bUseFrameData) |
void | SetLOKNotifier (const vcl::ILibreOfficeKitNotifier *pNotifier, bool bParent=false) |
Interface to register for dialog / window tunneling. More... | |
const vcl::ILibreOfficeKitNotifier * | GetLOKNotifier () const |
vcl::LOKWindowId | GetLOKWindowId () const |
VclPtr< vcl::Window > | GetParentWithLOKNotifier () |
Find the nearest parent with LOK Notifier; can be itself if this Window has LOK notifier set. More... | |
void | ReleaseLOKNotifier () |
Indicate that LOK is not going to use this dialog any more. More... | |
virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
Dumps itself and potentially its children to a property tree, to be written easily to JSON. More... | |
void | RecordLayoutData (vcl::ControlLayoutData *pLayout, const tools::Rectangle &rRect) |
VCLXWindow * | GetWindowPeer () const |
void | SetWindowPeer (css::uno::Reference< css::awt::XWindowPeer > const &xPeer, VCLXWindow *pVCLXWindow) |
bool | IsCreatedWithToolkit () const |
void | SetCreatedWithToolkit (bool b) |
css::uno::Reference< css::datatransfer::dnd::XDropTarget > | GetDropTarget () |
css::uno::Reference< css::datatransfer::dnd::XDragSource > | GetDragSource () |
css::uno::Reference< css::datatransfer::dnd::XDragGestureRecognizer > | GetDragGestureRecognizer () |
css::uno::Reference< css::datatransfer::clipboard::XClipboard > | GetClipboard () |
void | SetClipboard (css::uno::Reference< css::datatransfer::clipboard::XClipboard > const &xClipboard) |
Sets a custom clipboard for the window's frame, instead of creating it on-demand using css::datatransfer::clipboard::SystemClipboard. More... | |
virtual void | queue_resize (StateChangedType eReason=StateChangedType::Layout) |
void | set_height_request (sal_Int32 nHeightRequest) |
sal_Int32 | get_height_request () const |
void | set_width_request (sal_Int32 nWidthRequest) |
sal_Int32 | get_width_request () const |
Size | get_preferred_size () const |
VclAlign | get_halign () const |
void | set_halign (VclAlign eAlign) |
VclAlign | get_valign () const |
void | set_valign (VclAlign eAlign) |
bool | get_hexpand () const |
void | set_hexpand (bool bExpand) |
bool | get_vexpand () const |
void | set_vexpand (bool bExpand) |
bool | get_expand () const |
void | set_expand (bool bExpand) |
bool | get_fill () const |
void | set_fill (bool bFill) |
void | set_border_width (sal_Int32 nBorderWidth) |
sal_Int32 | get_border_width () const |
void | set_margin_start (sal_Int32 nWidth) |
sal_Int32 | get_margin_start () const |
void | set_margin_end (sal_Int32 nWidth) |
sal_Int32 | get_margin_end () const |
void | set_margin_top (sal_Int32 nWidth) |
sal_Int32 | get_margin_top () const |
void | set_margin_bottom (sal_Int32 nWidth) |
sal_Int32 | get_margin_bottom () const |
VclPackType | get_pack_type () const |
void | set_pack_type (VclPackType ePackType) |
sal_Int32 | get_padding () const |
void | set_padding (sal_Int32 nPadding) |
sal_Int32 | get_grid_width () const |
void | set_grid_width (sal_Int32 nCols) |
sal_Int32 | get_grid_left_attach () const |
void | set_grid_left_attach (sal_Int32 nAttach) |
sal_Int32 | get_grid_height () const |
void | set_grid_height (sal_Int32 nRows) |
sal_Int32 | get_grid_top_attach () const |
void | set_grid_top_attach (sal_Int32 nAttach) |
bool | get_secondary () const |
void | set_secondary (bool bSecondary) |
bool | get_non_homogeneous () const |
void | set_non_homogeneous (bool bNonHomogeneous) |
virtual bool | set_property (const OString &rKey, const OUString &rValue) |
bool | set_font_attribute (const OString &rKey, std::u16string_view rValue) |
void | add_to_size_group (const std::shared_ptr< VclSizeGroup > &xGroup) |
void | remove_from_all_size_groups () |
void | add_mnemonic_label (FixedText *pLabel) |
void | remove_mnemonic_label (FixedText *pLabel) |
const std::vector< VclPtr< FixedText > > & | list_mnemonic_labels () const |
void | reorderWithinParent (sal_uInt16 nNewPosition) |
void | set_id (const OUString &rID) |
Sets an ID. More... | |
const OUString & | get_id () const |
Get the ID of the window. More... | |
void | EnableNativeWidget (bool bEnable=true) |
bool | IsNativeWidgetEnabled () const |
void | PaintToDevice (::OutputDevice *pDevice, const Point &rPos) |
KeyIndicatorState | GetIndicatorState () const |
Query the states of keyboard indicators - Caps Lock, Num Lock and Scroll Lock. More... | |
void | SimulateKeyPress (sal_uInt16 nKeyCode) const |
virtual OUString | GetSurroundingText () const |
virtual Selection | GetSurroundingTextSelection () const |
virtual bool | DeleteSurroundingText (const Selection &rSelection) |
virtual FactoryFunction | GetUITestFactory () const |
virtual bool | IsChart () const |
virtual bool | IsStarMath () const |
void | SetHelpHdl (const Link< vcl::Window &, bool > &rLink) |
void | SetMnemonicActivateHdl (const Link< vcl::Window &, bool > &rLink) |
void | SetModalHierarchyHdl (const Link< bool, void > &rLink) |
void | SetDumpAsPropertyTreeHdl (const Link< tools::JsonWriter &, void > &rLink) |
Size | GetOutputSizePixel () const |
tools::Rectangle | GetOutputRectPixel () const |
Point | LogicToPixel (const Point &rLogicPt) const |
Size | LogicToPixel (const Size &rLogicSize) const |
tools::Rectangle | LogicToPixel (const tools::Rectangle &rLogicRect) const |
vcl::Region | LogicToPixel (const vcl::Region &rLogicRegion) const |
Point | LogicToPixel (const Point &rLogicPt, const MapMode &rMapMode) const |
Size | LogicToPixel (const Size &rLogicSize, const MapMode &rMapMode) const |
tools::Rectangle | LogicToPixel (const tools::Rectangle &rLogicRect, const MapMode &rMapMode) const |
Point | PixelToLogic (const Point &rDevicePt) const |
Size | PixelToLogic (const Size &rDeviceSize) const |
tools::Rectangle | PixelToLogic (const tools::Rectangle &rDeviceRect) const |
tools::PolyPolygon | PixelToLogic (const tools::PolyPolygon &rDevicePolyPoly) const |
vcl::Region | PixelToLogic (const vcl::Region &rDeviceRegion) const |
Point | PixelToLogic (const Point &rDevicePt, const MapMode &rMapMode) const |
Size | PixelToLogic (const Size &rDeviceSize, const MapMode &rMapMode) const |
tools::Rectangle | PixelToLogic (const tools::Rectangle &rDeviceRect, const MapMode &rMapMode) const |
Size | LogicToLogic (const Size &rSzSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const |
const AllSettings & | GetSettings () const |
void | SetSettings (const AllSettings &rSettings) |
void | SetSettings (const AllSettings &rSettings, bool bChild) |
tools::Rectangle | GetTextRect (const tools::Rectangle &rRect, const OUString &rStr, DrawTextFlags nStyle=DrawTextFlags::WordBreak, TextRectInfo *pInfo=nullptr, const vcl::ITextLayout *_pTextLayout=nullptr) const |
float | GetDPIScaleFactor () const |
tools::Long | GetOutOffXPixel () const |
tools::Long | GetOutOffYPixel () const |
void | EnableMapMode (bool bEnable=true) |
bool | IsMapModeEnabled () const |
void | SetMapMode () |
void | SetMapMode (const MapMode &rNewMapMode) |
virtual void | EnableRTL (bool bEnable=true) |
bool | IsRTLEnabled () const |
void | SetFont (const vcl::Font &rNewFont) |
const vcl::Font & | GetFont () const |
tools::Long | GetTextWidth (const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, vcl::text::TextLayoutCache const *=nullptr, SalLayoutGlyphs const *const pLayoutCache=nullptr) const |
Width of the text. More... | |
tools::Long | GetTextHeight () const |
Height where any character of the current font fits; in logic coordinates. More... | |
float | approximate_digit_width () const |
void | SetTextColor (const Color &rColor) |
const Color & | GetTextColor () const |
void | SetTextFillColor () |
void | SetTextFillColor (const Color &rColor) |
Color | GetTextFillColor () const |
bool | IsTextFillColor () const |
void | SetTextLineColor () |
void | SetTextLineColor (const Color &rColor) |
const Color & | GetTextLineColor () const |
bool | IsTextLineColor () const |
void | SetOverlineColor () |
void | SetOverlineColor (const Color &rColor) |
const Color & | GetOverlineColor () const |
bool | IsOverlineColor () const |
void | SetTextAlign (TextAlign eAlign) |
TextAlign | GetTextAlign () const |
bool | IsNativeControlSupported (ControlType nType, ControlPart nPart) const |
Query the platform layer for control support. More... | |
bool | GetNativeControlRegion (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) const |
Query the native control's actual drawing region (including adornment) More... | |
![]() | |
void | acquire () const |
void | release () const |
sal_Int32 | getRefCount () const |
void | disposeOnce () |
bool | isDisposed () const |
Static Public Member Functions | |
static SAL_DLLPRIVATE void | ImplInitAppFontData (vcl::Window const *pWindow) |
static SAL_DLLPRIVATE void | ImplCalcSymbolRect (tools::Rectangle &rRect) |
static DockingManager * | GetDockingManager () |
static VclPtr< vcl::Window > | SaveFocus () |
static void | EndSaveFocus (const VclPtr< vcl::Window > &xFocusWin) |
static VclPtr< vcl::Window > | FindLOKWindow (vcl::LOKWindowId nWindowId) |
Find an existing Window based on the LOKWindowId. More... | |
static bool | IsLOKWindowsEmpty () |
check if LOK Window container is empty More... | |
Protected Member Functions | |
virtual void | dispose () override |
This is intended to be used to clear any locally held references to other Window-subclass objects. More... | |
SAL_DLLPRIVATE void | ImplInit (vcl::Window *pParent, WinBits nStyle, SystemParentData *pSystemParentData) |
SAL_DLLPRIVATE Point | ImplOutputToFrame (const Point &rPos) |
SAL_DLLPRIVATE void | ImplInvalidateParentFrameRegion (const vcl::Region &rRegion) |
SAL_DLLPRIVATE void | ImplValidateFrameRegion (const vcl::Region *rRegion, ValidateFlags nFlags) |
SAL_DLLPRIVATE void | ImplValidate () |
SAL_DLLPRIVATE void | ImplMoveInvalidateRegion (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren) |
SAL_DLLPRIVATE void | ImplMoveAllInvalidateRegions (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren) |
SAL_DLLPRIVATE vcl::Window * | ImplGetBorderWindow () const |
SAL_DLLPRIVATE void | ImplInvalidate (const vcl::Region *rRegion, InvalidateFlags nFlags) |
virtual WindowHitTest | ImplHitTest (const Point &rFramePos) |
SAL_DLLPRIVATE void | ImplSetMouseTransparent (bool bTransparent) |
SAL_DLLPRIVATE void | ImplScroll (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags) |
SAL_DLLPRIVATE bool | ImplSetClipFlagChildren (bool bSysObjOnlySmaller) |
SAL_DLLPRIVATE bool | ImplSetClipFlagOverlapWindows (bool bSysObjOnlySmaller=false) |
SAL_DLLPRIVATE void | PushPaintHelper (PaintHelper *pHelper, vcl::RenderContext &rRenderContext) |
SAL_DLLPRIVATE void | PopPaintHelper (PaintHelper const *pHelper) |
Window (WindowType nType) | |
void | SetCompoundControl (bool bCompound) |
void | CallEventListeners (VclEventId nEvent, void *pData=nullptr) |
virtual void | ImplAdjustNWFSizes () |
virtual void | ApplySettings (vcl::RenderContext &rRenderContext) |
SAL_DLLPRIVATE float | approximate_char_width () const |
![]() | |
VclReferenceBase () | |
virtual | ~VclReferenceBase () |
virtual void | dispose () |
Private Member Functions | |
SAL_DLLPRIVATE void | ImplSetFrameParent (const vcl::Window *pParent) |
SAL_DLLPRIVATE void | ImplInsertWindow (vcl::Window *pParent) |
SAL_DLLPRIVATE void | ImplRemoveWindow (bool bRemoveFrameData) |
SAL_DLLPRIVATE SalGraphics * | ImplGetFrameGraphics () const |
SAL_DLLPRIVATE vcl::Window * | ImplGetFirstOverlapWindow () |
SAL_DLLPRIVATE const vcl::Window * | ImplGetFirstOverlapWindow () const |
SAL_DLLPRIVATE bool | ImplIsRealParentPath (const vcl::Window *pWindow) const |
SAL_DLLPRIVATE bool | ImplTestMousePointerSet () |
SAL_DLLPRIVATE void | ImplResetReallyVisible () |
SAL_DLLPRIVATE void | ImplSetReallyVisible () |
SAL_DLLPRIVATE void | ImplCallInitShow () |
SAL_DLLPRIVATE void | ImplInitResolutionSettings () |
SAL_DLLPRIVATE void | ImplPointToLogic (vcl::RenderContext const &rRenderContext, vcl::Font &rFont) const |
SAL_DLLPRIVATE void | ImplLogicToPoint (vcl::RenderContext const &rRenderContext, vcl::Font &rFont) const |
SAL_DLLPRIVATE bool | ImplSysObjClip (const vcl::Region *pOldRegion) |
SAL_DLLPRIVATE void | ImplUpdateSysObjChildrenClip () |
SAL_DLLPRIVATE void | ImplUpdateSysObjOverlapsClip () |
SAL_DLLPRIVATE void | ImplUpdateSysObjClip () |
SAL_DLLPRIVATE void | ImplIntersectWindowClipRegion (vcl::Region &rRegion) |
SAL_DLLPRIVATE void | ImplIntersectWindowRegion (vcl::Region &rRegion) |
SAL_DLLPRIVATE void | ImplExcludeWindowRegion (vcl::Region &rRegion) |
SAL_DLLPRIVATE void | ImplExcludeOverlapWindows (vcl::Region &rRegion) const |
SAL_DLLPRIVATE void | ImplExcludeOverlapWindows2 (vcl::Region &rRegion) |
SAL_DLLPRIVATE void | ImplClipBoundaries (vcl::Region &rRegion, bool bThis, bool bOverlaps) |
SAL_DLLPRIVATE bool | ImplClipChildren (vcl::Region &rRegion) const |
SAL_DLLPRIVATE void | ImplClipAllChildren (vcl::Region &rRegion) const |
SAL_DLLPRIVATE void | ImplClipSiblings (vcl::Region &rRegion) const |
SAL_DLLPRIVATE void | ImplInitWinClipRegion () |
SAL_DLLPRIVATE void | ImplInitWinChildClipRegion () |
SAL_DLLPRIVATE vcl::Region & | ImplGetWinChildClipRegion () |
SAL_DLLPRIVATE void | ImplIntersectAndUnionOverlapWindows (const vcl::Region &rInterRegion, vcl::Region &rRegion) const |
SAL_DLLPRIVATE void | ImplIntersectAndUnionOverlapWindows2 (const vcl::Region &rInterRegion, vcl::Region &rRegion) |
SAL_DLLPRIVATE void | ImplCalcOverlapRegionOverlaps (const vcl::Region &rInterRegion, vcl::Region &rRegion) const |
SAL_DLLPRIVATE void | ImplCalcOverlapRegion (const tools::Rectangle &rSourceRect, vcl::Region &rRegion, bool bChildren, bool bSiblings) |
SAL_DLLPRIVATE void | ImplCallPaint (const vcl::Region *pRegion, ImplPaintFlags nPaintFlags) |
Invoke the actual painting. More... | |
SAL_DLLPRIVATE void | ImplCallOverlapPaint () |
SAL_DLLPRIVATE void | ImplUpdateWindowPtr (vcl::Window *pWindow) |
SAL_DLLPRIVATE void | ImplUpdateWindowPtr () |
SAL_DLLPRIVATE void | ImplUpdateOverlapWindowPtr (bool bNewFrame) |
SAL_DLLPRIVATE bool | ImplUpdatePos () |
SAL_DLLPRIVATE void | ImplUpdateSysObjPos () |
SAL_DLLPRIVATE void | ImplUpdateGlobalSettings (AllSettings &rSettings, bool bCallHdl=true) const |
SAL_DLLPRIVATE void | ImplToBottomChild () |
SAL_DLLPRIVATE void | ImplCalcToTop (ImplCalcToTopData *pPrevData) |
SAL_DLLPRIVATE void | ImplToTop (ToTopFlags nFlags) |
SAL_DLLPRIVATE void | ImplStartToTop (ToTopFlags nFlags) |
SAL_DLLPRIVATE void | ImplFocusToTop (ToTopFlags nFlags, bool bReallyVisible) |
SAL_DLLPRIVATE void | ImplShowAllOverlaps () |
SAL_DLLPRIVATE void | ImplHideAllOverlaps () |
SAL_DLLPRIVATE bool | ImplDlgCtrl (const KeyEvent &rKEvt, bool bKeyInput) |
SAL_DLLPRIVATE bool | ImplHasDlgCtrl () const |
SAL_DLLPRIVATE void | ImplDlgCtrlNextWindow () |
SAL_DLLPRIVATE void | ImplDlgCtrlFocusChanged (vcl::Window *pWindow, bool bGetFocus) |
SAL_DLLPRIVATE vcl::Window * | ImplFindDlgCtrlWindow (vcl::Window *pWindow) |
SAL_DLLPRIVATE void | ImplCallActivateListeners (vcl::Window *) |
SAL_DLLPRIVATE void | ImplCallDeactivateListeners (vcl::Window *) |
SAL_DLLPRIVATE tools::Rectangle | ImplOutputToUnmirroredAbsoluteScreenPixel (const tools::Rectangle &rRect) const |
SAL_DLLPRIVATE tools::Rectangle | ImplUnmirroredAbsoluteScreenToOutputPixel (const tools::Rectangle &rRect) const |
SAL_DLLPRIVATE tools::Long | ImplGetUnmirroredOutOffX () |
SAL_DLLPRIVATE ::std::vector< VclPtr< vcl::Window > > & | ImplGetOwnerDrawList () |
SAL_DLLPRIVATE vcl::Window * | ImplGetTopmostFrameWindow () |
SAL_DLLPRIVATE tools::Rectangle | ImplGetWindowExtentsRelative (const vcl::Window *pRelativeWindow) const |
SAL_DLLPRIVATE bool | ImplStopDnd () |
SAL_DLLPRIVATE void | ImplStartDnd () |
virtual void | ImplPaintToDevice (::OutputDevice *pTargetOutDev, const Point &rPos) |
Size | get_ungrouped_preferred_size () const |
SAL_DLLPRIVATE void | ImplEnableRTL (bool bEnable) |
Static Private Member Functions | |
static SAL_DLLPRIVATE void | ImplCallFocusChangeActivate (vcl::Window *pNewOverlapWindow, vcl::Window *pOldOverlapWindow) |
static SAL_DLLPRIVATE void | ImplNewInputContext () |
static SAL_DLLPRIVATE void | ImplHandleScroll (Scrollable *pHScrl, double nX, Scrollable *pVScrl, double nY) |
Private Attributes | |
std::unique_ptr< WindowImpl > | mpWindowImpl |
Friends | |
class | ::vcl::Cursor |
class | ::vcl::WindowOutputDevice |
class | ::OutputDevice |
class | ::Application |
class | ::SystemWindow |
class | ::WorkWindow |
class | ::Dialog |
class | ::Edit |
class | ::MessBox |
class | ::MessageDialog |
class | ::DockingWindow |
class | ::FloatingWindow |
class | ::GroupBox |
class | ::PushButton |
class | ::RadioButton |
class | ::SalInstanceWidget |
class | ::SystemChildWindow |
class | ::ImplBorderWindow |
class | ::PaintHelper |
class | ::LifecycleTest |
class | ::VclEventListeners |
class | ::ImplDockingWindowWrapper |
class | ::ImplPopupFloatWin |
class | ::MenuFloatingWindow |
class | ::svt::PopupWindowControllerImpl |
const char * | ImplDbgCheckWindow (const void *pObj) |
Definition at line 442 of file window.hxx.
|
explicitprotected |
Definition at line 95 of file window.cxx.
References AllSettings::GetLayoutRTL(), mpWindowImpl, and nType.
Referenced by TabControl::dispose(), NotebookBar::NotebookBar(), DockingWindow::setPosSizeOnContainee(), and NotebookBar::setPosSizePixel().
|
explicit |
Definition at line 102 of file window.cxx.
References AllSettings::GetLayoutRTL(), ImplInit(), mpWindowImpl, and WINDOW.
|
overridevirtual |
Definition at line 556 of file window.cxx.
References VclReferenceBase::disposeOnce().
Point vcl::Window::AbsoluteScreenToOutputPixel | ( | const Point & | rPos | ) | const |
Definition at line 2869 of file window.cxx.
References mpWindowImpl, p, Point, ScreenToOutputPixel(), vcl::WindowPosSize::x(), and vcl::WindowPosSize::y().
Referenced by DrawProgress(), DockingWindow::GetFloatingPos(), ComboBox::GetIndexForPoint(), ListBox::GetIndexForPoint(), IMPL_LINK_NOARG(), FloatingWindow::ImplCalcPos(), FloatingWindow::ImplConvertToRelPos(), ToolBox::ImplDrawFloatwinBorder(), ImplGetWindowExtentsRelative(), ImplSetHelpWindowPos(), ImplDockingWindowWrapper::ImplStartDocking(), and FloatingWindow::StartPopupMode().
|
virtual |
Reimplemented in ToolBox, Dialog, MenuButton, ImplBorderWindow, and ManagedMenuButton.
Definition at line 1841 of file window.cxx.
Referenced by Dialog::Activate(), ImplCallFocusChangeActivate(), ImplGrabFocus(), and SetActivateMode().
void vcl::Window::add_mnemonic_label | ( | FixedText * | pLabel | ) |
Definition at line 2017 of file window2.cxx.
References mpWindowImpl, FixedText::set_mnemonic_widget(), and v.
Referenced by FixedText::set_mnemonic_widget().
void vcl::Window::add_to_size_group | ( | const std::shared_ptr< VclSizeGroup > & | xGroup | ) |
Definition at line 1994 of file window2.cxx.
References WindowImpl::m_xSizeGroup, mpWindowImpl, NONE, and queue_resize().
Referenced by VclBuilder::VclBuilder().
void vcl::Window::AddChildEventListener | ( | const Link< VclWindowEvent &, void > & | rEventListener | ) |
Definition at line 323 of file event.cxx.
References mpWindowImpl.
Referenced by SalInstanceWidget::ensure_mouse_listener(), and TabControl::ImplInit().
void vcl::Window::AddEventListener | ( | const Link< VclWindowEvent &, void > & | rEventListener | ) |
Definition at line 307 of file event.cxx.
References mpWindowImpl.
Referenced by MenuBarUpdateIconManager::AddMenuBarIcon(), SalInstanceTextView::connect_cursor_position(), SalInstanceWidget::connect_style_updated(), SalInstanceToggleButton::connect_toggled(), DNDEventDispatcher::designate_currentwindow(), VclFrame::designate_label(), SalInstanceWidget::ensure_event_listener(), MenuBarWindow::MenuBarWindow(), MenuFloatingWindow::MenuFloatingWindow(), SalInstanceEntryTreeView::SalInstanceEntryTreeView(), and SalInstanceToolbar::set_item_popover().
void vcl::Window::AlwaysEnableInput | ( | bool | bAlways, |
bool | bChild = true |
||
) |
Override EnableInput
.
This can be necessary due to other people using EnableInput for whole window hierarchies.
bAlways | sets always enabled flag |
bChild | if true children are recursively set to AlwaysEnableInput |
Definition at line 2612 of file window.cxx.
References AlwaysEnableInput(), AlwaysInputEnabled, AlwaysInputNone, EnableInput(), and mpWindowImpl.
Referenced by AlwaysEnableInput().
void vcl::Window::ApplyControlBackground | ( | vcl::RenderContext & | rRenderContext, |
const Color & | rDefaultColor | ||
) |
Definition at line 561 of file window2.cxx.
References GetControlBackground(), IsControlBackground(), and OutputDevice::SetBackground().
Referenced by HeaderBar::ApplySettings(), FloatingWindow::ApplySettings(), ScrollBarBox::ApplySettings(), and HeaderBar::ImplInitSettings().
void vcl::Window::ApplyControlFont | ( | vcl::RenderContext & | rRenderContext, |
const vcl::Font & | rDefaultFont | ||
) |
Definition at line 481 of file window2.cxx.
References GetControlFont(), IsControlFont(), vcl::Font::Merge(), and SetZoomedPointFont().
Referenced by HeaderBar::ApplySettings(), StatusBar::ApplySettings(), ToolBox::ApplySettings(), Edit::ApplySettings(), VclMultiLineEdit::ApplySettings(), ImplListBoxWindow::ApplySettings(), ImplWin::ApplySettings(), VclMultiLineEdit::ImplInitSettings(), HeaderBar::ImplInitSettings(), and ToolBox::ImplInitSettings().
void vcl::Window::ApplyControlForeground | ( | vcl::RenderContext & | rRenderContext, |
const Color & | rDefaultColor | ||
) |
Definition at line 521 of file window2.cxx.
References GetControlForeground(), IsControlForeground(), and OutputDevice::SetTextColor().
Referenced by HeaderBar::ApplySettings(), Edit::ApplySettings(), ImplListBoxWindow::ApplySettings(), ImplWin::ApplySettings(), and HeaderBar::ImplInitSettings().
|
protectedvirtual |
Reimplemented in SelectableFixedText, FixedLine, FixedBitmap, FixedImage, Control, HeaderBar, StatusBar, ToolBox, Dialog, Edit, FixedText, FloatingWindow, ListBox, ScrollBar, ScrollBarBox, SvTreeListBox, VclMultiLineEdit, Calendar, HelpTextWindow, vcl::HyperLabel, ImplListBoxWindow, ImplWin, MenuBarWindow, and MenuFloatingWindow.
Definition at line 3851 of file window.cxx.
Referenced by PaintHelper::DoPaint(), and SalInstanceWidget::DoRecursivePaint().
|
protected |
Definition at line 61 of file window3.cxx.
References OutputDevice::approximate_char_width(), and GetOutDev().
Referenced by ComboBox::CalcBlockSize(), ComboBox::CalcMinimumSize(), Edit::CalcSize(), ListBox::CalcSubEditSize(), Edit::GetMaxVisChars(), ListBox::GetMaxVisColumnsAndLines(), SvTreeListBox::GetOptimalSize(), ImplInitAppFontData(), and MessageDialog::SetMessagesWidths().
float vcl::Window::approximate_digit_width | ( | ) | const |
Definition at line 72 of file window3.cxx.
References OutputDevice::approximate_digit_width(), and GetOutDev().
Referenced by ComboBox::CalcMinimumSize(), Edit::CalcSize(), SalInstanceWidget::get_approximate_digit_width(), and Edit::GetMaxVisChars().
Definition at line 577 of file window2.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), and mpWindowImpl.
Referenced by Edit::CalcMinimumSizeForText().
tools::Long vcl::Window::CalcTitleWidth | ( | ) | const |
Definition at line 2052 of file window.cxx.
References BORDERWINDOW, CalcTitleWidth(), StyleSettings::GetBorderSize(), GetFont(), GetOutDev(), GetSettings(), AllSettings::GetStyleSettings(), GetText(), GetTextWidth(), StyleSettings::GetTitleFont(), StyleSettings::GetTitleHeight(), mpWindowImpl, SetFont(), SetPointFont(), and WB_MOVEABLE.
Referenced by CalcTitleWidth(), and MessageDialog::StateChanged().
Definition at line 569 of file window2.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), and mpWindowImpl.
Referenced by ComboBox::CalcAdjustedSize(), ListBox::CalcAdjustedSize(), ComboBox::CalcBlockSize(), ListBox::CalcBlockSize(), PushButton::CalcMinimumSize(), ListBox::CalcMinimumSize(), ComboBox::CalcMinimumSize(), CheckBox::CalcMinimumSize(), RadioButton::CalcMinimumSize(), FixedText::CalcMinimumSize(), Edit::CalcMinimumSizeForText(), Edit::CalcSize(), SystemWindow::GetOptimalSize(), and FixedLine::GetOptimalSize().
tools::Long vcl::Window::CalcZoom | ( | tools::Long | n | ) | const |
Definition at line 429 of file window2.cxx.
References FRound(), Fraction::GetDenominator(), Fraction::GetNumerator(), GetZoom(), and n.
Referenced by CheckBox::Draw(), RadioButton::Draw(), ImplWin::DrawEntry(), ImplListBoxWindow::DrawEntry(), SpinField::ImplCalcButtonAreas(), Button::ImplDrawAlignedImage(), CheckBox::ImplDrawCheckBox(), RadioButton::ImplDrawRadioButton(), RadioButton::ImplDrawRadioButtonState(), Button::ImplGetImageToTextDistance(), ImplListBox::ImplResizeControls(), ImplListBoxWindow::ImplUpdateEntryMetrics(), ImpVclMEdit::Resize(), and ListBox::Resize().
|
protected |
Definition at line 219 of file event.cxx.
References aEvent, GetComponentInterface(), GetParent(), Application::ImplCallEventListeners(), VclReferenceBase::isDisposed(), mpWindowImpl, ObjectDying, and pData.
Referenced by ToolBox::Activate(), Control::CallEventListeners(), StatusBar::Clear(), ToolBox::Clear(), ToolBox::Click(), DockingWindow::Close(), SystemWindow::Close(), Dialog::Close(), Command(), ToolBox::CopyItem(), ToolBox::Deactivate(), dispose(), ImplDockingWindowWrapper::Docking(), ToolBox::DoubleClick(), Enable(), ToolBox::EnableItem(), ImplDockingWindowWrapper::EndDocking(), StatusBar::HideItem(), ToolBox::Highlight(), IMPL_LINK_NOARG(), ImplCallActivateListeners(), ImplCallDeactivateListeners(), ImplCallMove(), ImplCallResize(), ToolBox::ImplChangeHighlight(), StatusBar::ImplDrawItem(), ToolBox::ImplInvalidate(), ImplNotifyKeyMouseCommandEventListeners(), ImplResetReallyVisible(), ImplSetReallyVisible(), ToolBox::InsertBreak(), StatusBar::InsertItem(), ToolBox::InsertItem(), ToolBox::InsertSeparator(), ToolBox::InsertSpace(), ToolBox::InsertWindow(), ToolBox::MouseMove(), Paint(), PreNotify(), ImplDockingWindowWrapper::PrepareToggleFloatingMode(), ToolBox::RemoveItem(), StatusBar::RemoveItem(), ToolBox::Select(), SetAccessibleName(), StatusBar::SetAccessibleName(), ToolBox::SetItemState(), ToolBox::SetItemText(), ToolBox::SetItemWindow(), SetText(), Show(), StatusBar::ShowItem(), ImplDockingWindowWrapper::StartDocking(), ImplDockingWindowWrapper::ToggleFloatingMode(), and UpdateSettings().
void vcl::Window::CaptureMouse | ( | ) |
Definition at line 451 of file mouse.cxx.
References Cancel, EndTracking(), VclPtr< reference_type >::get(), ImplGetSVData(), ImplSVWinData::mpCaptureWin, ImplSVWinData::mpTrackWin, ImplSVData::mpWinData, and mpWindowImpl.
Referenced by SvImpLBox::ButtonDownCheckCtrl(), SelectionEngine::CaptureMouse(), SalInstanceWidget::grab_add(), ImplWheelWindow::ImplWheelWindow(), SpinField::MouseButtonDown(), ImplTBDragMgr::StartDragging(), and StartTracking().
void vcl::Window::CollectChildren | ( | ::std::vector< vcl::Window * > & | rAllChildren | ) |
Add all children to rAllChildren recursively.
Definition at line 2165 of file window.cxx.
References CollectChildren(), and mpWindowImpl.
Referenced by DebugEventInjector::ChooseWindow(), and CollectChildren().
|
virtual |
Reimplemented in HeaderBar, VclContainer, VclEventBox::EventBoxHelper, TabControl, ToolBox, Dialog, Edit, SvtIconChoiceCtrl, SvTreeListBox, TextWindow, Calendar, MenuFloatingWindow, and VclDrawingArea.
Definition at line 1927 of file window.cxx.
References CallEventListeners(), COMMAND, CompatNotify(), mpWindowImpl, and WindowCommand.
Referenced by TabControl::Command(), ToolBox::Command(), Dialog::Command(), Edit::Command(), SvtIconChoiceCtrl::Command(), SvTreeListBox::Command(), Calendar::Command(), VclDrawingArea::Command(), IMPL_LINK_NOARG(), ImplCallCommand(), and ImplCallWheelCommand().
void vcl::Window::CompatDataChanged | ( | const DataChangedEvent & | rDCEvt | ) |
Definition at line 3907 of file window.cxx.
References DataChanged(), and mpWindowImpl.
Referenced by EnableNativeWidget(), and NotifyAllChildren().
void vcl::Window::CompatGetFocus | ( | ) |
Definition at line 3883 of file window.cxx.
References GetFocus(), and mpWindowImpl.
Referenced by ImplDlgCtrl(), and ImplGrabFocus().
void vcl::Window::CompatLoseFocus | ( | ) |
Definition at line 3891 of file window.cxx.
References LoseFocus(), and mpWindowImpl.
Referenced by IMPL_LINK_NOARG(), ImplDlgCtrl(), and ImplGrabFocus().
bool vcl::Window::CompatNotify | ( | NotifyEvent & | rNEvt | ) |
Definition at line 3923 of file window.cxx.
References EventNotify(), and mpWindowImpl.
Referenced by Command(), GetFocus(), KeyInput(), KeyUp(), and LoseFocus().
bool vcl::Window::CompatPreNotify | ( | NotifyEvent & | rNEvt | ) |
Definition at line 3915 of file window.cxx.
References mpWindowImpl, and PreNotify().
Referenced by ImplCallPreNotify().
void vcl::Window::CompatStateChanged | ( | StateChangedType | nStateChange | ) |
Definition at line 3899 of file window.cxx.
References mpWindowImpl, and StateChanged().
Referenced by RadioButton::Check(), ImplListBox::Clear(), Enable(), Control::EnableRTL(), ImplCallInitShow(), ImplEnableRTL(), ImplListBox::InsertEntry(), ImplListBox::RemoveEntry(), FixedBitmap::SetBitmap(), SetControlBackground(), SetControlFont(), SetControlForeground(), PushButton::SetDropDown(), FixedImage::SetImage(), RadioButton::SetModeRadioImage(), ImplListBox::SetMRUEntries(), PushButton::SetPressed(), Slider::SetRange(), ScrollBar::SetRange(), Edit::SetReadOnly(), ListBox::SetReadOnly(), RadioButton::SetState(), PushButton::SetState(), SetStyle(), PushButton::SetSymbol(), SetText(), Slider::SetThumbPos(), ScrollBar::SetThumbPos(), SetUpdateMode(), ScrollBar::SetVisibleSize(), SetZoom(), Show(), and SpinField::StateChanged().
|
virtual |
Reimplemented in HeaderBar, SvtIconChoiceCtrl, SvHeaderTabListBox, SvTreeListBox, IconView, ImplPopupFloatWin, MenuBarWindow, and MenuFloatingWindow.
Definition at line 78 of file accessibility.cxx.
References GetComponentInterface().
Referenced by ImplPopupFloatWin::CreateAccessible(), and GetAccessible().
|
virtual |
Reimplemented in DockingWindow, HeaderBar, VclDrawingArea, NotebookBar, Splitter, SplitWindow, StatusBar, TabControl, TabPage, ToolBox, PushButton, CheckBox, RadioButton, ComboBox, Dialog, Edit, MetricField, MetricBox, DateField, FixedText, FixedLine, FixedBitmap, FixedImage, FloatingWindow, SvtIconChoiceCtrl, ListBox, ScrollBar, ScrollBarBox, SpinField, SvTreeListBox, VclMultiLineEdit, ImplBorderWindow, Calendar, vcl::HyperLabel, ImplListBoxWindow, Slider, DecoToolBox, MenuBarWindow, and MenuFloatingWindow.
Definition at line 36 of file event.cxx.
Referenced by CompatDataChanged(), VclDrawingArea::DataChanged(), NotebookBar::DataChanged(), TabControl::DataChanged(), PushButton::DataChanged(), CheckBox::DataChanged(), RadioButton::DataChanged(), ComboBox::DataChanged(), Dialog::DataChanged(), Edit::DataChanged(), FixedText::DataChanged(), FixedLine::DataChanged(), FixedBitmap::DataChanged(), FixedImage::DataChanged(), FloatingWindow::DataChanged(), SvtIconChoiceCtrl::DataChanged(), ListBox::DataChanged(), ScrollBar::DataChanged(), SvTreeListBox::DataChanged(), VclMultiLineEdit::DataChanged(), Calendar::DataChanged(), ImplListBoxWindow::DataChanged(), Slider::DataChanged(), vcl::WindowOutputDevice::SetSettings(), and UpdateSettings().
|
virtual |
Reimplemented in ToolBox, and ImplBorderWindow.
Definition at line 1843 of file window.cxx.
Referenced by IMPL_LINK_NOARG(), ImplCallFocusChangeActivate(), and SetActivateMode().
vcl::Window::DECL_DLLPRIVATE_LINK | ( | ImplAsyncFocusHdl | , |
void * | , | ||
void | |||
) |
vcl::Window::DECL_DLLPRIVATE_LINK | ( | ImplGenerateMouseMoveHdl | , |
void * | , | ||
void | |||
) |
vcl::Window::DECL_DLLPRIVATE_LINK | ( | ImplHandlePaintHdl | , |
Timer * | , | ||
void | |||
) |
vcl::Window::DECL_DLLPRIVATE_LINK | ( | ImplHandleResizeTimerHdl | , |
Timer * | , | ||
void | |||
) |
References GetFrameWeld().
vcl::Window::DECL_DLLPRIVATE_LINK | ( | ImplTrackTimerHdl | , |
Timer * | , | ||
void | |||
) |
void vcl::Window::DecModalCount | ( | ) |
Definition at line 3617 of file window.cxx.
References GetParent(), and mpWindowImpl.
Referenced by MenuFloatingWindow::End(), and Dialog::ImplSetModalInputMode().
|
virtual |
Reimplemented in VclDrawingArea, and Edit.
Definition at line 3812 of file window.cxx.
References Selection::Max(), and Selection::Min().
Referenced by VclDrawingArea::DeleteSurroundingText(), and ImplHandleSalDeleteSurroundingTextRequest().
|
inline |
Definition at line 892 of file window.hxx.
References Enable.
|
overrideprotectedvirtual |
This is intended to be used to clear any locally held references to other Window-subclass objects.
Reimplemented from VclReferenceBase.
Reimplemented in Control, DockingWindow, DropdownDockingWindow, ResizableDockingWindow, InterimItemWindow, VclPaned, NotebookBar, Splitter, SplitWindow, StatusBar, SystemChildWindow, SystemWindow, TabControl, TabPage, ToolBox, Button, RadioButton, CalendarField, ComboBox, Dialog, Edit, MetricField, MetricBox, DateField, FixedText, FloatingWindow, FormattedField, SvtIconChoiceCtrl, ListBox, MenuButton, ScrollBar, SpinField, SvTabListBox, SvHeaderTabListBox, SvTreeListBox, TextWindow, VclMultiLineEdit, WorkWindow, ImplBorderWindow, Calendar, DropdownBox, HelpTextWindow, ImplListBoxWindow, ImplListBox, ImplListBoxFloatingWindow, ManagedMenuButton, MessageDialog, NotebookbarPopup, PriorityMergedHBox, ImplWheelWindow, VerticalTabControl, vcl::RoadmapWizard, ImplCFieldFloatWin, MenuBarWindow, and MenuFloatingWindow.
Definition at line 140 of file window.cxx.
References Application::Abort(), CallEventListeners(), SalInstance::DestroyFrame(), VclReferenceBase::dispose(), VclPtr< reference_type >::disposeAndClear(), EndExtTextInput(), EndTracking(), Exception, VclPtr< reference_type >::get(), GetAccessibleParentWindow(), GetOutDev(), GetParent(), GetStyle(), SystemWindow::GetTaskPaneList(), GetText(), UnoWrapperBase::GetUnoWrapper(), GrabFocus(), Hide(), ImplDestroyHelpWindow(), OutputDevice::ImplDisposeCanvas(), ImplGetDockingManager(), ImplGetFirstOverlapWindow(), ImplGetOwnerDrawList(), ImplGetSVData(), ImplGetSVHelpData(), ImplIsAccessibleCandidate(), ImplIsAccessibleNativeFrame(), SystemWindow::ImplIsInTaskPaneList(), ImplIsOverlapWindow(), ImplIsRealParentPath(), ImplRemoveWindow(), IsEnabled(), IsInModalMode(), IsInputEnabled(), IsMouseCaptured(), IsSystemWindow(), list_mnemonic_labels(), ImplSVData::maFrameData, ImplWinData::maTopWindowChildren, ImplSVFrameData::mpActiveApplicationFrame, ImplSVData::mpDefInst, ImplSVWinData::mpExtTextInputWin, ImplSVFrameData::mpFirstFrame, ImplSVWinData::mpFocusWin, ImplSVWinData::mpLastDeacWin, ImplSVWinData::mpLastWheelWindow, ImplSVWinData::mpTrackWin, ImplSVData::mpWinData, mpWindowImpl, ObjectDying, p, OutputDevice::ReleaseGraphics(), ReleaseMouse(), remove_from_all_size_groups(), remove_mnemonic_label(), Application::RemoveMouseAndKeyEvents(), Application::RemoveUserEvent(), DockingManager::RemoveWindow(), TaskPaneList::RemoveWindow(), SAL_WARN, SAL_WARN_IF, WB_OWNERDRAWDECORATION, WindowChildDestroyed, and UnoWrapperBase::WindowDestroyed().
Referenced by VclPaned::dispose(), TabPage::dispose(), ImplBorderWindow::dispose(), DropdownBox::dispose(), PriorityMergedHBox::dispose(), and VerticalTabControl::dispose().
|
virtual |
Definition at line 1833 of file window.cxx.
void vcl::Window::DrawSelectionBackground | ( | const tools::Rectangle & | rRect, |
sal_uInt16 | highlight, | ||
bool | bChecked, | ||
bool | bDrawBorder | ||
) |
Definition at line 3466 of file window.cxx.
References abs(), COL_BLACK(), COL_GRAY(), COL_LIGHTGRAY(), COL_WHITE(), OutputDevice::DrawRect(), OutputDevice::DrawTransparent(), GetBackgroundColor(), StyleSettings::GetFaceColor(), OutputDevice::GetFillColor(), StyleSettings::GetHighlightColor(), OutputDevice::GetLineColor(), Color::GetLuminance(), GetOutDev(), GetSettings(), AllSettings::GetStyleSettings(), h, Color::HSBtoRGB(), Color::IsDark(), tools::Rectangle::IsEmpty(), Color::RGBtoHSB(), OutputDevice::SetFillColor(), and OutputDevice::SetLineColor().
Referenced by ImplDrawBrdWinSymbolButton(), and PaintHelper::~PaintHelper().
|
virtual |
Dumps itself and potentially its children to a property tree, to be written easily to JSON.
Reimplemented in VclBox, VclButtonBox, VclGrid, VclDrawingArea, TabControl, ToolBox, Button, PushButton, CheckBox, RadioButton, ComboBox, MetricField, FormattedField, ListBox, VclMultiLineEdit, Dialog, Edit, SelectableFixedText, FixedLine, FixedImage, SvTabListBox, SvHeaderTabListBox, IconView, and vcl::RoadmapWizard.
Definition at line 3365 of file window.cxx.
References get_id(), GetText(), GetType(), IsEnabled(), IsVisible(), mpWindowImpl, tools::JsonWriter::put(), tools::JsonWriter::startArray(), and tools::JsonWriter::startStruct().
Referenced by VclBox::DumpAsPropertyTree(), VclGrid::DumpAsPropertyTree(), VclDrawingArea::DumpAsPropertyTree(), TabControl::DumpAsPropertyTree(), ToolBox::DumpAsPropertyTree(), Button::DumpAsPropertyTree(), ComboBox::DumpAsPropertyTree(), ListBox::DumpAsPropertyTree(), VclExpander::DumpAsPropertyTree(), Dialog::DumpAsPropertyTree(), Edit::DumpAsPropertyTree(), FixedLine::DumpAsPropertyTree(), FixedImage::DumpAsPropertyTree(), SvTabListBox::DumpAsPropertyTree(), IconView::DumpAsPropertyTree(), vcl::RoadmapWizard::DumpAsPropertyTree(), vcl::lok::dumpState(), and SalInstanceWidget::get_property_tree().
void vcl::Window::Enable | ( | bool | bEnable = true , |
bool | bChild = true |
||
) |
Definition at line 2437 of file window.cxx.
References BORDERWINDOW, CallEventListeners(), Cancel, CompatStateChanged(), Enable, Enable(), EndTracking(), HasFocus(), ImplDlgCtrlNextWindow(), ImplGenerateMouseMove(), ImplGetSVData(), VclReferenceBase::isDisposed(), IsMouseCaptured(), IsReallyVisible(), IsTracking(), ImplSVWinData::mpFocusWin, ImplBorderWindow::mpMenuBarWindow, ImplSVData::mpWinData, mpWindowImpl, ReleaseMouse(), WindowDisabled, and WindowEnabled.
Referenced by ImpVclMEdit::Enable(), Enable(), ToolBox::EnableItem(), set_property(), SalInstanceWidget::set_sensitive(), ListBox::StateChanged(), SpinField::StateChanged(), ImplListBox::StateChanged(), and Button::statusChanged().
void vcl::Window::EnableAllResize | ( | ) |
Definition at line 1056 of file window2.cxx.
References mpWindowImpl.
void vcl::Window::EnableAlwaysOnTop | ( | bool | bEnable = true | ) |
Definition at line 594 of file stacking.cxx.
References IsReallyVisible(), mpWindowImpl, and ToTop().
void vcl::Window::EnableChildPointerOverwrite | ( | bool | bOverwrite | ) |
Definition at line 498 of file mouse.cxx.
References ImplGetMousePointer(), ImplTestMousePointerSet(), and mpWindowImpl.
void vcl::Window::EnableChildTransparentMode | ( | bool | bEnable = true | ) |
Definition at line 1061 of file window2.cxx.
References mpWindowImpl.
Referenced by FixedLine::ApplySettings(), FixedBitmap::ApplySettings(), FixedImage::ApplySettings(), StatusBar::ApplySettings(), Dialog::ApplySettings(), FixedText::ApplySettings(), HelpTextWindow::ApplySettings(), TabControl::ImplInit(), TabPage::ImplInit(), TabPage::ImplInitSettings(), Dialog::ImplInitSettings(), Slider::ImplInitSettings(), TabControl::ImplInitSettings(), PushButton::ImplInitSettings(), CheckBox::ImplInitSettings(), RadioButton::ImplInitSettings(), ToolBox::ImplInitSettings(), PaintToDevice(), and VclContainer::VclContainer().
void vcl::Window::EnableClipSiblings | ( | bool | bClipSiblings = true | ) |
Definition at line 158 of file window/clipping.cxx.
References mpWindowImpl.
void vcl::Window::EnableDocking | ( | bool | bEnable = true | ) |
Definition at line 842 of file window2.cxx.
References DockingManager::AddWindow(), ImplGetDockingManager(), and DockingManager::RemoveWindow().
Referenced by SalInstancePopover::ImplPopDown(), SalInstancePopover::popup_at_rect(), SalInstanceToolbar::set_item_popover(), and CalendarField::ShowDropDown().
void vcl::Window::EnableInput | ( | bool | bEnable, |
const vcl::Window * | pExcludeWindow | ||
) |
Definition at line 2551 of file window.cxx.
References EnableInput(), ImplGetFirstOverlapWindow(), ImplGetSVData(), ImplIsFloatingWindow(), ImplIsWindowOrChild(), ImplSVData::maFrameData, ImplSVFrameData::mpFirstFrame, and mpWindowImpl.
void vcl::Window::EnableInput | ( | bool | bEnable = true , |
bool | bChild = true |
||
) |
Definition at line 2497 of file window.cxx.
References AlwaysInputEnabled, BORDERWINDOW, Cancel, EnableInput(), EndTracking(), ImplGenerateMouseMove(), ImplGetSVData(), IsMouseCaptured(), IsReallyVisible(), IsTracking(), ImplSVWinData::mpFocusWin, ImplBorderWindow::mpMenuBarWindow, ImplSVData::mpWinData, mpWindowImpl, and ReleaseMouse().
Referenced by AlwaysEnableInput(), EnableInput(), Dialog::ImplSetModalInputMode(), and Dialog::ImplStartExecute().
void vcl::Window::EnableMapMode | ( | bool | bEnable = true | ) |
Definition at line 105 of file window3.cxx.
References OutputDevice::EnableMapMode(), and GetOutDev().
Referenced by SalInstanceWidget::DoRecursivePaint(), ScrollBar::MouseButtonDown(), and ScrollBar::Tracking().
void vcl::Window::EnableNativeWidget | ( | bool | bEnable = true | ) |
Definition at line 3682 of file window.cxx.
References CompatDataChanged(), EnableNativeWidget(), GetOutDev(), ImplGetWinData(), ImplWinData::mbEnableNativeWidget, mpWindowImpl, SETTINGS, and STYLE.
Referenced by SalInstanceScrolledWindow::customize_scrollbars(), EnableNativeWidget(), and Show().
void vcl::Window::EnablePaint | ( | bool | bEnable | ) |
Definition at line 1202 of file window2.cxx.
References mpWindowImpl.
|
virtual |
Reimplemented in Control, and SvTreeListBox.
Definition at line 216 of file window3.cxx.
References OutputDevice::EnableRTL(), and GetOutDev().
Referenced by SalInstanceWidget::set_direction(), and TextView::TextView().
void vcl::Window::EndAutoScroll | ( | ) |
Definition at line 370 of file window2.cxx.
References VclPtr< reference_type >::disposeAndClear(), VclPtr< reference_type >::get(), ImplGetSVData(), ImplWheelWindow::ImplStop(), ImplSVData::maAppData, ImplSVWinData::mnAutoScrollFlags, ImplSVWinData::mpAutoScrollWin, ImplSVAppData::mpWheelWindow, ImplSVData::mpWinData, and NONE.
Referenced by ImplHandleClose(), ImplHandleKey(), ImplHandleLoseFocus(), ImplHandleMouseEvent(), ImplWheelWindow::MouseButtonUp(), and StartAutoScroll().
void vcl::Window::EndExtTextInput | ( | ) |
Definition at line 2110 of file window.cxx.
References Complete, SalFrame::EndExtTextInput(), ImplGetFrame(), and mpWindowImpl.
Referenced by dispose(), IMPL_LINK_NOARG(), ImplGrabFocus(), and ImplHandleMouseEvent().
|
static |
Definition at line 394 of file window2.cxx.
References GrabFocus(), and VclReferenceBase::isDisposed().
void vcl::Window::EndTracking | ( | TrackingEventFlags | nFlags = TrackingEventFlags::NONE | ) |
Definition at line 293 of file window2.cxx.
References End, VclPtr< reference_type >::get(), GetOutDev(), ImplFrameToOutput(), ImplGetSVData(), ImplSVWinData::mnTrackFlags, ImplSVWinData::mpTrackTimer, ImplSVWinData::mpTrackWin, ImplSVData::mpWinData, mpWindowImpl, NONE, Point, ReleaseMouse(), OutputDevice::ReMirror(), and Tracking().
Referenced by CaptureMouse(), dispose(), Edit::dragGestureRecognized(), Enable(), EnableInput(), ToolBox::EndSelection(), PushButton::EndSelection(), SvxIconChoiceCtrl_Impl::HandleScrollCommand(), ToolBox::ImplFloatControl(), ImplHandleClose(), ImplHandleKey(), ImplHandleLoseFocus(), ImplHandleMouseEvent(), ImplLOKHandleMouseEvent(), Dialog::ImplStartExecute(), ToolBox::SetItemDown(), Edit::SetSelection(), StartTracking(), ScrollBar::Tracking(), and Slider::Tracking().
void vcl::Window::EnterWait | ( | ) |
Definition at line 601 of file mouse.cxx.
References ImplGetMousePointer(), ImplTestMousePointerSet(), and mpWindowImpl.
Referenced by SalInstanceWidget::set_busy_cursor().
void vcl::Window::Erase | ( | vcl::RenderContext & | rRenderContext | ) |
Definition at line 1595 of file paint.cxx.
References OutputDevice::DrawNativeControl(), OutputDevice::DrawWallpaper(), ENABLED, Entire, OutputDevice::Erase(), GetOutDev(), GetOutputSizePixel(), OutputDevice::GetRasterOp(), ImplGetWindowImpl(), IsControlBackground(), IsEnabled(), WindowImpl::mnNativeBackground, OutputDevice::mpAlphaVDev, NONE, nState, OverPaint, Point, OutputDevice::SetRasterOp(), and WindowBackground.
Referenced by MenuBarWindow::HighlightItem(), ImplPaintToDevice(), MenuBarWindow::Paint(), and PushPaintHelper().
|
virtual |
Reimplemented in Control, DockingWindow, SystemWindow, TabControl, ToolBox, ComboBox, Dialog, MetricField, MetricBox, DateField, FloatingWindow, FormattedField, SpinField, VclMultiLineEdit, ImplListBox, and vcl::RoadmapWizard.
Definition at line 104 of file event.cxx.
References tools::Rectangle::Contains(), First, MouseEvent::GetClicks(), vcl::KeyCode::GetCode(), StyleSettings::GetDockingFloatsSupported(), DockingManager::GetDockingWindowWrapper(), ImplDockingWindowWrapper::GetDragArea(), GETFOCUS, KeyEvent::GetKeyCode(), NotifyEvent::GetKeyEvent(), vcl::KeyCode::GetModifier(), NotifyEvent::GetMouseEvent(), MouseEvent::GetPosPixel(), GetStyle(), NotifyEvent::GetType(), NotifyEvent::GetWindow(), GrabFocusOnly, ImplControlFocus(), ImplDlgCtrl(), ImplDlgCtrlFocusChanged(), ImplDockingWindowWrapper::ImplEnableStartDocking(), ImplGetDlgWindow(), ImplGetDockingManager(), ImplIsOverlapWindow(), ImplDockingWindowWrapper::ImplStartDocking(), ImplDockingWindowWrapper::ImplStartDockingEnabled(), VclReferenceBase::isDisposed(), ImplDockingWindowWrapper::IsDocking(), ImplDockingWindowWrapper::IsFloatingMode(), MouseEvent::IsLeft(), ImplDockingWindowWrapper::IsLocked(), MouseEvent::IsMod1(), vcl::KeyCode::IsMod1(), vcl::KeyCode::IsShift(), KEY_F10, KEYINPUT, KEYUP, LOSEFOCUS, MOUSEBUTTONDOWN, MOUSEMOVE, mpWindowImpl, OutputToScreenPixel(), Point, ScreenToOutputPixel(), ImplDockingWindowWrapper::SetFloatingMode(), ToTop(), WantFocus, WB_DIALOGCONTROL, WB_DOCKABLE, WB_NODIALOGCONTROL, and WB_TABSTOP.
Referenced by InterimItemWindow::ChildKeyInput(), CompatNotify(), Control::EventNotify(), InterimItemWindow::GetFocus(), MouseButtonDown(), MouseButtonUp(), and MouseMove().
void vcl::Window::ExpandPaintClipRegion | ( | const vcl::Region & | rRegion | ) |
Definition at line 91 of file window/clipping.cxx.
References GetOutDev(), ImplGetWinChildClipRegion(), OutputDevice::ImplPixelToDevicePixel(), vcl::Region::Intersect(), vcl::Region::IsEmpty(), LogicToPixel(), OutputDevice::mbInitClipRegion, mpWindowImpl, and OutputDevice::ReMirror().
|
static |
Find an existing Window based on the LOKWindowId.
Definition at line 3209 of file window.cxx.
References end.
sal_Int32 vcl::Window::get_border_width | ( | ) | const |
Definition at line 1888 of file window2.cxx.
References WindowImpl::mnBorderWidth, and mpWindowImpl.
Referenced by VclContainer::setLayoutPosSize(), VclContainer::SetPosPixel(), and VclContainer::SetSizePixel().
bool vcl::Window::get_expand | ( | ) | const |
Definition at line 1786 of file window2.cxx.
References WindowImpl::mbExpand, and mpWindowImpl.
Referenced by VclVBox::getPrimaryDimensionChildExpand(), VclHBox::getPrimaryDimensionChildExpand(), VclVButtonBox::getPrimaryDimensionChildExpand(), VclHButtonBox::getPrimaryDimensionChildExpand(), VclVPaned::setAllocation(), and VclHPaned::setAllocation().
bool vcl::Window::get_fill | ( | ) | const |
Definition at line 1822 of file window2.cxx.
References WindowImpl::mbFill, and mpWindowImpl.
Referenced by VclBox::setAllocation().
sal_Int32 vcl::Window::get_grid_height | ( | ) | const |
Definition at line 1858 of file window2.cxx.
References WindowImpl::mnGridHeight, and mpWindowImpl.
sal_Int32 vcl::Window::get_grid_left_attach | ( | ) | const |
Definition at line 1846 of file window2.cxx.
References WindowImpl::mnGridLeftAttach, and mpWindowImpl.
Referenced by SalInstanceWidget::get_grid_left_attach(), and VclBuilder::sortIntoBestTabTraversalOrder::operator()().
sal_Int32 vcl::Window::get_grid_top_attach | ( | ) | const |
Definition at line 1870 of file window2.cxx.
References WindowImpl::mnGridTopAttach, and mpWindowImpl.
Referenced by SalInstanceWidget::get_grid_top_attach(), and VclBuilder::sortIntoBestTabTraversalOrder::operator()().
sal_Int32 vcl::Window::get_grid_width | ( | ) | const |
Definition at line 1834 of file window2.cxx.
References WindowImpl::mnGridWidth, and mpWindowImpl.
VclAlign vcl::Window::get_halign | ( | ) | const |
Definition at line 1738 of file window2.cxx.
References WindowImpl::meHalign, and mpWindowImpl.
Referenced by VclContainer::setLayoutAllocation().
sal_Int32 vcl::Window::get_height_request | ( | ) | const |
Definition at line 1958 of file window2.cxx.
References WindowImpl::mnHeightRequest, and mpWindowImpl.
Referenced by VclBuilder::cleanupWidgetOwnScrolling(), SalInstanceWidget::get_size_request(), get_ungrouped_preferred_size(), and VclBuilder::VclBuilder().
bool vcl::Window::get_hexpand | ( | ) | const |
Definition at line 1762 of file window2.cxx.
References WindowImpl::mbHexpand, and mpWindowImpl.
Referenced by calcMaxs(), SalInstanceWidget::get_hexpand(), VclHBox::getPrimaryDimensionChildExpand(), and VclHButtonBox::getPrimaryDimensionChildExpand().
const OUString & vcl::Window::get_id | ( | ) | const |
Get the ID of the window.
Definition at line 3936 of file window.cxx.
References mpWindowImpl.
Referenced by MenuButton::CancelMenu(), DumpAsPropertyTree(), TabControl::DumpAsPropertyTree(), Dialog::DumpAsPropertyTree(), FixedImage::DumpAsPropertyTree(), vcl::RoadmapWizard::DumpAsPropertyTree(), WindowUIObject::dumpState(), MenuButton::ExecuteMenu(), WindowUIObject::get_action(), ButtonUIObject::get_action(), EditUIObject::get_action(), CheckBoxUIObject::get_action(), RadioButtonUIObject::get_action(), ListBoxUIObject::get_action(), ComboBoxUIObject::get_action(), SpinFieldUIObject::get_action(), TabControlUIObject::get_action(), ToolBoxUIObject::get_action(), SalInstanceWidget::get_buildable_name(), WindowUIObject::get_children(), WindowUIObject::get_state(), DockingWindow::GetFloatingPos(), PushButton::ImplDrawPushButtonContent(), Dialog::ImplStartExecute(), UITestLogger::logAction(), UITestLogger::logKeyInput(), Dialog::Resize(), MenuButton::Select(), VerticalTabControl::SetCurPageId(), and Dialog::StateChanged().
sal_Int32 vcl::Window::get_margin_bottom | ( | ) | const |
Definition at line 1952 of file window2.cxx.
References WindowImpl::mnMarginBottom, and mpWindowImpl.
Referenced by SalInstanceWidget::get_margin_bottom(), VclVPaned::setAllocation(), VclContainer::setLayoutPosSize(), and VclContainer::SetSizePixel().
sal_Int32 vcl::Window::get_margin_end | ( | ) | const |
Definition at line 1920 of file window2.cxx.
References WindowImpl::mnMarginRight, and mpWindowImpl.
Referenced by SalInstanceWidget::get_margin_end(), VclHPaned::setAllocation(), VclContainer::setLayoutPosSize(), and VclContainer::SetSizePixel().
sal_Int32 vcl::Window::get_margin_start | ( | ) | const |
Definition at line 1904 of file window2.cxx.
References WindowImpl::mnMarginLeft, and mpWindowImpl.
Referenced by SalInstanceWidget::get_margin_start(), VclHPaned::setAllocation(), VclContainer::setLayoutPosSize(), VclContainer::SetPosPixel(), and VclContainer::SetSizePixel().
sal_Int32 vcl::Window::get_margin_top | ( | ) | const |
Definition at line 1936 of file window2.cxx.
References WindowImpl::mnMarginTop, and mpWindowImpl.
Referenced by SalInstanceWidget::get_margin_top(), VclVPaned::setAllocation(), VclContainer::setLayoutPosSize(), VclContainer::SetPosPixel(), and VclContainer::SetSizePixel().
bool vcl::Window::get_non_homogeneous | ( | ) | const |
Definition at line 1982 of file window2.cxx.
References WindowImpl::mbNonHomogeneous, and mpWindowImpl.
VclPackType vcl::Window::get_pack_type | ( | ) | const |
Definition at line 1798 of file window2.cxx.
References WindowImpl::mePackType, and mpWindowImpl.
Referenced by VclBuilder::sortIntoBestTabTraversalOrder::operator()().
sal_Int32 vcl::Window::get_padding | ( | ) | const |
Definition at line 1810 of file window2.cxx.
References WindowImpl::mnPadding, and mpWindowImpl.
Referenced by VclBox::setAllocation().
Size vcl::Window::get_preferred_size | ( | ) | const |
Definition at line 1707 of file window2.cxx.
References Both, eMode, get_ungrouped_preferred_size(), Size::Height(), Horizontal, IsVisible(), WindowImpl::m_xSizeGroup, mpWindowImpl, NONE, Size::setHeight(), Size::setWidth(), Vertical, and Size::Width().
Referenced by SalInstanceWidget::get_preferred_size(), SalInstanceScrolledWindow::get_scroll_thickness(), VclContainer::getLayoutRequisition(), ToolBox::GetOptimalSize(), FloatingWindow::ImplCalcPos(), VerticalTabControl::InsertPage(), VclBuilder::makeObject(), ToolBox::Resize(), SalInstancePopover::resize_to_request(), SalInstanceWindow::set_centered_on_parent(), SalInstanceAssistant::set_current_page(), DockingWindow::setOptimalLayoutSize(), and MessageDialog::StateChanged().
bool vcl::Window::get_secondary | ( | ) | const |
Definition at line 1970 of file window2.cxx.
References WindowImpl::mbSecondary, and mpWindowImpl.
Referenced by VclBuilder::sortIntoBestTabTraversalOrder::operator()().
|
private |
Definition at line 1685 of file window2.cxx.
References get_height_request(), get_width_request(), GetOptimalSize(), Size::Height(), WindowImpl::mnOptimalHeightCache, WindowImpl::mnOptimalWidthCache, mpWindowImpl, Size::setHeight(), Size::setWidth(), and Size::Width().
Referenced by get_preferred_size().
VclAlign vcl::Window::get_valign | ( | ) | const |
Definition at line 1750 of file window2.cxx.
References WindowImpl::meValign, and mpWindowImpl.
Referenced by VclContainer::setLayoutAllocation().
bool vcl::Window::get_vexpand | ( | ) | const |
Definition at line 1774 of file window2.cxx.
References WindowImpl::mbVexpand, and mpWindowImpl.
Referenced by calcMaxs(), SalInstanceWidget::get_vexpand(), VclVBox::getPrimaryDimensionChildExpand(), and VclVButtonBox::getPrimaryDimensionChildExpand().
sal_Int32 vcl::Window::get_width_request | ( | ) | const |
Definition at line 1964 of file window2.cxx.
References WindowImpl::mnWidthRequest, and mpWindowImpl.
Referenced by VclBuilder::cleanupWidgetOwnScrolling(), SalInstanceDialog::collapse(), SalInstanceWidget::get_size_request(), get_ungrouped_preferred_size(), CheckBox::GetOptimalSize(), SvTreeListBox::ModelNotification(), and VclBuilder::VclBuilder().
css::uno::Reference< css::accessibility::XAccessible > vcl::Window::GetAccessible | ( | bool | bCreate = true | ) |
Definition at line 58 of file accessibility.cxx.
References CreateAccessible(), and mpWindowImpl.
Referenced by SvtIconChoiceCtrl::CreateAccessible(), SvHeaderTabListBox::CreateAccessible(), SvTreeListBox::CreateAccessible(), SalInstanceDrawingArea::get_accessible_parent(), SalInstanceDrawingArea::get_accessible_relation_set(), SvHeaderTabListBox::GetAccessible(), and IMPL_LINK_NOARG().
vcl::Window * vcl::Window::GetAccessibleChildWindow | ( | sal_uInt16 | n | ) |
Definition at line 181 of file accessibility.cxx.
References BORDERWINDOW, GetChild(), GetChildCount(), GetType(), Menu::GetWindow(), IsVisible(), MENUBARWINDOW, mpWindowImpl, n, SAL_WARN_IF, and WORKWINDOW.
sal_uInt16 vcl::Window::GetAccessibleChildWindowCount | ( | ) |
Definition at line 145 of file accessibility.cxx.
References BORDERWINDOW, SystemWindow::GetMenuBar(), GetType(), Menu::GetWindow(), IsVisible(), ImplBorderWindow::mpMenuBarWindow, mpWindowImpl, and WORKWINDOW.
OUString vcl::Window::GetAccessibleDescription | ( | ) | const |
Definition at line 455 of file accessibility.cxx.
References GetHelpText(), GetType(), HELPTEXTWINDOW, ImplGetWindow(), and mpWindowImpl.
Referenced by SalInstanceWidget::get_accessible_description().
OUString vcl::Window::GetAccessibleName | ( | ) | const |
Definition at line 372 of file accessibility.cxx.
References getDefaultAccessibleName(), and mpWindowImpl.
Referenced by SalInstanceWidget::get_accessible_name(), VclFrame::getDefaultAccessibleName(), and SetAccessibleName().
vcl::Window * vcl::Window::GetAccessibleParentWindow | ( | ) | const |
Definition at line 117 of file accessibility.cxx.
References FLOATINGWINDOW, GetParent(), GetType(), ImplIsAccessibleCandidate(), ImplIsAccessibleNativeFrame(), MENUBARWINDOW, and mpWindowImpl.
Referenced by SvtIconChoiceCtrl::CreateAccessible(), SvTreeListBox::CreateAccessible(), IconView::CreateAccessible(), dispose(), and SvHeaderTabListBox::GetAccessibleParentWindow().
vcl::Window * vcl::Window::GetAccessibleRelationLabeledBy | ( | ) | const |
Definition at line 522 of file accessibility.cxx.
References getLegacyNonLayoutAccessibleRelationLabeledBy(), GetParent(), isContainerWindow(), list_mnemonic_labels(), and mpWindowImpl.
Referenced by SalInstanceDrawingArea::get_accessible_relation_set(), GetActivationKey(), getDefaultAccessibleName(), and SalInstanceWidget::set_accessible_relation_labeled_by().
vcl::Window * vcl::Window::GetAccessibleRelationLabelFor | ( | ) | const |
Definition at line 509 of file accessibility.cxx.
References getAccessibleRelationLabelFor(), getLegacyNonLayoutAccessibleRelationLabelFor(), GetParent(), and isContainerWindow().
Referenced by SetText().
|
protectedvirtual |
Reimplemented in FixedText.
Definition at line 501 of file accessibility.cxx.
References mpWindowImpl.
Referenced by GetAccessibleRelationLabelFor(), and FixedText::getAccessibleRelationLabelFor().
vcl::Window * vcl::Window::GetAccessibleRelationMemberOf | ( | ) | const |
Definition at line 493 of file accessibility.cxx.
References getLegacyNonLayoutAccessibleRelationMemberOf(), GetParent(), and isContainerWindow().
Referenced by SalInstanceDrawingArea::get_accessible_relation_set().
sal_uInt16 vcl::Window::GetAccessibleRole | ( | ) | const |
Definition at line 349 of file accessibility.cxx.
References getDefaultAccessibleRole(), and mpWindowImpl.
ActivateModeFlags vcl::Window::GetActivateMode | ( | ) | const |
Definition at line 1176 of file window2.cxx.
References mpWindowImpl.
Referenced by ImplBorderWindow::Deactivate(), ImplActivateFloatingWindows(), and ImplCallFocusChangeActivate().
KeyEvent vcl::Window::GetActivationKey | ( | ) | const |
Definition at line 1112 of file dlgctrl.cxx.
References getAccel(), GetAccessibleRelationLabeledBy(), GetText(), KEY_0, KEY_A, KEY_POINT, KEY_SUBTRACT, and nCode.
const Wallpaper & vcl::Window::GetBackground | ( | ) | const |
Definition at line 63 of file window3.cxx.
References OutputDevice::GetBackground(), and GetOutDev().
Referenced by FixedLine::ApplySettings(), FixedBitmap::ApplySettings(), FixedImage::ApplySettings(), FixedText::ApplySettings(), PaintHelper::DoPaint(), HeaderBar::Draw(), TabPage::Draw(), Dialog::Draw(), ImplListBoxWindow::DrawEntry(), GetDisplayBackground(), ImplCallResize(), Calendar::ImplFormat(), StatusBar::ImplInitSettings(), TabPage::ImplInitSettings(), Slider::ImplInitSettings(), TabControl::ImplInitSettings(), CheckBox::ImplInitSettings(), RadioButton::ImplInitSettings(), SvxIconChoiceCtrl_Impl::MakeVisible(), vcl::PaintBufferGuard::PaintBufferGuard(), SvtIconChoiceCtrl::SetBackground(), SvxIconChoiceCtrl_Impl::ShowFocus(), SvInplaceEdit2::SvInplaceEdit2(), and UpdateSettings().
Color vcl::Window::GetBackgroundColor | ( | ) | const |
Definition at line 214 of file window3.cxx.
References OutputDevice::GetBackgroundColor(), and GetOutDev().
Referenced by DrawSelectionBackground(), vcl::RenderTools::DrawSelectionBackground(), and ImplSmallBorderWindowView::DrawWindow().
void vcl::Window::GetBorder | ( | sal_Int32 & | rLeftBorder, |
sal_Int32 & | rTopBorder, | ||
sal_Int32 & | rRightBorder, | ||
sal_Int32 & | rBottomBorder | ||
) | const |
Definition at line 2428 of file window.cxx.
References mpWindowImpl.
Referenced by ComboBox::CalcAdjustedSize(), ListBox::CalcAdjustedSize(), VclMultiLineEdit::CalcAdjustedSize(), VclMultiLineEdit::CalcBlockSize(), ImplListBoxFloatingWindow::CalcFloatSize(), VclMultiLineEdit::CalcMinimumSize(), SalInstanceTreeView::get_height_rows(), vcl::WindowOutputDevice::GetDeviceInfo(), SvTreeListBox::GetOptimalSize(), ComboBox::ImplCalcEditHeight(), ImplWin::ImplDraw(), ListBox::ImplInit(), DockingWindow::ImplStartDocking(), ImplDockingWindowWrapper::ImplStartDocking(), PopupMenu::PrepareRun(), DockingWindow::SetFloatingMode(), and FloatingWindow::SetTitleType().
WindowBorderStyle vcl::Window::GetBorderStyle | ( | ) | const |
Definition at line 2038 of file window.cxx.
References BORDERWINDOW, GetBorderStyle(), mpWindowImpl, and NONE.
Referenced by GetBorderStyle().
vcl::Window * vcl::Window::GetChild | ( | sal_uInt16 | nChild | ) | const |
Definition at line 1017 of file stacking.cxx.
References mpWindowImpl.
Referenced by NotebookbarPopup::ApplyBackground(), vcl::RoadmapWizard::DumpAsPropertyTree(), WindowUIObject::dumpState(), SalInstanceNotebook::get_page(), GetAccessibleChildWindow(), PriorityHBox::GetChildrenWithPriorities(), PriorityMergedHBox::GetHiddenCount(), DropdownBox::HideContent(), OptionalBox::HideContent(), NotebookbarPopup::hideSeparators(), TabPage::lcl_Scroll(), NotebookbarPopup::PopupModeEnd(), NotebookbarPopup::RemoveBackground(), NotebookBar::Resize(), PriorityMergedHBox::Resize(), ContextVBox::SetContext(), DropdownBox::ShowContent(), and OptionalBox::ShowContent().
sal_uInt16 vcl::Window::GetChildCount | ( | ) | const |
Definition at line 1001 of file stacking.cxx.
References mpWindowImpl.
Referenced by vcl::RoadmapWizard::DumpAsPropertyTree(), WindowUIObject::dumpState(), ToolBox::EventNotify(), GetAccessibleChildWindow(), PriorityHBox::GetChildrenWithPriorities(), PriorityMergedHBox::GetHiddenCount(), DropdownBox::HideContent(), OptionalBox::HideContent(), NotebookbarPopup::hideSeparators(), TabPage::lcl_Scroll(), SvTreeListBox::NextEntry(), NotebookbarPopup::PopupModeEnd(), PriorityMergedHBox::Resize(), ContextVBox::SetContext(), DropdownBox::ShowContent(), and OptionalBox::ShowContent().
Reference< XClipboard > vcl::Window::GetClipboard | ( | ) |
Definition at line 3448 of file window.cxx.
References GetSystemClipboard(), and mpWindowImpl.
Referenced by Edit::Command(), Edit::Copy(), TransferableHelper::CopyToClipboard(), TransferableDataHelper::CreateFromSystemClipboard(), SalInstanceWidget::get_clipboard(), and Edit::Paste().
|
virtual |
Definition at line 3152 of file window.cxx.
References UnoWrapperBase::GetUnoWrapper(), UnoWrapperBase::GetWindowInterface(), and mpWindowImpl.
Referenced by CallEventListeners(), CreateAccessible(), SvtIconChoiceCtrl::CreateAccessible(), SvTreeListBox::CreateAccessible(), IconView::CreateAccessible(), SalInstanceWindow::GetXWindow(), vcl::WindowOutputDevice::ImplGetCanvas(), and IsTopWindow().
const Color & vcl::Window::GetControlBackground | ( | ) | const |
Definition at line 1121 of file window2.cxx.
References mpWindowImpl.
Referenced by ToolBox::ApplyBackgroundSettings(), ApplyControlBackground(), FixedLine::ApplySettings(), FixedBitmap::ApplySettings(), FixedImage::ApplySettings(), StatusBar::ApplySettings(), Dialog::ApplySettings(), Edit::ApplySettings(), FixedText::ApplySettings(), VclMultiLineEdit::ApplySettings(), vcl::HyperLabel::ApplySettings(), ImplListBoxWindow::ApplySettings(), ImplWin::ApplySettings(), vcl::HyperLabel::DataChanged(), PushButton::Draw(), ComboBox::Draw(), Edit::Draw(), FixedText::Draw(), ListBox::Draw(), ScrollBar::Draw(), VclMultiLineEdit::Draw(), ImplWin::ImplDraw(), PushButton::ImplDrawPushButtonContent(), PushButton::ImplDrawPushButtonFrame(), DockingWindow::ImplInitSettings(), SplitWindow::ImplInitSettings(), TabPage::ImplInitSettings(), Dialog::ImplInitSettings(), FloatingWindow::ImplInitSettings(), Slider::ImplInitSettings(), TabControl::ImplInitSettings(), CheckBox::ImplInitSettings(), RadioButton::ImplInitSettings(), VclMultiLineEdit::ImplInitSettings(), Edit::ImplRepaint(), SalInstanceWidget::set_background(), SalFlashAttention::Start(), ComboBox::StateChanged(), ListBox::StateChanged(), SpinField::StateChanged(), and ImplListBox::StateChanged().
vcl::Font vcl::Window::GetControlFont | ( | ) | const |
Definition at line 470 of file window2.cxx.
References mpWindowImpl.
Referenced by ApplyControlFont(), vcl::HyperLabel::MouseMove(), set_font_attribute(), SalInstanceTextView::set_monospace(), ComboBox::StateChanged(), ListBox::StateChanged(), SpinField::StateChanged(), ImplListBox::StateChanged(), and VclBuilder::VclBuilder().
const Color & vcl::Window::GetControlForeground | ( | ) | const |
Definition at line 1111 of file window2.cxx.
References mpWindowImpl.
Referenced by ApplyControlForeground(), ToolBox::ApplyForegroundSettings(), StatusBar::ApplySettings(), VclMultiLineEdit::ApplySettings(), vcl::RenderTools::DrawSelectionBackground(), ImplWin::ImplDraw(), PushButton::ImplDrawPushButtonContent(), VclMultiLineEdit::ImplInitSettings(), ComboBox::StateChanged(), ListBox::StateChanged(), SpinField::StateChanged(), and ImplListBox::StateChanged().
vcl::Cursor * vcl::Window::GetCursor | ( | ) | const |
Definition at line 1242 of file window2.cxx.
References mpWindowImpl.
Referenced by Edit::Command(), Edit::dispose(), Edit::dragGestureRecognized(), ImplHandleExtTextInputPos(), Edit::ImplRepaint(), and Edit::ImplShowCursor().
tools::Long vcl::Window::GetCursorExtTextInputWidth | ( | ) | const |
Definition at line 2144 of file window.cxx.
References ImplGetWinData(), and ImplWinData::mnCursorExtWidth.
Referenced by ImplHandleExtTextInputPos().
const tools::Rectangle * vcl::Window::GetCursorRect | ( | ) | const |
Definition at line 2137 of file window.cxx.
References ImplGetWinData(), and ImplWinData::mpCursorRect.
Referenced by ImplHandleExtTextInputPos().
|
protectedvirtual |
Definition at line 382 of file accessibility.cxx.
References COMBOBOX, CURRENCYBOX, CURRENCYFIELD, DATEBOX, DATEFIELD, EDIT, FORMATTEDFIELD, GetAccessibleRelationLabeledBy(), GetHelpText(), GetQuickHelpText(), GetText(), GetType(), IMAGEBUTTON, LISTBOX, LONGCURRENCYBOX, METRICBOX, METRICFIELD, MOREBUTTON, mpWindowImpl, MULTILINEEDIT, MULTILISTBOX, PATTERNFIELD, PUSHBUTTON, removeMnemonicFromString(), SPINFIELD, TIMEBOX, TIMEFIELD, TOOLBOX, and TREELISTBOX.
Referenced by GetAccessibleName().
|
protectedvirtual |
Reimplemented in VclContainer, and VclBox.
Definition at line 232 of file accessibility.cxx.
References BORDERWINDOW, BUTTONDIALOG, CANCELBUTTON, CHECKBOX, COMBOBOX, CONTROL, CURRENCYBOX, CURRENCYFIELD, DATEBOX, DATEFIELD, DIALOG, DOCKINGWINDOW, EDIT, ERRORBOX, FIXEDBITMAP, FIXEDIMAGE, FIXEDLINE, FIXEDTEXT, FLOATINGWINDOW, FORMATTEDFIELD, GetStyle(), GetText(), GetType(), GROUPBOX, HELPBUTTON, HELPTEXTWINDOW, IMAGEBUTTON, ImplGetWindow(), ImplIsAccessibleNativeFrame(), INFOBOX, IsMenuFloatingWindow(), IsScrollable(), LISTBOX, LONGCURRENCYBOX, MENUBUTTON, MESSBOX, METRICBOX, METRICFIELD, MODELESSDIALOG, MOREBUTTON, mpWindowImpl, MULTILINEEDIT, MULTILISTBOX, NUMERICBOX, OKBUTTON, PATTERNBOX, PATTERNFIELD, PUSHBUTTON, QUERYBOX, RADIOBUTTON, RULER, SCROLLBAR, SCROLLBARBOX, SCROLLWINDOW, SLIDER, SPINBUTTON, SPINFIELD, SPLITTER, SPLITWINDOW, STATUSBAR, SYSTEMCHILDWINDOW, TABCONTROL, TABDIALOG, TABPAGE, TIMEBOX, TIMEFIELD, TOOLBOX, TREELISTBOX, TRISTATEBOX, WARNINGBOX, WB_OWNERDRAWDECORATION, WINDOW, and WORKWINDOW.
Referenced by GetAccessibleRole().
tools::Rectangle vcl::Window::GetDesktopRectPixel | ( | ) | const |
Definition at line 2803 of file window.cxx.
References mpWindowImpl.
Referenced by ImplListBoxFloatingWindow::CalcFloatSize(), SalInstanceWindow::get_monitor_workarea(), FloatingWindow::ImplCalcPos(), ToolBox::ImplGetPopupPosition(), ImplSetHelpWindowPos(), and DockingWindow::setOptimalLayoutSize().
DialogControlFlags vcl::Window::GetDialogControlFlags | ( | ) | const |
Definition at line 1096 of file window2.cxx.
References mpWindowImpl.
Referenced by FloatingWindow::dispose(), ImplDlgCtrl(), and ImplGrabFocus().
|
virtual |
Reimplemented in ComboBox, ListBox, and ImplListBox.
Definition at line 3074 of file window.cxx.
References COL_TRANSPARENT(), GetBackground(), Wallpaper::GetColor(), ToolBox::ImplGetToolBoxPrivateData(), IsBackground(), Wallpaper::IsBitmap(), Wallpaper::IsGradient(), IsNativeWidgetEnabled(), ImplToolBoxPrivateData::maDisplayBackground, and mpWindowImpl.
Referenced by vcl::WindowOutputDevice::GetBackgroundColor(), ComboBox::GetDisplayBackground(), and ImplListBox::GetDisplayBackground().
|
virtual |
Reimplemented in Control, and ToolBox.
Definition at line 3068 of file window.cxx.
References GetText().
Referenced by WindowUIObject::get_state().
|
static |
Definition at line 837 of file window2.cxx.
References ImplGetDockingManager().
Referenced by MenuButton::CancelMenu(), DockingWindow::EventNotify(), MenuButton::ExecuteMenu(), SalInstanceToolbar::get_menu_item_active(), IMPL_LINK(), FloatingWindow::ImplEndPopupMode(), SalInstancePopover::ImplPopDown(), MenuButton::InPopupMode(), SalInstancePopover::popup_at_rect(), SalInstancePopover::resize_to_request(), SalInstanceToolbar::set_menu_item_active(), CalendarField::ShowDropDown(), DockingWindow::Tracking(), and SalInstancePopover::~SalInstancePopover().
float vcl::Window::GetDPIScaleFactor | ( | ) | const |
Definition at line 122 of file window3.cxx.
References OutputDevice::GetDPIScaleFactor(), and GetOutDev().
Referenced by StatusBar::InsertItem(), SvxIconChoiceCtrl_Impl::SetDefaultTextSize(), and SvxIconChoiceCtrl_Impl::SvxIconChoiceCtrl_Impl().
Reference< css::datatransfer::dnd::XDragGestureRecognizer > vcl::Window::GetDragGestureRecognizer | ( | ) |
Definition at line 737 of file mouse.cxx.
References GetDropTarget().
Referenced by Edit::dispose(), DNDEventDispatcher::fireDragGestureEvent(), Edit::ImplInit(), and TextView::TextView().
Reference< css::datatransfer::dnd::XDragSource > vcl::Window::GetDragSource | ( | ) |
Definition at line 711 of file mouse.cxx.
References SalInstance::CreateDragSource(), SalInstance::CreateDropTarget(), Exception, GetSystemData(), ImplGetSVData(), ImplSVData::mpDefInst, and mpWindowImpl.
Referenced by GetDropTarget(), ImplHandleMouseEvent(), ImplLOKHandleMouseEvent(), and TransferableHelper::StartDrag().
tools::Long vcl::Window::GetDrawPixel | ( | ::OutputDevice const * | pDev, |
tools::Long | nPixels | ||
) | const |
Definition at line 595 of file window2.cxx.
References aMap, OutputDevice::GetOutDevType(), OutputDevice::LogicToPixel(), OUTDEV_WINDOW, PixelToLogic(), and Size::Width().
Referenced by ComboBox::Draw(), Edit::Draw(), ListBox::Draw(), VclMultiLineEdit::Draw(), SpinField::ImplCalcButtonAreas(), and Button::ImplDrawRadioCheck().
vcl::Font vcl::Window::GetDrawPixelFont | ( | ::OutputDevice const * | pDev | ) | const |
Definition at line 585 of file window2.cxx.
References vcl::Font::GetFontSize(), GetOutDev(), GetPointFont(), OutputDevice::LogicToPixel(), and vcl::Font::SetFontSize().
Referenced by HeaderBar::Draw(), PushButton::Draw(), CheckBox::Draw(), RadioButton::Draw(), ComboBox::Draw(), Edit::Draw(), FixedText::Draw(), and ListBox::Draw().
Reference< css::datatransfer::dnd::XDropTarget > vcl::Window::GetDropTarget | ( | ) |
Definition at line 651 of file mouse.cxx.
References GetDragSource(), and mpWindowImpl.
Referenced by SvTreeListBox::AcceptDrop(), Edit::dispose(), DNDEventDispatcher::fireDragEnterEvent(), DNDEventDispatcher::fireDragExitEvent(), DNDEventDispatcher::fireDragOverEvent(), DNDEventDispatcher::fireDropActionChangedEvent(), DNDEventDispatcher::fireDropEvent(), SalInstanceWidget::get_drop_target(), GetDragGestureRecognizer(), Edit::ImplInit(), ListBox::ImplInit(), ImplStartDnd(), SetParent(), and TextView::TextView().
WindowExtendedStyle vcl::Window::GetExtendedStyle | ( | ) | const |
Definition at line 1002 of file window2.cxx.
References mpWindowImpl, and NONE.
|
virtual |
Reimplemented in InterimItemWindow, Splitter, TabControl, PushButton, CheckBox, RadioButton, Edit, SvtIconChoiceCtrl, ListBox, ScrollBar, SvTreeListBox, TextWindow, VclMultiLineEdit, Calendar, vcl::HyperLabel, ImplListBoxWindow, ImplListBox, ImplWin, ImplCFieldFloatWin, and MenuBarWindow.
Definition at line 1845 of file window.cxx.
References CompatNotify(), GETFOCUS, HasFocus(), VclReferenceBase::isDisposed(), mpWindowImpl, and WantFocus.
Referenced by CompatGetFocus(), TabControl::GetFocus(), PushButton::GetFocus(), CheckBox::GetFocus(), RadioButton::GetFocus(), Edit::GetFocus(), SvtIconChoiceCtrl::GetFocus(), ListBox::GetFocus(), ScrollBar::GetFocus(), SvTreeListBox::GetFocus(), Calendar::GetFocus(), ImplListBoxWindow::GetFocus(), ImplListBox::GetFocus(), ImplWin::GetFocus(), and ImplCFieldFloatWin::GetFocus().
VclPtr< vcl::Window > vcl::Window::GetFocusedWindow | ( | ) | const |
Definition at line 2998 of file window.cxx.
References mpWindowImpl.
Referenced by SalInstanceWindow::help().
const Font & vcl::Window::GetFont | ( | ) | const |
Definition at line 58 of file window3.cxx.
References OutputDevice::GetFont(), and GetOutDev().
Referenced by SvTreeListBox::CalcEntryHeight(), IconView::CalcEntryHeight(), CalcTitleWidth(), Edit::Command(), TextWindow::Command(), TabControl::GetFocus(), PushButton::GetFocus(), CheckBox::GetFocus(), RadioButton::GetFocus(), Edit::GetFocus(), Menu::ImplCalcSize(), TabControl::ImplGetTabRect(), Edit::ImplHandleKeyEvent(), StatusBar::ImplInitSettings(), VclMultiLineEdit::ImplInitSettings(), ImplPaintToDevice(), SvTreeListBox::InitTreeView(), SvLBoxString::InitViewData(), TextWindow::KeyInput(), BubbleWindow::Paint(), vcl::PaintBufferGuard::PaintBufferGuard(), BubbleWindow::RecalcTextRects(), SvtIconChoiceCtrl::SetBackground(), SvTreeListBox::SetEntryHeight(), SvtIconChoiceCtrl::SetFont(), SvTreeListBox::SetFont(), ListBox::StateChanged(), and SvInplaceEdit2::SvInplaceEdit2().
weld::Window * vcl::Window::GetFrameWeld | ( | ) | const |
Definition at line 887 of file window2.cxx.
References SalFrame::GetFrameWeld(), and ImplGetFrame().
Referenced by Edit::Command(), TextWindow::Command(), Application::GetDefDialogParent(), SalInstance::GetFrameWeld(), weld::GetPopupParent(), Edit::ImplHandleKeyEvent(), Edit::ImplPaste(), TopLevelWindowLocker::incBusy(), TextWindow::KeyInput(), and Printer::Setup().
vcl::Window * vcl::Window::GetFrameWindow | ( | ) | const |
Definition at line 893 of file window2.cxx.
References SalFrame::GetWindow(), and ImplGetFrame().
Referenced by SalFrame::GetFrameWeld(), and weld::GetPopupParent().
GetFocusFlags vcl::Window::GetGetFocusFlags | ( | ) | const |
Definition at line 1227 of file window2.cxx.
References mpWindowImpl.
Referenced by ToolBox::EventNotify(), and Edit::GetFocus().
const OString & vcl::Window::GetHelpId | ( | ) | const |
Definition at line 862 of file window2.cxx.
References mpWindowImpl.
Referenced by Dialog::add_button(), SalInstanceBuilder::create_screenshot_window(), Dialog::DumpAsPropertyTree(), vcl::RoadmapWizard::DumpAsPropertyTree(), SalInstanceBuilder::get_current_page_help_id(), SalInstanceWidget::get_help_id(), GetHelpText(), SalInstanceWindow::help(), SalInstanceWidget::help_hierarchy_foreach(), TabControl::ImplChangeTabPage(), VclBuilder::insertObject(), VclBuilder::makeObject(), and RequestHelp().
const OUString & vcl::Window::GetHelpText | ( | ) | const |
Definition at line 3097 of file window.cxx.
References FLOATINGWINDOW, Application::GetHelp(), GetHelpId(), Help::GetHelpText(), IsDialog(), mpWindowImpl, and TABPAGE.
Referenced by GetAccessibleDescription(), getDefaultAccessibleName(), RequestHelp(), HeaderBar::RequestHelp(), StatusBar::RequestHelp(), TabControl::RequestHelp(), and ToolBox::RequestHelp().
KeyIndicatorState vcl::Window::GetIndicatorState | ( | ) | const |
Query the states of keyboard indicators - Caps Lock, Num Lock and Scroll Lock.
Use the following mask to retrieve the state of each indicator:
KeyIndicatorState::CAPS_LOCK KeyIndicatorState::NUM_LOCK KeyIndicatorState::SCROLL_LOCK
Definition at line 1799 of file window.cxx.
References mpWindowImpl.
const InputContext & vcl::Window::GetInputContext | ( | ) | const |
Definition at line 1101 of file window2.cxx.
References mpWindowImpl.
Referenced by ImplHandleExtTextInputPos(), and ImplNewInputContext().
LanguageType vcl::Window::GetInputLanguage | ( | ) | const |
Definition at line 3677 of file window.cxx.
References mpWindowImpl.
Point vcl::Window::GetLastPointerPosPixel | ( | ) |
Definition at line 552 of file mouse.cxx.
References GetOutDev(), ImplFrameToOutput(), mpWindowImpl, Point, and OutputDevice::ReMirror().
Referenced by SplitWindow::PreNotify(), TabControl::PreNotify(), CheckBox::PreNotify(), RadioButton::PreNotify(), ScrollBar::PreNotify(), and SpinField::PreNotify().
|
protected |
Definition at line 164 of file legacyaccessibility.cxx.
References CHECKBOX, GetType(), ImplGetFrameWindow(), vcl::ImplGetLabeledBy(), mpWindowImpl, and RADIOBUTTON.
Referenced by GetAccessibleRelationLabeledBy().
|
protected |
Definition at line 91 of file legacyaccessibility.cxx.
References getAccel(), GetStyle(), GetText(), GetType(), ImplGetFrameWindow(), ImplGetLabelFor(), mpWindowImpl, WB_DIALOGCONTROL, and WB_NODIALOGCONTROL.
Referenced by GetAccessibleRelationLabelFor().
|
protected |
Definition at line 185 of file legacyaccessibility.cxx.
References CANCELBUTTON, FIXEDLINE, GetParent(), GetType(), GROUPBOX, HELPBUTTON, ImplFindDlgCtrlWindow(), ImplGetChildWindow(), ImplGetFrameWindow(), IsVisible(), nIndex, OKBUTTON, and PUSHBUTTON.
Referenced by GetAccessibleRelationMemberOf().
const vcl::ILibreOfficeKitNotifier * vcl::Window::GetLOKNotifier | ( | ) | const |
Definition at line 3255 of file window.cxx.
References mpWindowImpl.
Referenced by Dialog::dispose(), Dialog::EndDialog(), SalInstanceWindow::GetLOKNotifier(), GetParentWithLOKNotifier(), Dialog::ImplStartExecute(), Control::LogicInvalidate(), vcl::Cursor::LOKNotify(), PixelInvalidate(), PopupMenu::PrepareRun(), Dialog::Resize(), vcl::DocWindow::SetPointer(), Dialog::StateChanged(), and FloatingWindow::StateChanged().
vcl::LOKWindowId vcl::Window::GetLOKWindowId | ( | ) | const |
Definition at line 3260 of file window.cxx.
References mpWindowImpl.
Referenced by Dialog::dispose(), Dialog::EndDialog(), Dialog::ImplStartExecute(), vcl::Cursor::LOKNotify(), PixelInvalidate(), FloatingWindow::PixelInvalidate(), Dialog::Resize(), Dialog::StateChanged(), and FloatingWindow::StateChanged().
const MapMode & vcl::Window::GetMapMode | ( | ) | const |
Definition at line 99 of file window3.cxx.
References OutputDevice::GetMapMode(), and GetOutDev().
Referenced by SvxIconChoiceCtrl_Impl::AdjustScrollBars(), SvImpLBox::AdjustScrollBars(), SvxIconChoiceCtrl_Impl::CheckHorScrollBar(), SvxIconChoiceCtrl_Impl::CheckVerScrollBar(), SvImpLBox::Clear(), SalInstanceWidget::DoRecursivePaint(), SvTreeListBox::EditItemText(), SvImpLBox::EntryReallyHit(), SvImpLBox::GetClipRegionRect(), SvTreeListBox::GetFocusRect(), SvTreeListBox::GetItem_Impl(), SvTreeListBox::GetItemPos(), SvxIconChoiceCtrl_Impl::GetOutputRect(), SvImpLBox::GetVisibleArea(), FloatingWindow::ImplCalcPos(), ImplInitResolutionSettings(), ImplPaintToDevice(), SvImpLBox::IsNodeButton(), SvImpLBox::KeyLeftRight(), SvxIconChoiceCtrl_Impl::MakeVisible(), ScrollBar::MouseButtonDown(), SvTreeListBox::MouseButtonUp(), vcl::PaintBufferGuard::PaintBufferGuard(), SvxIconChoiceCtrl_Impl::RequestHelp(), SvxIconChoiceCtrl_Impl::Scroll(), SvImpLBox::SetMostRight(), SvxIconChoiceCtrl_Impl::SetOrigin(), SvImpLBox::ShowVerSBar(), SvxIconChoiceCtrl_Impl::ToDocPos(), ScrollBar::Tracking(), and vcl::PaintBufferGuard::~PaintBufferGuard().
bool vcl::Window::GetNativeControlRegion | ( | ControlType | nType, |
ControlPart | nPart, | ||
const tools::Rectangle & | rControlRegion, | ||
ControlState | nState, | ||
const ImplControlValue & | aValue, | ||
tools::Rectangle & | rNativeBoundingRegion, | ||
tools::Rectangle & | rNativeContentRegion | ||
) | const |
Query the native control's actual drawing region (including adornment)
Definition at line 79 of file window3.cxx.
References OutputDevice::GetNativeControlRegion(), GetOutDev(), nState, and nType.
Referenced by ListBox::CalcMinimumSize(), Edit::CalcMinimumSizeForText(), SpinField::CalcMinimumSizeForText(), StatusBar::CalcWindowSizePixel(), ComboBox::getMaxWidthScrollBarAndDownButton(), CheckBox::ImplAdjustNWFSizes(), RadioButton::ImplAdjustNWFSizes(), ScrollBar::ImplCalc(), Slider::ImplCalc(), SpinField::ImplCalcButtonAreas(), ComboBox::ImplCalcEditHeight(), ToolBox::ImplCalcItem(), StatusBar::ImplCalcProgressRect(), Menu::ImplCalcSize(), CheckBox::ImplGetCheckImageSize(), TabControl::ImplGetItemSize(), RadioButton::ImplGetRadioImageSize(), ListBox::ImplInit(), ImplInitAppFontData(), PushButton::ImplSetDefButton(), Slider::ImplUpdateRects(), ImplSmallBorderWindowView::Init(), ListBox::Resize(), and SpinField::Resize().
Point vcl::Window::GetOffsetPixelFrom | ( | const vcl::Window & | rWindow | ) | const |
Definition at line 1197 of file window2.cxx.
References GetOutOffXPixel(), GetOutOffYPixel(), and Point.
|
protectedvirtual |
Reimplemented in Control, DockingWindow, HeaderBar, InterimItemWindow, VclContainer, NotebookBar, Splitter, SystemChildWindow, SystemWindow, TabControl, TabPage, ToolBox, PushButton, CheckBox, RadioButton, ComboBox, Edit, FixedText, FixedLine, FixedImage, ListBox, ScrollBar, SpinField, SvTreeListBox, ImplBorderWindow, and Calendar.
Definition at line 26 of file window3.cxx.
Referenced by get_ungrouped_preferred_size(), SystemChildWindow::GetOptimalSize(), SystemWindow::GetOptimalSize(), and ImplBorderWindow::GetOptimalSize().
OutputDevice * vcl::Window::GetOutDev | ( | ) |
Definition at line 572 of file window.cxx.
References mpWindowImpl.
OutputDevice const * vcl::Window::GetOutDev | ( | ) | const |
Definition at line 567 of file window.cxx.
References mpWindowImpl.
Referenced by SvTreeListBox::ApplySettings(), MenuFloatingWindow::ApplySettings(), approximate_char_width(), approximate_digit_width(), CalcTitleWidth(), SvImpLBox::Clear(), Edit::Command(), Edit::DataChanged(), FixedText::DataChanged(), FixedLine::DataChanged(), FixedBitmap::DataChanged(), FixedImage::DataChanged(), ListBox::DataChanged(), ImplListBoxWindow::DataChanged(), MenuBarWindow::DataChanged(), MenuFloatingWindow::DataChanged(), dispose(), PaintHelper::DoPaint(), SalInstanceWidget::DoRecursivePaint(), DrawSelectionBackground(), DecorationView::DrawSeparator(), ImplSmallBorderWindowView::DrawWindow(), VclDrawingArea::DumpAsPropertyTree(), EnableMapMode(), EnableNativeWidget(), EnableRTL(), Control::EnableRTL(), MenuFloatingWindow::EnableScrollMenu(), EndTracking(), Erase(), ExpandPaintClipRegion(), FixedText::FillLayoutData(), ImplListBoxWindow::FillLayoutData(), ImplWin::FillLayoutData(), DNDEventDispatcher::findTopLevelWindow(), SalInstanceComboBoxWithEdit::get_entry_font(), SalInstanceEntryTreeView::get_entry_font(), SalInstanceWidget::get_font(), SalInstanceDrawingArea::get_ref_device(), GetBackground(), GetBackgroundColor(), Application::GetDefaultDevice(), GetDPIScaleFactor(), GetDrawPixelFont(), GetFont(), SvHeaderTabListBox::GetGlyphBoundRects(), GetLastPointerPosPixel(), GetMapMode(), GetNativeControlRegion(), GetOutOffXPixel(), GetOutOffYPixel(), GetOutputRectPixel(), GetOutputSizePixel(), GetOverlineColor(), GetPaintRegion(), GetPointerPosPixel(), GetPointerState(), vcl::PaintBufferGuard::GetRenderContext(), GetSettings(), GetSizePixel(), GetTextAlign(), GetTextColor(), GetTextFillColor(), GetTextHeight(), GetTextLineColor(), GetTextRect(), GetTextWidth(), GetWindowClipRegionPixel(), SalInstanceComboBoxWithEdit::HandleEventListener(), HelpTextWindow::HelpTextWindow(), CheckBox::ImplAdjustNWFSizes(), RadioButton::ImplAdjustNWFSizes(), ToolBox::ImplCalcItem(), ImplCalcOverlapRegion(), Menu::ImplCalcSize(), ImplCallPaint(), ImplChangeTipTimeout(), OutputDevice::ImplClearAllFontData(), FloatingWindow::ImplConvertToAbsPos(), FloatingWindow::ImplConvertToRelPos(), ImplCursorInvert(), ScrollBar::ImplDoMouseAction(), ScrollBar::ImplDragThumb(), FixedLine::ImplDraw(), ImplWin::ImplDraw(), ToolBox::ImplDrawBackground(), ToolBox::ImplDrawItem(), ImplExcludeWindowRegion(), Menu::ImplFillLayoutData(), ScrollBar::ImplFindPartRect(), StatusBar::ImplFormat(), ImplFrameToOutput(), Edit::ImplGetCharPos(), ToolBox::ImplGetDragWidth(), TabControl::ImplGetItemSize(), ImplGetUnmirroredOutOffX(), ImplHandleExtTextInputPos(), ImplHandleKey(), ToolBox::ImplHandleMouseButtonUp(), ImplHandleMouseEvent(), ImplHandleSalQueryCharPosition(), ImplHitTest(), StatusBar::ImplInit(), Edit::ImplInit(), FixedText::ImplInit(), FixedLine::ImplInit(), FixedBitmap::ImplInit(), FixedImage::ImplInit(), SpinField::ImplInit(), ImplInit(), ImplInitResolutionSettings(), StatusBar::ImplInitSettings(), Calendar::ImplInitSettings(), VclMultiLineEdit::ImplInitSettings(), HeaderBar::ImplInitSettings(), ToolBox::ImplInitSettings(), MenuBarWindow::ImplInitStyleSettings(), ImplBorderWindowView::ImplInitTitle(), VirtualDevice::ImplInitVirDev(), ImplInitWinClipRegion(), ImplIntersectWindowRegion(), ImplInvalidate(), ScrollBar::ImplInvert(), HeaderBar::ImplInvertDrag(), Splitter::ImplKbdTracking(), ImplListBoxWindow::ImplListBoxWindow(), ImplNewInputContext(), ImplOutputToFrame(), Edit::ImplPaintBorder(), ImplPaintToDevice(), GDIMetaFile::ImplPlayWithRenderer(), ImplPosSizeWindow(), ImplRemoveWindow(), Edit::ImplRepaint(), ImplResetReallyVisible(), Splitter::ImplRestoreSplitter(), ImplScroll(), ImplSetClipFlag(), ImplSetClipFlagChildren(), ImplSetReallyVisible(), Edit::ImplShowCursor(), Edit::ImplShowDDCursor(), TabControl::ImplShowFocus(), Splitter::ImplSplitterActive(), Splitter::ImplStartKbdSplitting(), ImplSysObjClip(), ImplUpdateAll(), ImplListBoxWindow::ImplUpdateEntryMetrics(), OutputDevice::ImplUpdateFontDataForAllFrames(), ImplUpdatePos(), ImplUpdateSysObjPos(), ImplUpdateWindowPtr(), SvTreeListBox::InitSettings(), SvTreeListBox::InitTreeView(), ImplBorderWindow::InitView(), SvLBoxString::InitViewData(), SvLBoxButton::InitViewData(), SvImpLBox::Invalidate(), Invalidate(), InvertTracking(), IsBackground(), IsMapModeEnabled(), IsNativeControlSupported(), IsOverlineColor(), IsRTLEnabled(), IsTextFillColor(), IsTextLineColor(), MenuBarWindow::LayoutChanged(), LogicInvalidate(), LogicToLogic(), LogicToPixel(), vcl::Cursor::LOKNotify(), MenuFloatingWindow::MenuFloatingWindow(), ScrollBar::MouseButtonDown(), NormalizedScreenToOutputPixel(), OutputToNormalizedScreenPixel(), OutputToScreenPixel(), vcl::PaintBufferGuard::PaintBufferGuard(), SvImpLBox::PaintDDCursor(), PaintImmediately(), PixelInvalidate(), PixelToLogic(), PopPaintHelper(), ScrollBar::PreNotify(), SpinField::PreNotify(), PushPaintHelper(), SvImpLBox::RecalcFocusRect(), RecordLayoutData(), SpinField::Resize(), ImplBorderWindow::Resize(), MenuFloatingWindow::Resize(), ScreenToOutputPixel(), Scroll(), SvxIconChoiceCtrl_Impl::SelectRect(), set_font_attribute(), SalInstanceTextView::set_monospace(), SetBackground(), ImplBorderWindow::SetCloseButton(), ImplBorderWindow::SetDockButton(), SetFont(), HelpTextWindow::SetHelpText(), ImplBorderWindow::SetHideButton(), ToolBox::SetItemDown(), StatusBar::SetItemText(), ToolBox::SetItemText(), SetMapMode(), ImplBorderWindow::SetMenuButton(), SetOverlineColor(), SetPointerPosPixel(), SvtIconChoiceCtrl::SetPointFont(), setPosSizePixel(), Application::SetSettings(), SetSettings(), vcl::WindowOutputDevice::SetSettings(), SetTextAlign(), SetTextColor(), SetTextFillColor(), SetTextLineColor(), SvImpLBox::ShowCursor(), PushButton::ShowFocus(), CheckBox::ShowFocus(), RadioButton::ShowFocus(), ImplWin::ShowFocus(), WorkWindow::ShowFullScreenMode(), Splitter::Splitter(), ImplListBoxFloatingWindow::StartFloat(), Edit::StateChanged(), FixedText::StateChanged(), FixedLine::StateChanged(), FixedBitmap::StateChanged(), FixedImage::StateChanged(), ImplListBoxWindow::StateChanged(), MenuBarWindow::StateChanged(), MenuFloatingWindow::StateChanged(), SvtIconChoiceCtrl::SvtIconChoiceCtrl(), TextView::TextView(), ScrollBar::Tracking(), NotebookBar::UpdateBackground(), ImplBorderWindow::UpdateView(), Validate(), and vcl::PaintBufferGuard::~PaintBufferGuard().
tools::Long vcl::Window::GetOutOffXPixel | ( | ) | const |
Definition at line 123 of file window3.cxx.
References GetOutDev(), and OutputDevice::GetOutOffXPixel().
Referenced by GetOffsetPixelFrom(), ImplHandleExtTextInputPos(), vcl::Cursor::LOKNotify(), vcl::PaintBufferGuard::PaintBufferGuard(), PixelInvalidate(), Application::PostGestureEvent(), and Application::PostMouseEvent().
tools::Long vcl::Window::GetOutOffYPixel | ( | ) | const |
Definition at line 124 of file window3.cxx.
References GetOutDev(), and OutputDevice::GetOutOffYPixel().
Referenced by GetOffsetPixelFrom(), ImplHandleExtTextInputPos(), ImplPaintToDevice(), vcl::Cursor::LOKNotify(), vcl::PaintBufferGuard::PaintBufferGuard(), PixelInvalidate(), Application::PostGestureEvent(), and Application::PostMouseEvent().
tools::Rectangle vcl::Window::GetOutputRectPixel | ( | ) | const |
Definition at line 91 of file window3.cxx.
References GetOutDev(), and OutputDevice::GetOutputRectPixel().
Referenced by GetWindowClipRegionPixel(), ImplCalcToTop(), ImplExcludeWindowRegion(), ImplHitTest(), ImplInitWinClipRegion(), ImplIntersectWindowRegion(), ImplInvalidate(), ImplPosSizeWindow(), ImplScroll(), ImplSysObjClip(), ImplValidate(), ImplValidateFrameRegion(), InvertTracking(), Scroll(), SetWindowRegionPixel(), and SetZOrder().
Size vcl::Window::GetOutputSizePixel | ( | ) | const |
Definition at line 89 of file window3.cxx.
References GetOutDev(), and OutputDevice::GetOutputSizePixel().
Referenced by vcl::BufferDevice::BufferDevice(), SvxIconChoiceCtrl_Impl::Clear(), Edit::Command(), TextWindow::Command(), ImplBorderWindow::DataChanged(), vcl::BufferDevice::Dispose(), ImplWin::DrawEntry(), ImplListBoxWindow::DrawEntry(), VclDrawingArea::DumpAsPropertyTree(), SpinField::EndDropDown(), Erase(), SpinField::EventNotify(), DrawingAreaUIObject::execute(), FixedText::FillLayoutData(), ImplListBoxWindow::GetDisplayLineCount(), ListBox::GetIndexForPoint(), Edit::GetMaxVisChars(), ComboBox::GetMaxVisColumnsAndLines(), ListBox::GetMaxVisColumnsAndLines(), ImpVclMEdit::GetMaxVisColumnsAndLines(), ComboBox::getMaxWidthScrollBarAndDownButton(), MenuBar::GetMenuBarHeight(), IcnGridMap_Impl::GetMinMapSize(), OutputDevice::GetOutputRectPixel(), OutputDevice::GetOutputSize(), DockingWindow::GetOutputSizePixel(), TabControl::GetPageId(), HandleScrollCommand(), MenuBarWindow::HighlightItem(), ImpVclMEdit::ImpInitScrollBars(), Edit::ImplAlign(), ScrollBar::ImplCalc(), Slider::ImplCalc(), SpinField::ImplCalcButtonAreas(), MenuFloatingWindow::ImplCalcClipRegion(), ImplListBoxWindow::ImplCalcMetrics(), ImplCallCommand(), TabControl::ImplChangeTabPage(), ImplListBox::ImplCheckScrollBars(), Edit::ImplClearBackground(), MenuBarWindow::ImplCreatePopup(), MenuFloatingWindow::ImplCursorUpDown(), ScrollBar::ImplDoMouseAction(), ImplListBoxWindow::ImplDoPaint(), FixedLine::ImplDraw(), Calendar::ImplDraw(), Slider::ImplDraw(), CheckBox::ImplDrawCheckBox(), ScrollBar::ImplDrawNative(), PushButton::ImplDrawPushButton(), RadioButton::ImplDrawRadioButton(), MenuFloatingWindow::ImplDrawScroller(), Menu::ImplFillLayoutData(), ScrollBar::ImplFindPartRect(), Calendar::ImplFormat(), MenuBarWindow::ImplGetItemRect(), MenuFloatingWindow::ImplGetItemRect(), TabControl::ImplGetTabRect(), Edit::ImplGetTextYPosition(), ImplGetTopDockingAreaHeight(), MenuFloatingWindow::ImplHighlightItem(), PushButton::ImplHitTestPushButton(), ImplListBox::ImplInitScrollBars(), Slider::ImplIsPageDown(), Slider::ImplIsPageUp(), ImplMouseAutoPos(), SystemWindow::ImplMoveToScreen(), ImplListBoxWindow::ImplPaint(), Edit::ImplPaintBorder(), ImplPaintToDevice(), vcl::RoadmapWizard::ImplPosCtrls(), vcl::RoadmapWizard::ImplPosTabPage(), Edit::ImplRepaint(), ImplListBox::ImplResizeControls(), MenuFloatingWindow::ImplScroll(), Button::ImplSetFocusRect(), Edit::ImplShowCursor(), ImplDockingWindowWrapper::ImplStartDocking(), SplitWindow::ImplStartSplit(), ImplTestMousePointerSet(), ImplUpdateAll(), ImplWheelWindow::ImplWheelWindow(), ImpVclMEdit::ImpUpdateScrollBarVis(), SvxIconChoiceCtrl_Impl::InitScrollBarBox(), ImplBorderWindow::InitView(), ImplBorderWindow::InvalidateBorder(), ScrollBar::MouseButtonDown(), SpinField::MouseButtonDown(), ImplStdBorderWindowView::MouseButtonDown(), MenuFloatingWindow::MouseButtonUp(), ImplListBoxWindow::MouseMove(), ImpVclMEdit::Notify(), HelpTextWindow::Paint(), TabPage::Paint(), FixedText::Paint(), FixedBitmap::Paint(), FixedImage::Paint(), ImplListBoxWindow::Paint(), MenuBarWindow::Paint(), MenuFloatingWindow::Paint(), PaintImmediately(), PushButton::PreNotify(), MenuFloatingWindow::RenderHighlightItem(), TabPage::ResetScrollBars(), SvxIconChoiceCtrl_Impl::ResetVirtSize(), SvxIconChoiceCtrl_Impl::Resize(), ImpVclMEdit::Resize(), HeaderBar::Resize(), StatusBar::Resize(), TabControl::Resize(), ComboBox::Resize(), ListBox::Resize(), SpinField::Resize(), ImplBorderWindow::Resize(), IconView::Resize(), ImplListBoxWindow::Resize(), ImplWin::Resize(), PriorityHBox::Resize(), PriorityMergedHBox::Resize(), MenuBarWindow::Resize(), ImplListBoxWindow::ScrollHorz(), ImplBorderWindow::SetBorderStyle(), ImplBorderWindow::SetCloseButton(), ImplBorderWindow::SetDockButton(), ImplBorderWindow::SetHideButton(), ImplBorderWindow::SetMenuButton(), TabPage::SetPosPixel(), TabControl::SetPosPixel(), VclContainer::SetPosSizePixel(), ImplListBoxFloatingWindow::setPosSizePixel(), FloatingWindow::SetTitleType(), Show(), PushButton::ShowFocus(), ImplListBoxFloatingWindow::StartFloat(), ImplDockingWindowWrapper::Tracking(), ImplStdBorderWindowView::Tracking(), and ImplListBoxWindow::Tracking().
const Color & vcl::Window::GetOverlineColor | ( | ) | const |
Definition at line 118 of file window3.cxx.
References GetOutDev(), and OutputDevice::GetOverlineColor().
Referenced by ImplPaintToDevice(), and vcl::PaintBufferGuard::PaintBufferGuard().
vcl::Region vcl::Window::GetPaintRegion | ( | ) | const |
Definition at line 1127 of file paint.cxx.
References GetOutDev(), vcl::Region::Move(), mpWindowImpl, and PixelToLogic().
Referenced by vcl::WindowOutputDevice::ClipToPaintRegion(), and Edit::ImplPaintBorder().
vcl::Window * vcl::Window::GetParent | ( | ) | const |
Definition at line 1136 of file window2.cxx.
References mpWindowImpl.
Referenced by FixedLine::ApplySettings(), FixedBitmap::ApplySettings(), FixedImage::ApplySettings(), FixedText::ApplySettings(), ImplListBoxFloatingWindow::CalcFloatSize(), ToolBox::CalcMinimumWindowSizePixel(), DecoToolBox::calcMinSize(), CallEventListeners(), InterimItemWindow::ChildKeyInput(), VclContainer::Command(), DecModalCount(), VclFrame::designate_label(), TabControl::dispose(), dispose(), MenuFloatingWindow::doShutdown(), MenuFloatingWindow::End(), DockingWindow::EndDocking(), ImplDockingWindowWrapper::EndDocking(), MenuButton::ExecuteMenu(), SvTreeListBox::FillEntryPath(), GenerateAutoMnemonicsOnHierarchy(), SalInstanceDrawingArea::get_accessible_parent(), WindowUIObject::get_state(), GetAccessibleParentWindow(), GetAccessibleRelationLabeledBy(), GetAccessibleRelationLabelFor(), GetAccessibleRelationMemberOf(), DockingWindow::GetFloatingPos(), InterimItemWindow::GetFocus(), Edit::GetFocus(), ImplWin::GetFocus(), PriorityMergedHBox::GetHiddenCount(), getLegacyNonLayoutAccessibleRelationMemberOf(), getNonLayoutParent(), GetParentDialog(), GetParentWithLOKNotifier(), GetSystemWindow(), SvTabListBox::GetTab(), VclBuilder::handleChild(), MenuBarWindow::HandleKeyEvent(), vcl::HasParentDockingWindow(), SalInstanceWindow::help(), SalInstanceWidget::help_hierarchy_foreach(), IMPL_LINK_NOARG(), Edit::ImplAlign(), ImplCallMove(), TabControl::ImplChangeTabPage(), Edit::ImplClearBackground(), ImplWin::ImplDraw(), PushButton::ImplDrawPushButton(), PushButton::ImplDrawPushButtonContent(), ImplFindAccelWindow(), Splitter::ImplFindSibling(), Edit::ImplGetExtraXOffset(), ImplGetKeyInputWindow(), vcl::ImplGetLastSystemWindow(), Edit::ImplGetNativeControlType(), ImplGrabFocusToDocument(), ImplHandleKey(), ImplHandleLoseFocus(), TabPage::ImplInit(), TabPage::ImplInitSettings(), Slider::ImplInitSettings(), TabControl::ImplInitSettings(), CheckBox::ImplInitSettings(), RadioButton::ImplInitSettings(), ImplIsRealParentPath(), Splitter::ImplKbdTracking(), SystemWindow::ImplMoveToScreen(), ToolBox::ImplOpenItem(), Edit::ImplPaintBorder(), ImplSetHelpWindowPos(), Dialog::ImplSetModalInputMode(), Edit::ImplSetSelection(), ImplShowHelpWindow(), ImplDockingWindowWrapper::ImplStartDocking(), Dialog::ImplStartExecute(), SplitWindow::ImplStartSplit(), Slider::ImplUpdateRects(), Edit::ImplUseNativeBorder(), IncModalCount(), ImplSmallBorderWindowView::Init(), SplitWindow::InsertItem(), isEnabledInLayout(), isVisibleInLayout(), ToolBox::KeyInput(), MenuBarWindow::LayoutChanged(), UITestLogger::logKeyInput(), Edit::LoseFocus(), ImplWin::LoseFocus(), Edit::Modify(), ToolBox::MouseButtonDown(), ImplWheelWindow::MouseButtonUp(), ToolBox::MouseMove(), nextLogicalChildOfParent(), VclBuilder::sortIntoBestTabTraversalOrder::operator()(), TabPage::Paint(), PaintToDevice(), SystemWindow::PreNotify(), PushButton::PreNotify(), ImplListBoxFloatingWindow::PreNotify(), PopupMenu::PrepareRun(), VclBuilder::prepareWidgetOwnScrolling(), prevLogicalChildOfParent(), PriorityHBox::Resize(), PriorityMergedHBox::Resize(), SalInstanceWindow::set_centered_on_parent(), Splitter::SetDragRectPixel(), Dialog::SetModalInputMode(), setPosSizePixel(), ImplListBoxFloatingWindow::setPosSizePixel(), PriorityHBox::SetSizeFromParent(), BubbleWindow::Show(), Show(), CalendarField::ShowDropDown(), ImplWin::ShowFocus(), MenuFloatingWindow::Start(), ImplListBoxFloatingWindow::StartFloat(), FloatingWindow::StartPopupMode(), Edit::StateChanged(), Splitter::Tracking(), and SalInstanceWidget::weld_parent().
ParentClipMode vcl::Window::GetParentClipMode | ( | ) | const |
Definition at line 83 of file window/clipping.cxx.
References mpWindowImpl.
Referenced by ImplClipChildren(), and ImplPaintToDevice().
Dialog * vcl::Window::GetParentDialog | ( | ) | const |
Definition at line 1021 of file window2.cxx.
References GetParent(), and IsDialog().
Referenced by PaintImmediately(), queue_resize(), and VclBuilder::set_response().
VclPtr< vcl::Window > vcl::Window::GetParentWithLOKNotifier | ( | ) |
Find the nearest parent with LOK Notifier; can be itself if this Window has LOK notifier set.
Definition at line 3265 of file window.cxx.
References GetLOKNotifier(), and GetParent().
Referenced by Dialog::ImplLOKNotifier(), vcl::Cursor::LOKNotify(), PixelInvalidate(), FloatingWindow::PixelInvalidate(), PopupMenu::PrepareRun(), queue_resize(), vcl::DocWindow::SetPointer(), and FloatingWindow::StateChanged().
PointerStyle vcl::Window::GetPointer | ( | ) | const |
Definition at line 1286 of file window2.cxx.
References mpWindowImpl.
Referenced by ImplGetMousePointer(), and vcl::DocWindow::SetPointer().
Point vcl::Window::GetPointerPosPixel | ( | ) |
Definition at line 540 of file mouse.cxx.
References GetOutDev(), ImplFrameToOutput(), mpWindowImpl, Point, and OutputDevice::ReMirror().
Referenced by HelpButton::Click(), MenuFloatingWindow::Command(), ToolBox::Docking(), SalInstanceDrawingArea::get_pointer_position(), IMPL_LINK(), IMPL_LINK_NOARG(), ImplCallCommand(), Slider::ImplDraw(), CheckBox::ImplDrawCheckBoxState(), DisclosureButton::ImplDrawCheckBoxState(), SplitWindow::ImplDrawGrip(), TabControl::ImplDrawItem(), ScrollBar::ImplDrawNative(), PushButton::ImplDrawPushButton(), RadioButton::ImplDrawRadioButtonState(), ImplHandleKey(), ImplSetHelpWindowPos(), ImplWheelWindow::ImplSetRegion(), ImplTestMousePointerSet(), vcl::HyperLabel::MouseMove(), SplitWindow::PreNotify(), TabControl::PreNotify(), CheckBox::PreNotify(), RadioButton::PreNotify(), ScrollBar::PreNotify(), SpinField::PreNotify(), Help::ShowQuickHelp(), Splitter::StartDrag(), TransferableHelper::StartDrag(), and Help::UpdatePopover().
Window::PointerState vcl::Window::GetPointerState | ( | ) |
Definition at line 577 of file mouse.cxx.
References GetOutDev(), ImplFrameToOutput(), vcl::Window::PointerState::maPos, SalFrame::SalPointerState::maPos, vcl::Window::PointerState::mnState, SalFrame::SalPointerState::mnState, mpWindowImpl, and OutputDevice::ReMirror().
Referenced by IMPL_LINK_NOARG(), and ImplDockingWindowWrapper::ImplStartDocking().
vcl::Font vcl::Window::GetPointFont | ( | vcl::RenderContext const & | rRenderContext | ) | const |
Definition at line 2184 of file window.cxx.
References OutputDevice::GetFont(), and ImplLogicToPoint().
Referenced by SvTreeListBox::ApplySettings(), SalInstanceComboBoxWithEdit::get_entry_font(), SalInstanceEntryTreeView::get_entry_font(), SalInstanceWidget::get_font(), GetDrawPixelFont(), set_font_attribute(), and SvtIconChoiceCtrl::SetPointFont().
|
virtual |
Reimplemented in DockingWindow.
Definition at line 2798 of file window.cxx.
References mpWindowImpl, and Point.
Referenced by SalInstanceWindow::collect_screenshot_data(), VclContainer::Command(), MenuButton::ExecuteMenu(), SalInstanceWindow::get_position(), WindowUIObject::get_state(), CheckBox::GetFocus(), getLegacyBestSizeForChildren(), ImplDockingWindowWrapper::GetPosPixel(), DockingWindow::GetPosPixel(), ImplWin::ImplDraw(), Splitter::ImplKbdTracking(), ImplScroll(), PushButton::ImplSetDefButton(), Splitter::ImplStartKbdSplitting(), Slider::ImplUpdateRects(), ImplSmallBorderWindowView::Init(), TabPage::lcl_Scroll(), CheckBox::LoseFocus(), ImplStdBorderWindowView::MouseButtonDown(), SvxIconChoiceCtrl_Impl::PositionScrollBars(), RequestHelp(), VclViewport::setAllocation(), SetBorderStyle(), DockingWindow::SetFloatingMode(), ImplDockingWindowWrapper::SetFloatingMode(), VclContainer::SetPosPixel(), ImplListBoxFloatingWindow::setPosSizePixel(), CalendarField::ShowDropDown(), ImplListBoxFloatingWindow::StartFloat(), FloatingWindow::StateChanged(), and ImplStdBorderWindowView::Tracking().
WinBits vcl::Window::GetPrevStyle | ( | ) | const |
Definition at line 997 of file window2.cxx.
References mpWindowImpl.
Referenced by PushButton::StateChanged(), CheckBox::StateChanged(), RadioButton::StateChanged(), FixedText::StateChanged(), FixedLine::StateChanged(), FixedBitmap::StateChanged(), FixedImage::StateChanged(), ScrollBar::StateChanged(), and Slider::StateChanged().
const OUString & vcl::Window::GetQuickHelpText | ( | ) | const |
Definition at line 1271 of file window2.cxx.
References mpWindowImpl.
Referenced by DropdownBox::DropdownBox(), VclDrawingArea::DumpAsPropertyTree(), EditUIObject::get_state(), SalInstanceWidget::get_tooltip_text(), getDefaultAccessibleName(), Button::ImplDrawAlignedImage(), RequestHelp(), StatusBar::RequestHelp(), and ToolBox::RequestHelp().
const AllSettings & vcl::Window::GetSettings | ( | ) | const |
Definition at line 129 of file window3.cxx.
References GetOutDev(), and OutputDevice::GetSettings().
Referenced by ComboBox::AdaptDropDownLineCountToMaximum(), ListBox::AdaptDropDownLineCountToMaximum(), NotebookbarPopup::ApplyBackground(), HeaderBar::ApplySettings(), Dialog::ApplySettings(), MenuFloatingWindow::ApplySettings(), BubbleWindow::BubbleWindow(), ComboBox::CalcBlockSize(), ListBox::CalcBlockSize(), ImplListBoxFloatingWindow::CalcFloatSize(), ListBox::CalcMinimumSize(), SpinField::CalcMinimumSizeForText(), SpinField::CalcSize(), ListBox::CalcSubEditSize(), CalcTitleWidth(), MenuFloatingWindow::ChangeHighlightItem(), SalInstanceScrolledWindow::customize_scrollbars(), ComboBox::DataChanged(), ListBox::DataChanged(), vcl::HyperLabel::DataChanged(), DockingWindow::DoInitialLayout(), HeaderBar::Draw(), TabPage::Draw(), PushButton::Draw(), ComboBox::Draw(), Edit::Draw(), ListBox::Draw(), ScrollBar::Draw(), SpinField::Draw(), DrawSelectionBackground(), MenuFloatingWindow::EnableScrollMenu(), ComboBox::EventNotify(), SpinField::EventNotify(), ImplEntryList::FindMatchingEntry(), Edit::GetFocus(), ScrollBar::GetFocus(), FormatterBase::GetLanguageTag(), FormatterBase::GetLocale(), ComboBox::getMaxWidthScrollBarAndDownButton(), ScrollBar::GetOptimalSize(), SvTreeListBox::GetOptimalSize(), HelpTextWindow::HelpTextWindow(), ScrollBar::ImplCalc(), ToolBox::ImplCalcBreaks(), Menu::ImplCalcSize(), ImplChangeTipTimeout(), MenuFloatingWindow::ImplCursorUpDown(), Edit::ImplDelete(), vcl::Cursor::ImplDoShow(), CheckBox::ImplDrawCheckBoxState(), PushButton::ImplDrawPushButtonContent(), CheckBox::ImplGetCheckImageSize(), RadioButton::ImplGetRadioImageSize(), PushButton::ImplGetTextStyle(), ImplHandleExtTextInputPos(), ImplHandleKey(), Edit::ImplHandleKeyEvent(), ImplHandleMouseEvent(), ScrollBar::ImplInit(), ScrollBarBox::ImplInit(), ImplInit(), Splitter::ImplInit(), Splitter::ImplInitHorVer(), DockingWindow::ImplInitSettings(), SplitWindow::ImplInitSettings(), Dialog::ImplInitSettings(), FloatingWindow::ImplInitSettings(), Calendar::ImplInitSettings(), VclMultiLineEdit::ImplInitSettings(), HeaderBar::ImplInitSettings(), ToolBox::ImplInitSettings(), ScrollBar::ImplInitStyle(), MenuBarWindow::ImplInitStyleSettings(), ImplIsMnemonicCtrl(), ImplListBoxWindow::ImplListBoxWindow(), ImplLOKHandleMouseEvent(), ImplMouseAutoPos(), ImplListBox::ImplResizeControls(), TabControl::ImplShowFocus(), Splitter::ImplSplitterActive(), DockingWindow::ImplStartDocking(), SplitWindow::ImplStartSplit(), ImplWin::ImplWin(), SvTreeListBox::InitSettings(), SvxIconChoiceCtrl_Impl::InitSettings(), vcl::Cursor::LOKNotify(), MenuFloatingWindow::MenuFloatingWindow(), Edit::MouseButtonDown(), ScrollBar::MouseButtonDown(), Edit::MouseButtonUp(), NotebookbarPopup::NotebookbarPopup(), BubbleWindow::Paint(), vcl::PaintBufferGuard::PaintBufferGuard(), ListBox::PreNotify(), ImpVclMEdit::Resize(), ListBox::Resize(), ImplBorderWindow::Resize(), Dialog::set_action_area(), SalInstanceWidget::set_highlight_background(), SalInstanceLabel::set_label_type(), SalInstanceWidget::set_stack_background(), SalInstanceWidget::set_title_background(), SvtIconChoiceCtrl::SetBackground(), SvLBoxButtonData::SetDefaultImages(), ComboBox::SetHighlightColor(), ListBox::SetHighlightColor(), ImplListBox::SetHighlightColor(), ComboBox::SetHighlightTextColor(), ListBox::SetHighlightTextColor(), ImplListBox::SetHighlightTextColor(), MessageDialog::SetMessagesWidths(), Dialog::settingOptimalLayoutSize(), TabPage::StateChanged(), TextWindow::TextWindow(), NotebookBar::UpdateBackground(), NotebookBar::UpdateDefaultSettings(), and NotebookBar::UpdatePersonaSettings().
|
virtual |
Reimplemented in DockingWindow.
Definition at line 2406 of file window.cxx.
References GetOutDev(), VclReferenceBase::isDisposed(), mpWindowImpl, and SAL_WARN.
Referenced by SvxIconChoiceCtrl_Impl::AdjustScrollBars(), vcl::RoadmapWizard::CalcAndSetSize(), ImpVclMEdit::CalcBlockSize(), ImplListBoxFloatingWindow::CalcFloatSize(), ImpVclMEdit::CalcMinimumSize(), MenuBarWindow::CanGetFocus(), SvxIconChoiceCtrl_Impl::CheckHorScrollBar(), SvxIconChoiceCtrl_Impl::CheckVerScrollBar(), SalInstanceDialog::collapse(), StatusBar::DataChanged(), SalInstanceWidget::DoRecursivePaint(), SalInstanceWidget::draw(), HeaderBar::Draw(), TabPage::Draw(), PushButton::Draw(), CheckBox::Draw(), RadioButton::Draw(), ComboBox::Draw(), Dialog::Draw(), Edit::Draw(), FixedText::Draw(), FixedBitmap::Draw(), FixedImage::Draw(), ListBox::Draw(), SpinField::Draw(), VclMultiLineEdit::Draw(), InterimItemWindow::Draw(), VclDrawingArea::DumpAsPropertyTree(), VclEventBox::EventBoxHelper::EventBoxHelper(), MenuButton::ExecuteMenu(), SalInstanceWindow::get_size(), WindowUIObject::get_state(), ImplBorderWindow::GetBorder(), ImplListBoxWindow::GetBoundingRectangle(), vcl::WindowOutputDevice::GetDeviceInfo(), CheckBox::GetFocus(), vcl::HyperLabel::GetFocus(), ImplListBoxWindow::GetLastVisibleEntry(), getLegacyBestSizeForChildren(), ToolBox::GetOptimalSize(), ImplToolItem::GetSize(), ImplDockingWindowWrapper::GetSizePixel(), DockingWindow::GetSizePixel(), VclScrolledWindow::getVisibleChildSize(), SalInstanceWidget::HandleEventListener(), DropdownBox::HideContent(), OptionalBox::HideContent(), IMPL_LINK_NOARG(), CheckBox::ImplAdjustNWFSizes(), RadioButton::ImplAdjustNWFSizes(), FloatingWindow::ImplCalcPos(), vcl::RoadmapWizard::ImplCalcSize(), TabControl::ImplChangeTabPage(), ImplListBox::ImplCheckScrollBars(), MenuBarWindow::ImplCreatePopup(), ImplWin::ImplDraw(), FloatingWindow::ImplFloatHitTest(), CheckBox::ImplGetCheckImageSize(), RadioButton::ImplGetRadioImageSize(), ImplGetWindowExtentsRelative(), ImplHandlePaint(), vcl::RoadmapWizard::ImplPosCtrls(), TabControl::ImplPosCurTabPage(), vcl::RoadmapWizard::ImplPosTabPage(), ImplDockingWindowWrapper::ImplPreparePopupMode(), PushButton::ImplSetDefButton(), ImplSetHelpWindowPos(), Dialog::ImplStartExecute(), ImplListBoxWindow::ImplUpdateEntryMetrics(), SvxIconChoiceCtrl_Impl::InitSettings(), MenuFloatingWindow::InvalidateItem(), ImplListBoxWindow::IsVisible(), InterimItemWindow::Layout(), CheckBox::LoseFocus(), VclBuilder::makeObject(), SvLBoxString::Paint(), SvTreeListBox::Paint(), BubbleWindow::Paint(), MenuBarWindow::Paint(), PixelInvalidate(), FloatingWindow::PixelInvalidate(), SvTreeListBox::PosOverBody(), PopupMenu::PrepareRun(), queue_resize(), RequestHelp(), TabPage::ResetScrollBars(), ImpVclMEdit::Resize(), NotebookBar::Resize(), ToolBox::Resize(), Dialog::Resize(), ImplBorderWindow::Resize(), BubbleWindow::Resize(), PriorityHBox::Resize(), PriorityMergedHBox::Resize(), vcl::RoadmapWizard::RoadmapWizard(), VclVPaned::set_position(), VclHPaned::set_position(), TabControl::setAllocation(), VclVPaned::setAllocation(), VclHPaned::setAllocation(), SetBorderStyle(), ImplListBoxFloatingWindow::setPosSizePixel(), PriorityHBox::SetSizeFromParent(), VclContainer::SetSizePixel(), TabControl::SetTabPage(), ImplListBoxWindow::SetTopEntry(), BubbleWindow::Show(), CalendarField::ShowDropDown(), CheckBox::ShowFocus(), RadioButton::ShowFocus(), ImplWin::ShowFocus(), ImplListBoxWindow::ShowProminentEntry(), ImplListBoxFloatingWindow::StartFloat(), Dialog::StateChanged(), FloatingWindow::StateChanged(), SvImpLBox::SvImpLBox(), SvxIconChoiceCtrl_Impl::SvxIconChoiceCtrl_Impl(), ImplStdBorderWindowView::Tracking(), NotebookBar::UpdateBackground(), and ImplBorderWindow::UpdateView().
WinBits vcl::Window::GetStyle | ( | ) | const |
Definition at line 992 of file window2.cxx.
References mpWindowImpl.
Referenced by SvImpLBox::AdjustScrollBars(), IconViewImpl::AdjustScrollBars(), StatusBar::ApplySettings(), Edit::ApplySettings(), PushButton::CalcMinimumSize(), ListBox::CalcMinimumSize(), CheckBox::CalcMinimumSize(), RadioButton::CalcMinimumSize(), SpinField::CalcMinimumSizeForText(), FixedText::CalcMinimumTextSize(), SpinField::CalcSize(), Slider::CalcWindowSizePixel(), OKButton::Click(), CancelButton::Click(), SystemWindow::Close(), Dialog::Close(), MessageDialog::create_message_area(), ImplBorderWindow::DataChanged(), dispose(), ComboBox::Draw(), Dialog::Draw(), Edit::Draw(), FixedText::Draw(), FixedBitmap::Draw(), FixedImage::Draw(), ListBox::Draw(), SpinField::Draw(), VclMultiLineEdit::Draw(), ImplWin::DrawEntry(), ImplSmallBorderWindowView::DrawWindow(), Button::DumpAsPropertyTree(), FixedLine::DumpAsPropertyTree(), ListBox::EnableMultiSelection(), EventNotify(), ToolBox::EventNotify(), Dialog::EventNotify(), FloatingWindow::EventNotify(), SpinField::EventNotify(), ButtonUIObject::execute(), vcl::RoadmapWizard::Finish(), GenerateAutoMnemonicsOnHierarchy(), SalInstanceWindow::get_resizable(), getDefaultAccessibleRole(), Dialog::GetFirstControlForFocus(), Edit::GetFocus(), getLegacyNonLayoutAccessibleRelationLabelFor(), ScrollBar::GetOptimalSize(), SvTreeListBox::GetOptimalSize(), RadioButton::GetRadioButtonGroup(), ImplToolItem::GetSize(), FixedText::getTextDimensions(), IconView::IconView(), ScrollBar::ImplCalc(), Slider::ImplCalc(), SpinField::ImplCalcButtonAreas(), TabControl::ImplChangeTabPage(), Edit::ImplClearBackground(), ImplClipChildren(), ImplDlgCtrl(), ImplDlgCtrlNextWindow(), vcl::ImplDlgCtrlUpdateDefButton(), ScrollBar::ImplDoMouseAction(), ScrollBar::ImplDragThumb(), FixedBitmap::ImplDraw(), FixedImage::ImplDraw(), FixedText::ImplDraw(), CheckBox::ImplDraw(), RadioButton::ImplDraw(), FixedLine::ImplDraw(), ScrollBar::ImplDraw(), Slider::ImplDraw(), ImplWin::ImplDraw(), Button::ImplDrawAlignedImage(), ScrollBar::ImplDrawNative(), PushButton::ImplDrawPushButton(), PushButton::ImplDrawPushButtonContent(), PushButton::ImplDrawPushButtonFrame(), StatusBar::ImplDrawText(), ImplFindAccelWindow(), ScrollBar::ImplFindPartRect(), StatusBar::ImplFormat(), ImplGetDlgWindow(), Edit::ImplGetExtraXOffset(), vcl::ImplGetLabeledBy(), ImplGetLabelFor(), Edit::ImplGetNativeControlType(), ImplGetSubChildWindow(), PushButton::ImplGetTextStyle(), Edit::ImplGetTextYPosition(), ImplGetTopParentOfTabHierarchy(), ImplGrabFocus(), ImplHandleMouseEvent(), ImplHandleMove(), ImplHasDlgCtrl(), ImplHasIndirectTabParent(), ImplBorderWindowView::ImplHitTest(), vcl::HyperLabel::implInit(), TabPage::ImplInit(), ImplInit(), PushButton::ImplInitSettings(), ImageButton::ImplInitStyle(), SvTreeListBox::ImplInitStyle(), ImplBorderWindowView::ImplInitTitle(), ImplInitWinClipRegion(), ImplInvalidate(), ImplIsMnemonicCtrl(), Slider::ImplIsPageDown(), Slider::ImplIsPageUp(), Edit::ImplPaintBorder(), TabControl::ImplPosCurTabPage(), Edit::ImplRepaint(), SalInstanceWindow::implResetDefault(), ImplScroll(), ImplSetClipFlag(), ImplToTop(), ScrollBar::ImplUpdateRects(), Slider::ImplUpdateRects(), Edit::ImplUseNativeBorder(), ImplValidate(), ImplStdBorderWindowView::Init(), ImplSmallBorderWindowView::Init(), ImpVclMEdit::InitFromStyle(), SvTreeListBox::InitTreeView(), ImplListBoxWindow::InsertEntry(), SalInstanceWindow::is_default_widget(), ToolBox::KeyInput(), PushButton::KeyInput(), PushButton::KeyUp(), Edit::LoseFocus(), SalInstanceTreeView::make_sorted(), SalInstanceEntryTreeView::make_sorted(), SalInstanceTreeView::make_unsorted(), PushButton::MouseButtonDown(), MenuButton::MouseButtonDown(), ScrollBar::MouseButtonDown(), Slider::MouseButtonDown(), NotebookBar::NotebookBar(), ImpVclMEdit::Notify(), StatusBar::Paint(), TabControl::Paint(), SpinField::Paint(), IconView::PaintEntry(), SvTreeListBox::PaintEntry1(), PushButton::PreNotify(), VclBuilder::prepareWidgetOwnScrolling(), ImpVclMEdit::Resize(), ListBox::Resize(), SpinField::Resize(), JSTreeView::select(), SalInstanceWidget::set_background(), SalInstanceWidget::set_can_focus(), set_property(), Button::set_property(), PushButton::set_property(), RadioButton::set_property(), ComboBox::set_property(), Edit::set_property(), FixedText::set_property(), FixedImage::set_property(), ListBox::set_property(), SvTreeListBox::set_property(), SetBorderStyle(), ImplBorderWindow::SetCloseButton(), SetParent(), setPosSizePixel(), VclMultiLineEdit::SetReadOnly(), SvTreeListBox::SetTabs(), ImpVclMEdit::SetText(), StatusBar::SetText(), Show(), SvImpLBox::ShowVerSBar(), FloatingWindow::StartPopupMode(), CalendarField::StateChanged(), Dialog::StateChanged(), DockingWindow::StateChanged(), PushButton::StateChanged(), CheckBox::StateChanged(), RadioButton::StateChanged(), ComboBox::StateChanged(), Edit::StateChanged(), FixedText::StateChanged(), FixedLine::StateChanged(), FixedBitmap::StateChanged(), FixedImage::StateChanged(), ListBox::StateChanged(), ScrollBar::StateChanged(), SpinField::StateChanged(), VclMultiLineEdit::StateChanged(), Slider::StateChanged(), TabControl::TabControl(), TextWindow::TextWindow(), PushButton::Tracking(), CheckBox::Tracking(), RadioButton::Tracking(), ImplStdBorderWindowView::Tracking(), Slider::Tracking(), VclBuilder::VclBuilder(), and VerticalTabControl::VerticalTabControl().
|
virtual |
Reimplemented in VclDrawingArea, and Edit.
Definition at line 3778 of file window.cxx.
Referenced by VclDrawingArea::GetSurroundingText(), and ImplHandleSurroundingTextRequest().
|
virtual |
Reimplemented in VclDrawingArea, and Edit.
Definition at line 3783 of file window.cxx.
Referenced by VclDrawingArea::GetSurroundingTextSelection(), and ImplHandleSurroundingTextRequest().
|
virtual |
Reimplemented in SystemChildWindow.
Definition at line 3855 of file window.cxx.
References mpWindowImpl.
Referenced by SalInstanceWindow::get_system_data(), and GetDragSource().
SystemWindow * vcl::Window::GetSystemWindow | ( | ) | const |
Definition at line 806 of file stacking.cxx.
References GetParent(), and IsSystemWindow().
Referenced by Splitter::dispose(), SalInstanceWidget::getSystemWindow(), VclBuilder::handleObject(), IMPL_LINK(), IMPL_LINK_NOARG(), Splitter::ImplInit(), ImplInvalidateMenubar(), and DebugEventInjector::InjectMenuEvent().
|
virtual |
Reimplemented in DockingWindow, SystemWindow, Edit, VclMultiLineEdit, and HelpTextWindow.
Definition at line 3062 of file window.cxx.
References mpWindowImpl.
Referenced by PushButton::CalcMinimumSize(), CheckBox::CalcMinimumSize(), RadioButton::CalcMinimumSize(), FixedText::CalcMinimumTextSize(), CalcTitleWidth(), DeInitVCL(), dispose(), PaintHelper::DoPaint(), ImplStdBorderWindowView::DrawWindow(), DumpAsPropertyTree(), Button::DumpAsPropertyTree(), GenerateAutoMnemonicsOnHierarchy(), VclFrame::get_label(), VclExpander::get_label(), SalInstanceLabel::get_label(), WindowUIObject::get_state(), SalInstanceWindow::get_title(), GetActivationKey(), SvTabListBox::GetCellText(), getDefaultAccessibleName(), getDefaultAccessibleRole(), GetDisplayText(), SvTabListBox::GetEntryText(), CheckBox::GetFocus(), getLegacyNonLayoutAccessibleRelationLabelFor(), SvTabListBox::GetTabEntryText(), SystemWindow::GetText(), ImplBorderWindowView::ImplCalcTitleWidth(), FixedText::ImplDraw(), CheckBox::ImplDraw(), RadioButton::ImplDraw(), FixedLine::ImplDraw(), Button::ImplDrawAlignedImage(), PushButton::ImplDrawPushButton(), StatusBar::ImplDrawText(), ImplFindAccelWindow(), ImplHandleControlAccelerator(), ImplDockingWindowWrapper::ImplPreparePopupMode(), CheckBox::LoseFocus(), PushButton::PreNotify(), Edit::SaveValue(), SvTreeListBox::SearchEntryTextWithHeadTitle(), and VclBuilder::VclBuilder().
TextAlign vcl::Window::GetTextAlign | ( | ) | const |
Definition at line 128 of file window3.cxx.
References GetOutDev(), and OutputDevice::GetTextAlign().
Referenced by StatusBar::ImplInitSettings(), ImplPaintToDevice(), and vcl::PaintBufferGuard::PaintBufferGuard().
const Color & vcl::Window::GetTextColor | ( | ) | const |
Definition at line 109 of file window3.cxx.
References GetOutDev(), and OutputDevice::GetTextColor().
Referenced by HeaderBar::Draw(), PushButton::Draw(), CheckBox::Draw(), RadioButton::Draw(), ComboBox::Draw(), Edit::Draw(), FixedText::Draw(), ListBox::Draw(), StatusBar::ImplInitSettings(), ImplPaintToDevice(), and vcl::PaintBufferGuard::PaintBufferGuard().
Color vcl::Window::GetTextFillColor | ( | ) | const |
Definition at line 114 of file window3.cxx.
References GetOutDev(), and OutputDevice::GetTextFillColor().
Referenced by ImplPaintToDevice(), and vcl::PaintBufferGuard::PaintBufferGuard().
tools::Long vcl::Window::GetTextHeight | ( | ) | const |
Height where any character of the current font fits; in logic coordinates.
See also GetTextBoundRect() for more explanation + code examples.
Definition at line 65 of file window3.cxx.
References GetOutDev(), and OutputDevice::GetTextHeight().
Referenced by SvTreeListBox::AdjustEntryHeight(), ImpVclMEdit::CalcBlockSize(), PushButton::CalcMinimumSize(), RadioButton::CalcMinimumSize(), Edit::CalcMinimumSizeForText(), FixedText::CalcMinimumTextSize(), Edit::CalcSize(), HeaderBar::CalcWindowSizePixel(), StatusBar::CalcWindowSizePixel(), Calendar::CalcWindowSizePixel(), Edit::Command(), MessageDialog::create_message_area(), StatusBar::DataChanged(), SalInstanceWidget::get_pixel_size(), SalInstanceWidget::get_text_height(), StatusBar::GetItemTextPos(), ImpVclMEdit::GetMaxVisColumnsAndLines(), SvxIconChoiceCtrl_Impl::GetMinGrid(), ImpVclMEdit::ImpInitScrollBars(), ToolBox::ImplCalcItem(), ImplListBoxWindow::ImplCalcMetrics(), StatusBar::ImplCalcProgressRect(), Menu::ImplCalcSize(), FixedLine::ImplDraw(), Calendar::ImplDrawDate(), TabControl::ImplDrawItem(), ToolBox::ImplDrawItem(), StatusBar::ImplDrawText(), Calendar::ImplFormat(), MenuFloatingWindow::ImplGetItemRect(), TabControl::ImplGetItemSize(), Edit::ImplGetTextYPosition(), MenuFloatingWindow::ImplHighlightItem(), ListBox::ImplInit(), ImplInitAppFontData(), ImplBorderWindowView::ImplInitTitle(), Edit::ImplRepaint(), Edit::ImplShowCursor(), Edit::ImplShowDDCursor(), TabControl::ImplShowFocus(), SvLBoxString::InitViewData(), StatusBar::InsertItem(), MenuFloatingWindow::MouseButtonUp(), MenuFloatingWindow::RenderHighlightItem(), StatusBar::Resize(), SvxIconChoiceCtrl_Impl::SetDefaultTextSize(), HelpTextWindow::SetHelpText(), and StatusBar::SetItemText().
const Color & vcl::Window::GetTextLineColor | ( | ) | const |
Definition at line 110 of file window3.cxx.
References GetOutDev(), and OutputDevice::GetTextLineColor().
Referenced by ImplPaintToDevice(), and vcl::PaintBufferGuard::PaintBufferGuard().
tools::Rectangle vcl::Window::GetTextRect | ( | const tools::Rectangle & | rRect, |
const OUString & | rStr, | ||
DrawTextFlags | nStyle = DrawTextFlags::WordBreak , |
||
TextRectInfo * | pInfo = nullptr , |
||
const vcl::ITextLayout * | _pTextLayout = nullptr |
||
) | const |
Definition at line 201 of file window3.cxx.
References GetOutDev(), and OutputDevice::GetTextRect().
Referenced by PushButton::CalcMinimumSize(), CheckBox::CalcMinimumSize(), RadioButton::CalcMinimumSize(), SvxIconChoiceCtrl_Impl::CalcTextRect(), FixedText::getTextDimensions(), Button::ImplDrawAlignedImage(), ImplListBoxWindow::ImplUpdateEntryMetrics(), BubbleWindow::RecalcTextRects(), SvxIconChoiceCtrl_Impl::RequestHelp(), and HelpTextWindow::SetHelpText().
tools::Long vcl::Window::GetTextWidth | ( | const OUString & | rStr, |
sal_Int32 | nIndex = 0 , |
||
sal_Int32 | nLen = -1 , |
||
vcl::text::TextLayoutCache const * | pCache = nullptr , |
||
SalLayoutGlyphs const *const | pLayoutCache = nullptr |
||
) | const |
Width of the text.
See also GetTextBoundRect() for more explanation + code examples.
Definition at line 66 of file window3.cxx.
References GetOutDev(), OutputDevice::GetTextWidth(), and nIndex.
Referenced by ListBox::CalcBlockSize(), ImpVclMEdit::CalcBlockSize(), Edit::CalcMinimumSizeForText(), CalcTitleWidth(), SvLBoxString::CalcWidth(), Calendar::CalcWindowSizePixel(), Edit::Command(), StatusBar::DataChanged(), SalInstanceWidget::get_pixel_size(), StatusBar::GetItemTextPos(), ComboBox::GetMaxVisColumnsAndLines(), ImpVclMEdit::GetMaxVisColumnsAndLines(), SvxIconChoiceCtrl_Impl::GetMinGrid(), ImpVclMEdit::ImpInitScrollBars(), Edit::ImplAlign(), StatusBar::ImplCalcProgressRect(), Menu::ImplCalcSize(), ImplBorderWindowView::ImplCalcTitleWidth(), Calendar::ImplDrawDate(), Calendar::ImplFormat(), Edit::ImplShowCursor(), Edit::ImplShowDDCursor(), ImplListBoxWindow::ImplUpdateEntryMetrics(), StatusBar::RequestHelp(), HelpTextWindow::SetHelpText(), and StatusBar::SetItemText().
WindowType vcl::Window::GetType | ( | ) | const |
Definition at line 1013 of file window2.cxx.
References mpWindowImpl, and NONE.
Referenced by Dialog::Activate(), Dialog::add_button(), NotebookbarPopup::ApplyBackground(), VclBuilder::applyPackingProperty(), ImplSmallBorderWindowView::DrawWindow(), DumpAsPropertyTree(), vcl::RoadmapWizard::DumpAsPropertyTree(), Dialog::EndDialog(), SystemWindow::EventNotify(), GenerateAutoMnemonicsOnHierarchy(), SalInstanceBuilder::get_current_page_help_id(), WindowUIObject::get_state(), GetAccessibleChildWindow(), GetAccessibleChildWindowCount(), GetAccessibleDescription(), GetAccessibleParentWindow(), getDefaultAccessibleName(), getDefaultAccessibleRole(), getLegacyNonLayoutAccessibleRelationLabeledBy(), getLegacyNonLayoutAccessibleRelationLabelFor(), getLegacyNonLayoutAccessibleRelationMemberOf(), RadioButton::GetRadioButtonGroup(), SystemWindow::GetTaskPaneList(), VclBuilder::handleChild(), VclBuilder::handleTabChild(), NotebookbarPopup::hideSeparators(), ImplActivateFloatingWindows(), ImplCallFocusChangeActivate(), ImplControlFocus(), ImplDlgCtrl(), PushButton::ImplDrawPushButton(), ImplDrawSpinButton(), ImplFindAccelWindow(), ImplGetCancelButton(), ImplGetCurTabWindow(), ImplGetDlgWindow(), vcl::ImplGetLabeledBy(), ImplGetLabelFor(), Edit::ImplGetNativeControlType(), ImplGetOKButton(), ImplGetSubChildWindow(), ImplGetTopDockingAreaHeight(), ImplGetWindowExtentsRelative(), ImplHandleShowDialog(), TabPage::ImplInit(), ImplInit(), PushButton::ImplInitStyle(), CheckBox::ImplInitStyle(), RadioButton::ImplInitStyle(), ImplIsFixedControl(), ImplIsMnemonicCtrl(), ImplDockingWindowWrapper::ImplPreparePopupMode(), Edit::ImplSetSelection(), Dialog::ImplStartExecute(), TopLevelWindowLocker::incBusy(), ImplSmallBorderWindowView::Init(), VclBuilder::insertObject(), isContainerWindow(), IsScrollable(), VclBuilder::makeObject(), nextLogicalChildOfParent(), TabPage::Paint(), SystemWindow::PreNotify(), PushButton::PreNotify(), VclBuilder::prepareWidgetOwnScrolling(), prevLogicalChildOfParent(), NotebookbarPopup::RemoveBackground(), SetActivateMode(), ContextVBox::SetContext(), SetParent(), Dialog::StartExecuteAsync(), VclBuilder::VclBuilder(), and SalInstanceBuilder::weld_notebook().
|
virtual |
Reimplemented in VclDrawingArea, TabControl, ToolBox, Button, CheckBox, RadioButton, ComboBox, Dialog, Edit, MetricField, FormattedField, ListBox, MenuButton, SpinField, SvTreeListBox, VclMultiLineEdit, IconView, VerticalTabControl, and vcl::RoadmapWizard.
Definition at line 3942 of file window.cxx.
References WindowUIObject::create().
Referenced by WindowUIObject::dumpHierarchy(), WindowUIObject::dumpState(), WindowUIObject::get_child(), WindowUIObject::get_visible_child(), UITest::getFloatWindow(), UITest::getFocusTopWindow(), UITestLogger::logAction(), and UITestLogger::logKeyInput().
vcl::Window * vcl::Window::GetWindow | ( | GetWindowType | nType | ) | const |
Definition at line 1035 of file stacking.cxx.
References Border, Client, FirstChild, FirstOverlap, FirstTopWindowChild, Frame, get(), ImplGetParent(), ImplGetWinData(), ImplIsOverlapWindow(), LastChild, ImplWinData::maTopWindowChildren, mpWindowImpl, Next, NextTopWindowSibling, nType, Overlap, Parent, ParentOverlap, Prev, and RealParent.
Referenced by VclVPaned::arrange(), VclHPaned::arrange(), assembleGrid(), ComboBox::Impl::calcComboBoxDropDownComponentBounds(), VclButtonBox::calculatePrimarySecondaryRequisitions(), VclBox::calculateRequisition(), VclVPaned::calculateRequisition(), VclHPaned::calculateRequisition(), VclEventBox::calculateRequisition(), PriorityHBox::calculateRequisition(), PriorityMergedHBox::calculateRequisition(), SalInstanceWindow::clear_child_help(), SalInstanceDialog::collapse(), SalInstanceBuilder::create_screenshot_window(), SalInstanceWidget::DoRecursivePaint(), ImplSmallBorderWindowView::DrawWindow(), ToolBox::ExecuteCustomMenu(), firstLogicalChildOfParent(), GenerateAutoMnemonicsOnHierarchy(), VclExpander::get_child(), VclEventBox::get_child(), SalInstanceBuilder::get_current_page_help_id(), Dialog::get_default_response(), Dialog::get_widget_for_response(), getActionArea(), getActionAreaButtonList(), ImplWin::GetFocus(), getLegacyBestSizeForChildren(), ComboBox::getMaxWidthScrollBarAndDownButton(), DockingWindow::GetOptimalSize(), InterimItemWindow::GetOptimalSize(), NotebookBar::GetOptimalSize(), TabPage::GetOptimalSize(), RadioButton::GetRadioButtonGroup(), VclBuilder::handleChild(), MenuBarWindow::HandleKeyEvent(), VclBuilder::handleTabChild(), SalInstanceWindow::help(), IMPL_LINK(), IMPL_LINK_NOARG(), ImplAdjustNWFSizes(), SpinField::ImplCalcButtonAreas(), ImplWin::ImplDraw(), Splitter::ImplFindSibling(), FloatingWindow::ImplFloatHitTest(), ImplGetCancelButton(), ImplGetCurTabWindow(), ImplGetDefaultButton(), ImplGetKeyInputWindow(), Edit::ImplGetNativeControlType(), ImplGetOKButton(), ImplGetTopDockingAreaHeight(), ImplGrabFocusToDocument(), ImplHandleShowDialog(), ToolBox::ImplHasExternalMenubutton(), Edit::ImplInvalidateOutermostBorder(), ImplIsMnemonicCtrl(), Edit::ImplPaintBorder(), ImplDockingWindowWrapper::ImplPreparePopupMode(), SalInstanceWindow::implResetDefault(), ImplTaskPaneListGrabFocus(), TopLevelWindowLocker::incBusy(), ImplSmallBorderWindowView::Init(), ResizableDockingWindow::InvalidateChildSizeCache(), InterimItemWindow::InvalidateChildSizeCache(), isLayoutEnabled(), ToolBox::KeyInput(), lastLogicalChildOfParent(), InterimItemWindow::Layout(), ImplWin::LoseFocus(), nextLogicalChildOfParent(), SalInstanceWindow::override_child_help(), PushButton::PreNotify(), ListBox::PreNotify(), PopupMenu::PrepareRun(), prevLogicalChildOfParent(), NotebookBar::Resize(), ComboBox::Resize(), ListBox::Resize(), SpinField::Resize(), Dialog::set_default_response(), VclBox::setAllocation(), VclButtonBox::setAllocation(), VclVPaned::setAllocation(), VclHPaned::setAllocation(), VclEventBox::setAllocation(), ImplDockingWindowWrapper::SetFloatingMode(), TabPage::SetPosPixel(), DockingWindow::setPosSizeOnContainee(), TabPage::SetPosSizePixel(), NotebookBar::setPosSizePixel(), TabPage::SetSizePixel(), sort_native_button_order(), PushButton::StateChanged(), CheckBox::StateChanged(), RadioButton::StateChanged(), ListBox::StateChanged(), ToolBox::ToggleFloatingMode(), InterimItemWindow::UnclipVisibleSysObj(), and VclBuilder::VclBuilder().
vcl::Region vcl::Window::GetWindowClipRegionPixel | ( | ) | const |
Definition at line 115 of file window/clipping.cxx.
References GetOutDev(), GetOutputRectPixel(), ImplInitWinClipRegion(), vcl::Region::Move(), mpWindowImpl, and vcl::Region::SetNull().
tools::Rectangle vcl::Window::GetWindowExtentsRelative | ( | const vcl::Window * | pRelativeWindow | ) | const |
Definition at line 2917 of file window.cxx.
References ImplGetWindowExtentsRelative().
Referenced by Control::AppendLayoutData(), MenuFloatingWindow::doShutdown(), SalInstanceWidget::get_extents_relative_to(), ComboBox::GetBoundingRectangle(), ListBox::GetBoundingRectangle(), ListBox::GetDropDownPosSizePixel(), and SvHeaderTabListBox::GetWindowExtentsRelative().
VCLXWindow * vcl::Window::GetWindowPeer | ( | ) | const |
Definition at line 1291 of file window2.cxx.
References mpWindowImpl.
const Fraction & vcl::Window::GetZoom | ( | ) | const |
Definition at line 1249 of file window2.cxx.
References mpWindowImpl.
Referenced by CalcZoom(), vcl::ReferenceDeviceTextLayout::ReferenceDeviceTextLayout(), SetZoomedPointFont(), ComboBox::StateChanged(), ListBox::StateChanged(), SpinField::StateChanged(), VclMultiLineEdit::StateChanged(), and ImplListBox::StateChanged().
void vcl::Window::GrabFocus | ( | ) |
Definition at line 2983 of file window.cxx.
References ImplGrabFocus(), and NONE.
Referenced by MenuBarWindow::ChangeHighlightItem(), SalInstanceContainer::child_grab_focus(), InterimItemWindow::ChildKeyInput(), dispose(), Dialog::EndDialog(), EndSaveFocus(), SpinField::EventNotify(), WindowUIObject::execute(), ImpVclMEdit::GetFocus(), ListBox::GetFocus(), ImplListBox::GetFocus(), SalInstanceWidget::grab_focus(), SalInstanceExpander::grab_focus(), SvHeaderTabListBox::GrabFocus(), MenuBarWindow::HandleKeyEvent(), ImplListBox::HandleWheelAsCursorTravel(), IMPL_LINK_NOARG(), ToolBox::ImplChangeHighlight(), TabControl::ImplChangeTabPage(), FloatingWindow::ImplEndPopupMode(), Calendar::ImplEndTracking(), ImplFocusToTop(), ImplSysChildProc(), MenuFloatingWindow::KeyInput(), Splitter::KeyInput(), ToolBox::KeyInput(), SvImpLBox::MouseButtonDown(), SvxIconChoiceCtrl_Impl::MouseButtonDown(), Edit::MouseButtonDown(), MenuButton::MouseButtonDown(), SpinField::MouseButtonDown(), TextWindow::MouseButtonDown(), ImplListBoxWindow::MouseButtonDown(), MenuBar::SelectItem(), PopupMenu::SelectItem(), set_property(), ImplListBoxFloatingWindow::StartFloat(), FloatingWindow::StartPopupMode(), SvInplaceEdit2::SvInplaceEdit2(), ListBox::ToggleDropDown(), ToolBox::ToggleFloatingMode(), PushButton::Tracking(), CheckBox::Tracking(), and RadioButton::Tracking().
void vcl::Window::GrabFocusToDocument | ( | ) |
Definition at line 2993 of file window.cxx.
References ImplGrabFocusToDocument(), and NONE.
Referenced by MenuBarWindow::ChangeHighlightItem(), ToolBox::ExecuteCustomMenu(), MenuBarWindow::HandleKeyEvent(), Splitter::KeyInput(), ToolBox::KeyInput(), and SystemWindow::PreNotify().
bool vcl::Window::HandleScrollCommand | ( | const CommandEvent & | rCmd, |
Scrollable * | pHScrl, | ||
Scrollable * | pVScrl | ||
) |
Definition at line 647 of file window2.cxx.
References AutoScroll, Begin, COMMAND_WHEEL_PAGESCROLL, Scrollable::DoScroll(), End, GesturePan, CommandEvent::GetAutoScrollData(), CommandEvent::GetCommand(), CommandEvent::GetGesturePanData(), Size::getHeight(), Scrollable::GetLineSize(), CommandEvent::GetMousePosPixel(), GetOutputSizePixel(), Scrollable::GetRangeMax(), Scrollable::GetThumbPos(), Scrollable::GetVisibleSize(), CommandEvent::GetWheelData(), Size::getWidth(), Horz, ImplHandleScroll(), Scrollable::Inactive(), vcl::lcl_HandleScrollHelper(), LONG_MAX, mpWindowImpl, NONE, pData, Point, SCROLL, StartAutoScroll, StartAutoScroll(), Update, Vert, and Wheel.
Referenced by SvImpLBox::Command(), ImplListBox::EventNotify(), and ImpVclMEdit::HandleCommand().
bool vcl::Window::HasActiveChildFrame | ( | ) | const |
Definition at line 3645 of file window.cxx.
References VclPtr< reference_type >::get(), ImplGetSVData(), ImplGetWindow(), ImplIsChild(), ImplIsFloatingWindow(), IsActive(), IsVisible(), ImplSVData::maFrameData, ImplSVFrameData::mpFirstFrame, mpWindowImpl, NONE, WB_MOVEABLE, and WB_SIZEABLE.
bool vcl::Window::HasChildPathFocus | ( | bool | bSystemWindow = false | ) | const |
Definition at line 3011 of file window.cxx.
References ImplGetSVData(), ImplIsWindowOrChild(), ImplSVWinData::mpFocusWin, and ImplSVData::mpWinData.
Referenced by ImplSmallBorderWindowView::DrawWindow(), ComboBox::EventNotify(), SpinField::EventNotify(), WindowUIObject::get_state(), SalInstanceWidget::HandleKeyEventListener(), ImplListBox::HandleWheelAsCursorTravel(), SalInstanceWidget::has_child_focus(), SalInstanceSpinButton::has_focus(), SalInstanceComboBox< vcl_type >::has_focus(), SalInstanceTextView::has_focus(), SalInstanceWindow::has_toplevel_focus(), TabControl::ImplChangeTabPage(), vcl::ImplDlgCtrlUpdateDefButton(), FloatingWindow::ImplEndPopupMode(), ImplFocusToTop(), ImplSysChildProc(), MenuBarWindow::LoseFocus(), MenuFloatingWindow::MenuInHierarchyHasFocus(), PreNotify(), ListBox::PreNotify(), ImplListBoxFloatingWindow::PreNotify(), SetActivateMode(), SetParent(), Show(), and Dialog::StateChanged().
bool vcl::Window::HasFocus | ( | ) | const |
Definition at line 2988 of file window.cxx.
References ImplGetSVData().
Referenced by SvImpLBox::Clear(), ImplWin::DrawEntry(), ImplSmallBorderWindowView::DrawWindow(), Enable(), SvImpLBox::EntryRemoved(), SvHeaderTabListBox::FillAccessibleStateSet(), Dialog::GetFirstControlForFocus(), GetFocus(), SalInstanceWidget::has_focus(), SalInstanceExpander::has_focus(), ToolBox::ImplActivateItem(), ImplListBoxWindow::ImplDoPaint(), CheckBox::ImplDraw(), Slider::ImplDraw(), ImplWin::ImplDraw(), CheckBox::ImplDrawCheckBox(), CheckBox::ImplDrawCheckBoxState(), DisclosureButton::ImplDrawCheckBoxState(), Calendar::ImplDrawDate(), TabControl::ImplDrawItem(), ScrollBar::ImplDrawNative(), PushButton::ImplDrawPushButton(), RadioButton::ImplDrawRadioButton(), RadioButton::ImplDrawRadioButtonState(), Calendar::ImplEndTracking(), Calendar::ImplMouseSelect(), Edit::ImplRepaint(), ToolBox::ImplShowFocus(), SvImpLBox::InvalidateEntry(), ToolBox::KeyInput(), UITestLogger::logAction(), SvxIconChoiceCtrl_Impl::MouseButtonDown(), Edit::MouseButtonDown(), ScrollBar::MouseButtonDown(), SpinField::MouseButtonDown(), ToolBox::MouseMove(), TabControl::Paint(), TabPage::Paint(), SvTreeListBox::Paint(), IconView::PaintEntry(), SvxIconChoiceCtrl_Impl::PaintEntry(), SvTreeListBox::PaintEntry1(), SvImpLBox::RecalcFocusRect(), ImplListBoxWindow::ScrollHorz(), ImplListBoxWindow::SelectEntries(), ListBox::SelectEntriesPos(), ListBox::SelectEntryPos(), SetInputContext(), ImplListBoxWindow::SetTopEntry(), SvImpLBox::ShowCursor(), SvxIconChoiceCtrl_Impl::ShowCursor(), Dialog::StateChanged(), SvImpLBox::UpdateAll(), and IconViewImpl::UpdateAll().
bool vcl::Window::HasPaintEvent | ( | ) | const |
Definition at line 1241 of file paint.cxx.
References ImplGetParent(), ImplIsOverlapWindow(), mpWindowImpl, Paint, PaintAllChildren, and PaintChildren.
Referenced by Edit::GetFocus(), ScrollBar::ImplCalc(), ToolBox::ImplCheckUpdate(), ImplPosSizeWindow(), and Edit::ImplSetText().
|
inline |
Definition at line 885 of file window.hxx.
References Show.
Referenced by vcl::RoadmapWizard::AddPage(), SvxIconChoiceCtrl_Impl::AdjustScrollBars(), SvImpLBox::AdjustScrollBars(), IconViewImpl::AdjustScrollBars(), SvInplaceEdit2::CallCallBackHdl_Impl(), SvxIconChoiceCtrl_Impl::CheckHorScrollBar(), SvxIconChoiceCtrl_Impl::CheckScrollBars(), SvxIconChoiceCtrl_Impl::CheckVerScrollBar(), SvImpLBox::Clear(), SystemWindow::Close(), SystemChildWindow::dispose(), dispose(), VclScrolledWindow::doSetAllocation(), Dialog::EndDialog(), SvInplaceEdit2::Hide(), SalInstanceWidget::hide(), DropdownBox::HideContent(), OptionalBox::HideContent(), Help::HidePopover(), NotebookbarPopup::hideSeparators(), TabControl::ImplChangeTabPage(), ImplDestroyHelpWindow(), ImplHideSplash(), ImplListBox::ImplResizeControls(), ImplWheelWindow::ImplSetWheelMode(), vcl::RoadmapWizard::ImplShowTabPage(), SvxIconChoiceCtrl_Impl::InitSettings(), SplitWindow::InsertItem(), VerticalTabControl::InsertPage(), ToolBox::InsertWindow(), SalInstanceContainer::move(), PaintToDevice(), SvImpLBox::PositionScrollBars(), SplitWindow::RemoveItem(), PriorityMergedHBox::Resize(), MenuBarWindow::Resize(), ContextVBox::SetContext(), VerticalTabControl::SetCurPageId(), ToolBox::SetItemWindow(), Show(), DropdownBox::ShowContent(), HelpButton::StateChanged(), and SvImpLBox::SvImpLBox().
void vcl::Window::HideFocus | ( | ) |
Definition at line 95 of file window2.cxx.
References ImplGetWinData(), ImplInvertFocus(), Invalidate(), IsNativeWidgetEnabled(), and mpWindowImpl.
Referenced by SvImpLBox::ButtonDownCheckCtrl(), SvImpLBox::Clear(), SvTreeListBox::EditText(), Calendar::ImplDraw(), CheckBox::ImplDrawCheckBox(), Calendar::ImplDrawDate(), PushButton::ImplDrawPushButton(), RadioButton::ImplDrawRadioButton(), RadioButton::ImplDrawRadioButtonState(), Calendar::ImplEndTracking(), ImplListBoxWindow::ImplHideFocusRect(), Calendar::ImplMouseSelect(), ImplListBoxWindow::ImplShowFocusRect(), TabControl::LoseFocus(), PushButton::LoseFocus(), CheckBox::LoseFocus(), RadioButton::LoseFocus(), ListBox::LoseFocus(), Calendar::LoseFocus(), vcl::HyperLabel::LoseFocus(), ImplWin::LoseFocus(), TabControl::Paint(), SvTreeListBox::Paint(), SvImpLBox::RecalcFocusRect(), Calendar::SetCurDate(), SvImpLBox::SetCursor(), SvImpLBox::ShowCursor(), and SvxIconChoiceCtrl_Impl::ShowCursor().
void vcl::Window::HideTracking | ( | ) |
Definition at line 151 of file window2.cxx.
References ImplGetWinData(), InvertTracking(), ImplWinData::mnTrackFlags, ImplWinData::mpTrackRect, mpWindowImpl, and TrackWindow.
Referenced by ImplTBDragMgr::EndDragging(), HeaderBar::ImplDrag(), HeaderBar::ImplEndDrag(), ImplDockingWindowWrapper::Tracking(), DockingWindow::Tracking(), SplitWindow::Tracking(), and ImplStdBorderWindowView::Tracking().
|
protectedvirtual |
Reimplemented in CheckBox, and RadioButton.
Definition at line 28 of file window3.cxx.
References FirstChild, GetWindow(), and Next.
Referenced by Dialog::ImplStartExecute(), and TabPage::StateChanged().
|
private |
Definition at line 601 of file window/clipping.cxx.
References vcl::Region::Exclude(), GetOutDev(), ImplCalcOverlapRegionOverlaps(), ImplExcludeWindowRegion(), ImplGetParent(), ImplIntersectWindowRegion(), ImplIsOverlapWindow(), vcl::Region::Intersect(), mpWindowImpl, Point, and vcl::Region::Union().
Referenced by ImplPosSizeWindow(), and ImplScroll().
|
private |
Definition at line 575 of file window/clipping.cxx.
References ImplIntersectAndUnionOverlapWindows(), ImplIntersectAndUnionOverlapWindows2(), ImplIsOverlapWindow(), and mpWindowImpl.
Referenced by ImplCalcOverlapRegion(), and ImplCalcToTop().
|
static |
Definition at line 44 of file brdwin.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), tools::Rectangle::GetHeight(), and tools::Rectangle::GetWidth().
Referenced by ScrollBar::ImplDraw(), Button::ImplDrawAlignedImage(), and ImplDrawBrdWinSymbol().
|
private |
Definition at line 211 of file stacking.cxx.
References GetOutputRectPixel(), ImplCalcOverlapRegionOverlaps(), ImplIsOverlapWindow(), vcl::Region::IsEmpty(), IsReallyVisible(), ImplCalcToTopData::mpNext, mpWindowImpl, pData, and SAL_WARN_IF.
Referenced by ImplStartToTop().
|
private |
Definition at line 3422 of file window.cxx.
References CallEventListeners(), ImplCallActivateListeners(), ImplGetParent(), ImplGetSVData(), ImplIsChild(), ImplSVData::maFrameData, ImplSVFrameData::mpActiveApplicationFrame, mpWindowImpl, WB_INTROWIN, and WindowActivate.
Referenced by ImplCallActivateListeners(), and ImplGrabFocus().
|
private |
Definition at line 3404 of file window.cxx.
References CallEventListeners(), ImplCallDeactivateListeners(), ImplGetParent(), ImplIsChild(), mpWindowImpl, and WindowDeactivate.
Referenced by IMPL_LINK_NOARG(), ImplCallDeactivateListeners(), and ImplGrabFocus().
|
staticprivate |
Definition at line 575 of file event.cxx.
References Activate(), Deactivate(), FLOATINGWINDOW, VclPtr< reference_type >::get(), GetActivateMode(), GetType(), ImplGetSVData(), ImplGetWindow(), ImplSVWinData::mpLastDeacWin, ImplSVData::mpWinData, mpWindowImpl, and NONE.
Referenced by ImplGrabFocus(), and SetParent().
|
private |
Definition at line 492 of file event.cxx.
References CompatStateChanged(), ImplCallInitShow(), InitShow, and mpWindowImpl.
Referenced by ImplCallInitShow(), ImplSetReallyVisible(), and Show().
void vcl::Window::ImplCallMouseMove | ( | sal_uInt16 | nMouseCode, |
bool | bModChanged = false |
||
) |
Definition at line 135 of file mouse.cxx.
References tools::Time::GetSystemTicks(), ImplGetSVData(), ImplHandleMouseEvent(), MODIFIERCHANGED, MOUSEMOVE, ImplSVWinData::mpCaptureWin, ImplSVData::mpWinData, mpWindowImpl, nCode, and SYNTHETIC.
Referenced by ImplHandleSalKeyMod().
void vcl::Window::ImplCallMove | ( | ) |
Definition at line 532 of file event.cxx.
References CallEventListeners(), SalFrame::GetGeometry(), GetParent(), ImplGetParent(), Move(), mpWindowImpl, Point, WindowMove, vcl::WindowPosSize::x(), and vcl::WindowPosSize::y().
Referenced by ImplHandleMove(), ImplPosSizeWindow(), and Show().
|
private |
Definition at line 625 of file paint.cxx.
References ImplCallOverlapPaint(), ImplCallPaint(), mpWindowImpl, Paint, and PaintChildren.
Referenced by ImplCallOverlapPaint(), and ImplUpdateAll().
|
private |
Invoke the actual painting.
This function is kind of recursive - it may be called from the PaintHelper destructor; and on the other hand it creates PaintHelper that (when destructed) calls other ImplCallPaint()'s.
Definition at line 579 of file paint.cxx.
References aHelper, CheckRtl, Erase, GetOutDev(), Invalidate(), comphelper::LibreOfficeKit::isActive(), mpWindowImpl, NoChildren, NoClipChildren, NoErase, NONE, NoTransparent, Paint(), Paint, PaintAll, PaintAllChildren, PaintChildren, PostPaint(), and PrePaint().
Referenced by ImplCallOverlapPaint(), PaintImmediately(), and PaintHelper::~PaintHelper().
void vcl::Window::ImplCallResize | ( | ) |
Definition at line 517 of file event.cxx.
References CallEventListeners(), GetBackground(), Invalidate(), mpWindowImpl, Resize(), and WindowResize.
Referenced by ImplPosSizeWindow(), and Show().
|
private |
Definition at line 223 of file window/clipping.cxx.
References ImplExcludeWindowRegion(), and mpWindowImpl.
Referenced by ImplInvalidate(), and ImplScroll().
|
private |
Definition at line 167 of file window/clipping.cxx.
References ImplExcludeOverlapWindows(), ImplExcludeOverlapWindows2(), ImplGetParent(), ImplIntersectWindowClipRegion(), ImplIsOverlapWindow(), vcl::Region::Intersect(), vcl::Region::IsEmpty(), mpWindowImpl, and Point.
Referenced by ImplInitWinClipRegion(), ImplInvalidate(), ImplInvalidateOverlapFrameRegion(), ImplPosSizeWindow(), ImplScroll(), ImplValidate(), and InvertTracking().
|
private |
Definition at line 200 of file window/clipping.cxx.
References Clip, GetParentClipMode(), GetStyle(), ImplExcludeWindowRegion(), mpWindowImpl, NoClip, and WB_CLIPCHILDREN.
Referenced by ImplInitWinChildClipRegion(), ImplInvalidate(), ImplScroll(), and ImplValidate().
|
private |
Definition at line 234 of file window/clipping.cxx.
References ImplExcludeWindowRegion(), ImplGetParent(), and mpWindowImpl.
Referenced by ImplInitWinClipRegion().
void vcl::Window::ImplControlFocus | ( | GetFocusFlags | nFlags = GetFocusFlags::NONE | ) |
Definition at line 516 of file dlgctrl.cxx.
References CHECKBOX, GetType(), RadioButton::ImplCallClick(), ImplGrabFocus(), RadioButton::IsChecked(), Mnemonic, mpWindowImpl, RADIOBUTTON, and UniqueMnemonic.
Referenced by EventNotify(), TabControl::GetFocus(), Dialog::GrabFocusToFirstControl(), ToolBox::ImplActivateItem(), TabControl::ImplChangeTabPage(), ImplDlgCtrl(), ImplDlgCtrlNextWindow(), and ToolBox::KeyInput().
|
private |
Definition at line 621 of file dlgctrl.cxx.
References Around, Backward, CANCELBUTTON, CompatGetFocus(), CompatLoseFocus(), CURSOR, First, Forward, KeyEvent::GetCharCode(), vcl::KeyCode::GetCode(), GetDialogControlFlags(), GETFOCUS, Application::GetFocusWindow(), KeyEvent::GetKeyCode(), GetStyle(), GetType(), i, ImplCallPreNotify(), ImplControlFocus(), ImplFindAccelWindow(), ImplFindDlgCtrlWindow(), ImplGetChildWindow(), ImplGetDlgWindow(), ImplGetNextWindow(), ImplGetParent(), ImplGetWindow(), ImplIsWindowOrChild(), IsDialogControlStart(), vcl::KeyCode::IsMod1(), vcl::KeyCode::IsMod2(), vcl::KeyCode::IsShift(), KEY_DOWN, KEY_ESCAPE, KEY_LEFT, KEY_RETURN, KEY_RIGHT, KEY_TAB, KEY_UP, LOSEFOCUS, Mnemonic, mpWindowImpl, Next, nextLogicalChildOfParent(), nIndex, NONE, nType, Prev, prevLogicalChildOfParent(), RADIOBUTTON, Return, Tab, UniqueMnemonic, WB_DEFBUTTON, WB_GROUP, and WB_NODIALOGCONTROL.
Referenced by EventNotify().
|
private |
Definition at line 1091 of file dlgctrl.cxx.
References vcl::ImplDlgCtrlUpdateDefButton(), and mpWindowImpl.
Referenced by EventNotify().
|
private |
Definition at line 1003 of file dlgctrl.cxx.
References GetStyle(), ImplControlFocus(), ImplFindDlgCtrlWindow(), ImplGetDlgWindow(), ImplGetParent(), ImplIsOverlapWindow(), Next, nIndex, WB_DIALOGCONTROL, and WB_NODIALOGCONTROL.
Referenced by Enable().
|
private |
Definition at line 33 of file globalization.cxx.
References CompatStateChanged(), Mirroring, and mpWindowImpl.
Referenced by vcl::WindowOutputDevice::EnableRTL().
|
private |
Definition at line 523 of file window/clipping.cxx.
References ImplExcludeOverlapWindows(), ImplExcludeWindowRegion(), and mpWindowImpl.
Referenced by ImplClipBoundaries(), ImplExcludeOverlapWindows(), and ImplExcludeOverlapWindows2().
|
private |
Definition at line 538 of file window/clipping.cxx.
References ImplExcludeOverlapWindows(), ImplExcludeWindowRegion(), and mpWindowImpl.
Referenced by ImplClipBoundaries().
|
private |
Definition at line 509 of file window/clipping.cxx.
References vcl::Region::Exclude(), GetOutDev(), GetOutputRectPixel(), vcl::Region::Intersect(), and mpWindowImpl.
Referenced by ImplCalcOverlapRegion(), ImplClipAllChildren(), ImplClipChildren(), ImplClipSiblings(), ImplExcludeOverlapWindows(), ImplExcludeOverlapWindows2(), and ImplPosSizeWindow().
|
private |
Definition at line 1102 of file dlgctrl.cxx.
References ImplFindDlgCtrlWindow(), and nIndex.
Referenced by Dialog::GetFirstControlForFocus(), getLegacyNonLayoutAccessibleRelationMemberOf(), ImplDlgCtrl(), and ImplDlgCtrlNextWindow().
vcl::Window * vcl::Window::ImplFindWindow | ( | const Point & | rFramePos | ) |
Definition at line 628 of file stacking.cxx.
References ImplFindWindow(), ImplHitTest(), Inside, mpWindowImpl, and Transparent.
Referenced by DNDEventDispatcher::findTopLevelWindow(), ImplFindWindow(), and ImplHandleMouseEvent().
|
private |
Definition at line 361 of file stacking.cxx.
References GrabFocus, GrabFocus(), HasChildPathFocus(), ImplGenerateMouseMove(), ImplGetParent(), ImplIsOverlapWindow(), mpWindowImpl, and NoGrabFocus.
Point vcl::Window::ImplFrameToOutput | ( | const Point & | rPos | ) |
Definition at line 981 of file window2.cxx.
References GetOutDev(), and Point.
Referenced by EndTracking(), DNDEventDispatcher::fireDragEnterEvent(), DNDEventDispatcher::fireDragGestureEvent(), DNDEventDispatcher::fireDragOverEvent(), DNDEventDispatcher::fireDropActionChangedEvent(), DNDEventDispatcher::fireDropEvent(), GetLastPointerPosPixel(), GetPointerPosPixel(), GetPointerState(), IMPL_LINK_NOARG(), ImplCallWheelCommand(), ImplHandleMouseEvent(), ImplLOKHandleMouseEvent(), ImplDockingWindowWrapper::Tracking(), and DockingWindow::Tracking().
void vcl::Window::ImplGenerateMouseMove | ( | ) |
Definition at line 157 of file mouse.cxx.
References LINK, mpWindowImpl, and Application::PostUserEvent().
Referenced by Enable(), EnableInput(), Help::EndExtHelp(), ImplFocusToTop(), ReleaseMouse(), setPosSizePixel(), Show(), and Help::StartExtHelp().
|
protected |
Definition at line 909 of file window2.cxx.
References mpWindowImpl.
Referenced by SystemWindow::Close(), ImplListBoxFloatingWindow::ImplListBoxFloatingWindow(), queue_resize(), SetExtendedStyle(), and Dialog::StateChanged().
vcl::Window * vcl::Window::ImplGetClientWindow | ( | ) | const |
Definition at line 904 of file window2.cxx.
References mpWindowImpl.
Referenced by DNDEventDispatcher::findTopLevelWindow(), ImplBorderWindow::GetOptimalSize(), ImplToTop(), ImplStdBorderWindowView::MouseButtonDown(), ImplBorderWindow::Resize(), Application::SetSettings(), ImplStdBorderWindowView::Tracking(), and ImplBorderWindow::UpdateView().
vcl::Window * vcl::Window::ImplGetDlgWindow | ( | sal_uInt16 | n, |
GetDlgWindowType | nType, | ||
sal_uInt16 | nStart = 0 , |
||
sal_uInt16 | nEnd = 0xFFFF , |
||
sal_uInt16 * | pIndex = nullptr |
||
) |
Definition at line 205 of file dlgctrl.cxx.
References First, GetStyle(), GetType(), i, ImplGetChildWindow(), ImplGetDlgWindow(), ImplGetNextWindow(), IsChild(), isEnabledInLayout(), vcl::lcl_ToolBoxTabStop(), Next, nIndex, nType, Prev, SAL_WARN_IF, TABCONTROL, TOOLBOX, and WB_TABSTOP.
Referenced by SalInstanceContainer::child_grab_focus(), EventNotify(), Dialog::GetFirstControlForFocus(), TabControl::GetFocus(), TabControl::ImplChangeTabPage(), ImplDlgCtrl(), ImplDlgCtrlNextWindow(), ImplFindAccelWindow(), ImplGetDlgWindow(), and ToolBox::KeyInput().
|
private |
Definition at line 914 of file window2.cxx.
References mpWindowImpl.
Referenced by dispose(), EnableInput(), Dialog::GetFirstControlForFocus(), IMPL_LINK_NOARG(), ImplGrabFocus(), Dialog::ImplStartExecute(), ImplUpdateAll(), PaintImmediately(), and SetParent().
|
private |
Definition at line 927 of file window2.cxx.
References mpWindowImpl.
SalFrame * vcl::Window::ImplGetFrame | ( | ) | const |
Definition at line 882 of file window2.cxx.
References mpWindowImpl.
Referenced by MenuFloatingWindow::ApplySettings(), Sound::Beep(), Dialog::EndDialog(), EndExtTextInput(), SalInstanceWindow::get_modal(), GetFrameWeld(), GetFrameWindow(), MenuItemList::GetItemCount(), vcl::KeyCode::GetName(), SystemChildWindow::GetParentWindowHandle(), Help::HidePopover(), ImplHandleMouseFloatMode(), MenuBarWindow::ImplInitStyleSettings(), SystemChildWindow::ImplInitSysChild(), Edit::ImplInvalidateOutermostBorder(), ImplNewInputContext(), ImplSetMousePointer(), ImplShowHelpWindow(), ImplUpdateGlobalSettings(), Application::PostUserEvent(), MenuItemList::SearchItem(), SalInstanceWindow::set_modal(), MiscSettings::SetDarkMode(), SetExtendedStyle(), MenuBarWindow::SetMenu(), SetModalHierarchyHdl(), Dialog::SetModalInputMode(), WorkWindow::ShowFullScreenMode(), Help::ShowPopover(), FloatingWindow::StartPopupMode(), and Help::UpdatePopover().
ImplFrameData * vcl::Window::ImplGetFrameData | ( | ) |
Definition at line 877 of file window2.cxx.
References mpWindowImpl.
Referenced by ImplHandleMouseEvent(), ImplLOKHandleMouseEvent(), ImplSysChildProc(), LocalStartDrag(), and MenuBarWindow::PopupClosed().
|
private |
Definition at line 1290 of file window.cxx.
References OutputDevice::AcquireGraphics(), and mpWindowImpl.
Referenced by ImplPosSizeWindow(), ImplScroll(), and InvertTracking().
vcl::Window * vcl::Window::ImplGetFrameWindow | ( | ) | const |
Definition at line 940 of file window2.cxx.
References mpWindowImpl.
Referenced by ToolBox::Docking(), ImplSmallBorderWindowView::DrawWindow(), Dialog::EndDialog(), SystemWindow::EventNotify(), DockingWindow::GetFloatingPos(), getLegacyNonLayoutAccessibleRelationLabeledBy(), getLegacyNonLayoutAccessibleRelationLabelFor(), getLegacyNonLayoutAccessibleRelationMemberOf(), SystemWindow::GetTaskPaneList(), Help::HidePopover(), FloatingWindow::ImplCalcPos(), ImplGetTopDockingAreaHeight(), ImplGrabFocusToDocument(), ImplHandleMouseEvent(), ImplSetHelpWindowPos(), DockingWindow::ImplStartDocking(), ImplDockingWindowWrapper::ImplStartDocking(), ImplSysChildProc(), ToolBox::KeyInput(), MenuBarWindow::PopupClosed(), SystemWindow::PreNotify(), ToolBox::ToggleFloatingMode(), ImplDockingWindowWrapper::Tracking(), DockingWindow::Tracking(), and ImplStdBorderWindowView::Tracking().
PointerStyle vcl::Window::ImplGetMousePointer | ( | ) | const |
Definition at line 93 of file mouse.cxx.
References Arrow, GetPointer(), ImplGetParent(), ImplIsOverlapWindow(), IsEnabled(), IsInModalMode(), IsInputEnabled(), mpWindowImpl, Null, and Wait.
Referenced by EnableChildPointerOverwrite(), EnterWait(), ImplSetMousePointer(), LeaveWait(), ImplWheelWindow::MouseMove(), SetPointer(), and ShowPointer().
|
private |
Definition at line 852 of file window2.cxx.
References ImplGetTopmostFrameWindow(), and mpWindowImpl.
Referenced by dispose(), ImplInit(), and SetParent().
vcl::Window * vcl::Window::ImplGetParent | ( | ) | const |
Definition at line 899 of file window2.cxx.
References mpWindowImpl.
Referenced by Dialog::EndDialog(), ToolBox::EventNotify(), GetWindow(), HasPaintEvent(), ImplCalcOverlapRegion(), ImplCallActivateListeners(), ImplCallDeactivateListeners(), ImplCallMove(), ImplClipBoundaries(), ImplClipSiblings(), ImplDlgCtrl(), ImplDlgCtrlNextWindow(), ImplFocusToTop(), ImplGetMousePointer(), ImplGetTopmostFrameWindow(), ImplHasDlgCtrl(), ImplInsertWindow(), ImplInvalidate(), ImplInvalidateFrameRegion(), ImplInvalidateParentFrameRegion(), ImplIsChild(), ImplMoveAllInvalidateRegions(), ImplNotifyKeyMouseCommandEventListeners(), ImplSetClipFlag(), ImplUpdateOverlapWindowPtr(), ImplUpdatePos(), IsChild(), ToolBox::KeyInput(), PaintImmediately(), RequestHelp(), SetZOrder(), Show(), and SystemWindow::UpdatePositionData().
|
private |
Definition at line 50 of file stacking.cxx.
References ImplGetParent(), and mpWindowImpl.
Referenced by ImplGetOwnerDrawList().
|
private |
Definition at line 2822 of file window.cxx.
References GetOutDev(), OutputDevice::HasMirroredGraphics(), ImplIsOverlapWindow(), OutputDevice::mnOutOffX, OutputDevice::mnOutWidth, and mpWindowImpl.
Referenced by NormalizedScreenToOutputPixel(), and OutputToNormalizedScreenPixel().
|
private |
Definition at line 289 of file window/clipping.cxx.
References ImplInitWinChildClipRegion(), ImplInitWinClipRegion(), and mpWindowImpl.
Referenced by PaintHelper::DoPaint(), ExpandPaintClipRegion(), ImplInvalidateFrameRegion(), ImplSysObjClip(), and vcl::WindowOutputDevice::InitClipRegion().
ImplWinData * vcl::Window::ImplGetWinData | ( | ) | const |
Definition at line 1227 of file window.cxx.
References mpWindowImpl.
Referenced by EnableNativeWidget(), GetCursorExtTextInputWidth(), GetCursorRect(), GetWindow(), HideFocus(), HideTracking(), ImplHandleEndExtTextInput(), ImplHandleExtTextInput(), ImplHandleMouseEvent(), ImplHandleSalQueryCharPosition(), ImplInit(), IsMouseOver(), IsNativeWidgetEnabled(), IsTopWindow(), SetCompositionCharRect(), SetCursorRect(), ShowFocus(), and ShowTracking().
vcl::Window * vcl::Window::ImplGetWindow | ( | ) | const |
if this is a proxy return the client, otherwise itself
Definition at line 869 of file window2.cxx.
References mpWindowImpl.
Referenced by ImplBorderWindow::DataChanged(), SystemWindow::EventNotify(), GenerateAutoMnemonicsOnHierarchy(), VclBuilder::get_window_packing_data(), GetAccessibleDescription(), getDefaultAccessibleRole(), Dialog::GetDefDialogParent(), SystemWindow::GetTaskPaneList(), Application::GetTopWindow(), Application::GetTopWindowCount(), HasActiveChildFrame(), IMPL_LINK_NOARG(), ImplActivateFloatingWindows(), ImplCallFocusChangeActivate(), ImplDlgCtrl(), ImplFindDlgCtrlWindow(), ImplGetCurTabWindow(), ImplGetSubChildWindow(), ImplGetTopParentOfTabHierarchy(), ImplGrabFocus(), ImplHandleClose(), ImplHandleControlAccelerator(), ImplHandleMouseEvent(), ImplHandleMove(), ImplHasIndirectTabParent(), SystemWindow::PreNotify(), ImplBorderWindow::SetBorderStyle(), SetParent(), SystemWindow::SetWindowState(), and ImplStdBorderWindowView::Tracking().
|
private |
Definition at line 2923 of file window.cxx.
References AbsoluteScreenToOutputPixel(), Size::AdjustHeight(), Size::AdjustWidth(), SalFrameGeometry::bottomDecoration(), GetSizePixel(), GetType(), SalFrameGeometry::leftDecoration(), mpWindowImpl, OutputToScreenPixel(), Point, SalFrameGeometry::rightDecoration(), SalFrameGeometry::topDecoration(), WORKWINDOW, vcl::WindowPosSize::x(), and vcl::WindowPosSize::y().
Referenced by GetWindowExtentsRelative().
|
inline |
Definition at line 528 of file window.hxx.
Referenced by StatusBar::ApplySettings(), PaintHelper::DoPaint(), SalInstanceWidget::DoRecursivePaint(), AnimationRenderer::draw(), DrawProgress(), AnimationRenderer::drawToIndex(), Erase(), MenuBarWindow::GetMenuBarButtonRectPixel(), IMPL_LINK_NOARG(), ImplActivateFloatingWindows(), Menu::ImplCalcSize(), ImplCallCommand(), ImplCallWheelCommand(), Edit::ImplClearBackground(), ImplCursorInvert(), ImplGetKeyInputWindow(), ImplHandleEndExtTextInput(), ImplHandleExtTextInput(), ImplHandleGetFocus(), ImplHandleKey(), ImplHandleLoseFocus(), ImplHandleMenuEvent(), ImplHandleMouseEvent(), ImplHandleMove(), ImplHandlePaint(), ImplHandleSalKeyMod(), ToolBox::ImplHideFocus(), ToolBox::ImplInit(), TabControl::ImplInitSettings(), CheckBox::ImplInitSettings(), ToolBox::ImplInitToolBoxData(), ImplLOKHandleMouseEvent(), ToolBox::ImplShowFocus(), ImplWin::ImplWin(), ImplWindowFrameProc(), KillOwnPopups(), VclBuilder::makeObject(), ToolBox::MouseMove(), StatusBar::PaintSelfAndChildrenImmediately(), BuilderUtils::reorderWithinParent(), SalInstanceWidget::set_background(), SetFakeFocus(), Splitter::Splitter(), InterimItemWindow::UnclipVisibleSysObj(), and PaintHelper::~PaintHelper().
void vcl::Window::ImplGrabFocus | ( | GetFocusFlags | nFlags | ) |
Definition at line 195 of file mouse.cxx.
References Activate(), CompatGetFocus(), CompatLoseFocus(), EndExtTextInput(), FloatWinPopupModeEndCancel, VclPtr< reference_type >::get(), GetDialogControlFlags(), GETFOCUS, GetStyle(), GrabFocus, GrabFocusOnly, ImplCallActivateListeners(), ImplCallDeactivateListeners(), ImplCallFocusChangeActivate(), ImplCallPreNotify(), ImplGetFirstOverlapWindow(), ImplGetSVData(), ImplGetWindow(), ImplNewInputContext(), VclReferenceBase::isDisposed(), IsEnabled(), IsInModalMode(), IsInputEnabled(), vcl::IsWindowFocused(), LOSEFOCUS, ImplSVData::maFrameData, ImplSVWinData::mpExtTextInputWin, ImplSVFrameData::mpFirstFrame, ImplSVWinData::mpFocusWin, ImplSVData::mpWinData, mpWindowImpl, NONE, WantFocus, WB_MOVEABLE, and WB_SYSTEMFLOATWIN.
Referenced by ToolBox::ChangeHighlight(), Edit::GetFocus(), GrabFocus(), RadioButton::ImplCallClick(), ImplControlFocus(), ImplGrabFocusToDocument(), and ImplTaskPaneListGrabFocus().
void vcl::Window::ImplGrabFocusToDocument | ( | GetFocusFlags | nFlags | ) |
Definition at line 399 of file mouse.cxx.
References Client, GetParent(), GetWindow(), ImplGetFrameWindow(), ImplGrabFocus(), and mpWindowImpl.
Referenced by GrabFocusToDocument(), and TaskPaneList::HandleKeyEvent().
|
staticprivate |
Definition at line 830 of file window2.cxx.
References vcl::lcl_HandleScrollHelper().
Referenced by HandleScrollCommand().
|
private |
Definition at line 989 of file dlgctrl.cxx.
References GetStyle(), ImplGetParent(), ImplIsOverlapWindow(), WB_DIALOGCONTROL, and WB_NODIALOGCONTROL.
|
private |
Definition at line 403 of file stacking.cxx.
References IsVisible(), mpWindowImpl, and Show().
Referenced by Show().
|
protectedvirtual |
Definition at line 57 of file mouse.cxx.
References GetOutDev(), GetOutputRectPixel(), Inside, mpWindowImpl, NONE, Point, OutputDevice::ReMirror(), and Transparent.
Referenced by ImplFindWindow().
|
protected |
Definition at line 942 of file window.cxx.
References OutputDevice::AcquireGraphics(), BORDERWINDOW, CLOSEABLE, vcl::CountDPIScaleFactor(), SalInstance::CreateChildFrame(), SalInstance::CreateFrame(), DEFAULT, DIALOG, ERRORBOX, FIXEDIMAGE, FLOAT, Frame, StyleSettings::GetAppFont(), StyleSettings::GetButtonTextColor(), OutputDevice::GetDefaultFont(), StyleSettings::GetFaceColor(), AllSettings::GetLayoutRTL(), GetOutDev(), GetSettings(), GetStyle(), GetType(), StyleSettings::GetWindowColor(), StyleSettings::GetWindowTextColor(), ImplGetOwnerDrawList(), ImplGetSVData(), ImplGetWinData(), ImplInitAppFontData(), ImplInsertWindow(), ImplIsOverlapWindow(), ImplPointToLogic(), ImplUpdateGlobalSettings(), ImplUpdatePos(), ImplWindowFrameProc(), INFOBOX, INTRO, utl::ConfigManager::IsFuzzing(), IsTopWindow(), LANGUAGE_ENGLISH_US, ImplSVData::maAppData, ImplSVData::maGDIData, ImplWinData::maTopWindowChildren, ImplSVAppData::mbSettingsInit, MESSBOX, ImplSVGDIData::mnAppFontX, MODELESSDIALOG, MOVEABLE, ImplSVData::mpDefInst, mpWindowImpl, ImplSVAppData::mxSettings, NOICON, NONE, NOSHADOW, OWNERDRAWDECORATION, PLUG, QUERYBOX, RequestDoubleBuffering(), SAL_WARN_IF, SetBackground(), SalFrame::SetCallback(), SetTextColor(), SIZEABLE, SYSTEMCHILD, TABDIALOG, TOOLTIP, TOOLWINDOW, WARNINGBOX, WB_3DLOOK, WB_APP, WB_BORDER, WB_CLOSEABLE, WB_DEFAULTWIN, WB_DIALOGCONTROL, WB_INTROWIN, WB_MOVEABLE, WB_NODIALOGCONTROL, WB_NOSHADOW, WB_OWNERDRAWDECORATION, WB_SIZEABLE, WB_SYSTEMCHILDWINDOW, WB_SYSTEMFLOATWIN, and WB_TOOLTIPWIN.
Referenced by Dialog::AddBorderWindow(), Control::Control(), TabControl::ImplInit(), PushButton::ImplInit(), CheckBox::ImplInit(), RadioButton::ImplInit(), Edit::ImplInit(), FixedText::ImplInit(), FixedLine::ImplInit(), FixedBitmap::ImplInit(), FixedImage::ImplInit(), ListBox::ImplInit(), ScrollBar::ImplInit(), Slider::ImplInit(), Dialog::ImplInitDialog(), FloatingWindow::ImplInitFloating(), VclContainer::VclContainer(), and Window().
|
static |
Definition at line 1185 of file window.cxx.
References approximate_char_width(), Editbox, ENABLED, Entire, tools::Rectangle::GetHeight(), GetNativeControlRegion(), GetTextHeight(), ImplGetSVData(), ImplSVData::maGDIData, ImplSVData::maNWFData, ImplSVNWFData::mbNoFocusRects, ImplSVGDIData::mnAppFontX, ImplSVGDIData::mnAppFontY, and Point.
Referenced by ImplCalcMapResolution(), ImplInit(), and Application::SetSettings().
|
private |
Definition at line 1348 of file window.cxx.
References vcl::CountDPIScaleFactor(), StyleSettings::GetAppFont(), GetMapMode(), GetOutDev(), IsMapModeEnabled(), OutputDevice::mnDPIScalePercentage, OutputDevice::mnDPIX, OutputDevice::mnDPIY, OutputDevice::moSettings, mpWindowImpl, SetMapMode(), and SetPointFont().
Referenced by vcl::WindowOutputDevice::SetSettings(), and UpdateSettings().
|
private |
Definition at line 270 of file window/clipping.cxx.
References ImplClipChildren(), and mpWindowImpl.
Referenced by ImplGetWinChildClipRegion().
|
private |
Definition at line 249 of file window/clipping.cxx.
References GetOutDev(), GetOutputRectPixel(), GetStyle(), ImplClipBoundaries(), ImplClipSiblings(), ImplIsOverlapWindow(), mpWindowImpl, and WB_CLIPCHILDREN.
Referenced by GetWindowClipRegionPixel(), ImplGetWinChildClipRegion(), ImplIntersectWindowClipRegion(), and Show().
|
private |
Definition at line 58 of file stacking.cxx.
References ImplGetParent(), ImplIsOverlapWindow(), and mpWindowImpl.
Referenced by ImplInit(), ImplUpdateOverlapWindowPtr(), and SetParent().
|
private |
Definition at line 546 of file window/clipping.cxx.
References ImplIntersectAndUnionOverlapWindows(), ImplIntersectWindowRegion(), mpWindowImpl, and vcl::Region::Union().
Referenced by ImplCalcOverlapRegionOverlaps(), ImplIntersectAndUnionOverlapWindows(), and ImplIntersectAndUnionOverlapWindows2().
|
private |
Definition at line 563 of file window/clipping.cxx.
References ImplIntersectAndUnionOverlapWindows(), ImplIntersectWindowRegion(), mpWindowImpl, and vcl::Region::Union().
Referenced by ImplCalcOverlapRegionOverlaps().
|
private |
Definition at line 494 of file window/clipping.cxx.
References ImplInitWinClipRegion(), vcl::Region::Intersect(), and mpWindowImpl.
Referenced by ImplClipBoundaries().
|
private |
Definition at line 502 of file window/clipping.cxx.
References GetOutDev(), GetOutputRectPixel(), vcl::Region::Intersect(), and mpWindowImpl.
Referenced by ImplCalcOverlapRegion(), ImplIntersectAndUnionOverlapWindows(), and ImplIntersectAndUnionOverlapWindows2().
|
protected |
Definition at line 780 of file paint.cxx.
References Children, GetOutDev(), GetOutputRectPixel(), GetStyle(), ImplClipAllChildren(), ImplClipBoundaries(), ImplClipChildren(), ImplGetParent(), ImplInvalidateFrameRegion(), ImplIsOverlapWindow(), vcl::Region::Intersect(), vcl::Region::IsEmpty(), IsPaintTransparent(), mpWindowImpl, NoChildren, NoClipChildren, NoTransparent, PaintImmediately(), OutputDevice::ReMirror(), Transparent, Update, and WB_CLIPCHILDREN.
Referenced by Invalidate(), and Show().
void vcl::Window::ImplInvalidateFrameRegion | ( | const vcl::Region * | pRegion, |
InvalidateFlags | nFlags | ||
) |
Definition at line 689 of file paint.cxx.
References Children, Erase, ImplGetParent(), ImplGetWinChildClipRegion(), ImplInvalidateFrameRegion(), ImplIsOverlapWindow(), IsPaintTransparent(), mpWindowImpl, NoErase, NONE, NoTransparent, Paint, PaintAll, PaintAllChildren, PaintChildren, and Transparent.
Referenced by ImplInvalidate(), ImplInvalidateFrameRegion(), ImplInvalidateOverlapFrameRegion(), ImplInvalidateParentFrameRegion(), ImplMoveAllInvalidateRegions(), ImplPosSizeWindow(), ImplScroll(), and ImplStartToTop().
void vcl::Window::ImplInvalidateOverlapFrameRegion | ( | const vcl::Region & | rRegion | ) |
Definition at line 750 of file paint.cxx.
References Children, ImplClipBoundaries(), ImplInvalidateFrameRegion(), ImplInvalidateOverlapFrameRegion(), vcl::Region::IsEmpty(), IsVisible(), and mpWindowImpl.
Referenced by ImplHandlePaint(), ImplInvalidateOverlapFrameRegion(), ImplUpdateAll(), and PaintImmediately().
|
protected |
Definition at line 769 of file paint.cxx.
References Children, ImplGetParent(), ImplInvalidateFrameRegion(), and mpWindowImpl.
Referenced by ImplPosSizeWindow(), SetWindowRegionPixel(), and Show().
void vcl::Window::ImplInvertFocus | ( | const tools::Rectangle & | rRect | ) |
Definition at line 176 of file mouse.cxx.
References InvertTracking(), Small, and TrackWindow.
Referenced by HideFocus(), ImplScroll(), PopPaintHelper(), and ShowFocus().
|
private |
Definition at line 93 of file accessibility.cxx.
References mpWindowImpl, WB_MOVEABLE, and WB_SIZEABLE.
Referenced by dispose(), GetAccessibleParentWindow(), ImplResetReallyVisible(), and ImplSetReallyVisible().
|
private |
Definition at line 105 of file accessibility.cxx.
References mpWindowImpl, WB_MOVEABLE, and WB_SIZEABLE.
Referenced by dispose(), GetAccessibleParentWindow(), and getDefaultAccessibleRole().
bool vcl::Window::ImplIsChild | ( | const vcl::Window * | pWindow, |
bool | bSystemWindow = false |
||
) | const |
Definition at line 682 of file stacking.cxx.
References ImplGetParent(), and ImplIsOverlapWindow().
Referenced by SalInstanceWidget::HandleMouseEventListener(), HasActiveChildFrame(), ImplCallActivateListeners(), ImplCallDeactivateListeners(), ImplIsWindowOrChild(), and IsWindowOrChild().
bool vcl::Window::ImplIsFloatingWindow | ( | ) | const |
Definition at line 950 of file window2.cxx.
References mpWindowImpl.
Referenced by EnableInput(), HasActiveChildFrame(), ImplHandleClose(), ImplHandleMove(), ImplTaskPaneListGrabFocus(), and ImplStdBorderWindowView::Tracking().
void vcl::Window::ImplIsInTaskPaneList | ( | bool | mbIsInTaskList | ) |
Definition at line 3632 of file window.cxx.
References mpWindowImpl.
Referenced by TaskPaneList::AddWindow(), and TaskPaneList::RemoveWindow().
bool vcl::Window::ImplIsOverlapWindow | ( | ) | const |
Definition at line 965 of file window2.cxx.
References mpWindowImpl.
Referenced by dispose(), EventNotify(), GetWindow(), HasPaintEvent(), ImplCalcOverlapRegion(), ImplCalcOverlapRegionOverlaps(), ImplCalcToTop(), ImplClipBoundaries(), ImplDlgCtrlNextWindow(), ImplFocusToTop(), ImplGetMousePointer(), ImplGetUnmirroredOutOffX(), ImplHasDlgCtrl(), ImplInit(), ImplInitWinClipRegion(), ImplInsertWindow(), ImplInvalidate(), ImplInvalidateFrameRegion(), ImplIsChild(), ImplMoveAllInvalidateRegions(), ImplPosSizeWindow(), ImplRemoveWindow(), ImplSetClipFlag(), ImplStartToTop(), ImplToBottomChild(), ImplToTop(), ImplUpdatePos(), ImplUpdateSysObjClip(), ImplUpdateWindowPtr(), IsChild(), PaintImmediately(), PreNotify(), RequestHelp(), SetParent(), SetParentClipMode(), SetZOrder(), and Show().
bool vcl::Window::ImplIsPushButton | ( | ) | const |
Definition at line 960 of file window2.cxx.
References mpWindowImpl.
Referenced by vcl::ImplDlgCtrlUpdateDefButton(), and ImplGetDefaultButton().
|
private |
Definition at line 669 of file stacking.cxx.
References GetParent().
Referenced by dispose(), ImplSetFrameParent(), IsAncestorOf(), SetParent(), and SystemWindow::SetWindowState().
bool vcl::Window::ImplIsSplitter | ( | ) | const |
Definition at line 955 of file window2.cxx.
References mpWindowImpl.
Referenced by Splitter::ImplFindSibling().
bool vcl::Window::ImplIsWindowOrChild | ( | const vcl::Window * | pWindow, |
bool | bSystemWindow = false |
||
) | const |
Definition at line 699 of file stacking.cxx.
References ImplIsChild().
Referenced by EnableInput(), CalendarField::FocusWindowBelongsToControl(), HasChildPathFocus(), ImplDlgCtrl(), vcl::ImplDlgCtrlUpdateDefButton(), FloatingWindow::ImplEndPopupMode(), ImplFindDlgCtrlWindow(), ImplHandleExtTextInputPos(), ImplHandleSalQueryCharPosition(), KillOwnPopups(), and Show().
|
private |
Definition at line 1398 of file window.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), vcl::Font::GetFontSize(), Size::Height(), OutputDevice::IsMapModeEnabled(), OutputDevice::LogicToPixel(), mpWindowImpl, vcl::Font::SetFontSize(), Size::setHeight(), Size::setWidth(), and Size::Width().
Referenced by GetPointFont().
void vcl::Window::ImplMirrorFramePos | ( | Point & | pt | ) | const |
Definition at line 3592 of file window.cxx.
References mpWindowImpl, and pt.
Referenced by DNDEventDispatcher::findTopLevelWindow().
|
protected |
Definition at line 883 of file paint.cxx.
References Children, ImplGetParent(), ImplInvalidateFrameRegion(), ImplIsOverlapWindow(), ImplMoveInvalidateRegion(), vcl::Region::IsEmpty(), vcl::Region::Move(), mpWindowImpl, NONE, PaintAll, PaintAllChildren, vcl::Region::SetEmpty(), and vcl::Region::Union().
Referenced by vcl::WindowOutputDevice::CopyDeviceArea(), ImplPosSizeWindow(), and ImplScroll().
|
protected |
Definition at line 860 of file paint.cxx.
References ImplMoveInvalidateRegion(), vcl::Region::Intersect(), vcl::Region::Move(), mpWindowImpl, Paint, PaintAll, and PaintChildren.
Referenced by ImplMoveAllInvalidateRegions(), and ImplMoveInvalidateRegion().
|
staticprivate |
Definition at line 1744 of file window.cxx.
References vcl::Font::GetFamilyName(), InputContext::GetFont(), vcl::Font::GetFontSize(), GetInputContext(), InputContext::GetOptions(), GetOutDev(), Size::Height(), ImplGetFrame(), ImplGetSVData(), OutputDevice::ImplLogicToDevicePixel(), VclReferenceBase::isDisposed(), OutputDevice::mnDPIY, SalInputContext::mnOptions, ImplSVWinData::mpFocusWin, SalInputContext::mpFont, ImplSVData::mpWinData, mpWindowImpl, OutputDevice::mxFontCache, OutputDevice::mxFontCollection, Size::setHeight(), and SalFrame::SetInputContext().
Referenced by ImplGrabFocus(), and SetInputContext().
void vcl::Window::ImplNotifyIconifiedState | ( | bool | bIconified | ) |
Definition at line 3637 of file window.cxx.
References mpWindowImpl, WindowMinimize, and WindowNormalize.
void vcl::Window::ImplNotifyKeyMouseCommandEventListeners | ( | NotifyEvent & | rNEvt | ) |
Definition at line 382 of file event.cxx.
References CallEventListeners(), COMMAND, ContextMenu, CommandEvent::GetCommand(), NotifyEvent::GetCommandEvent(), CommandEvent::GetEventData(), NotifyEvent::GetKeyEvent(), NotifyEvent::GetMouseEvent(), CommandEvent::GetMousePosPixel(), NotifyEvent::GetType(), NotifyEvent::GetWindow(), ImplGetParent(), ImplNotifyKeyMouseCommandEventListeners(), vcl::ImplTranslateMouseEvent(), IsCompoundControl(), VclReferenceBase::isDisposed(), CommandEvent::IsMouseEvent(), KEYINPUT, KEYUP, MOUSEBUTTONDOWN, MOUSEBUTTONUP, MOUSEMOVE, mpWindowImpl, OutputToScreenPixel(), Point, ScreenToOutputPixel(), WindowCommand, WindowKeyInput, WindowKeyUp, WindowMouseButtonDown, WindowMouseButtonUp, and WindowMouseMove.
Referenced by ImplCallCommand(), ImplHandleKey(), ImplHandleMouseEvent(), and ImplNotifyKeyMouseCommandEventListeners().
|
protected |
Definition at line 976 of file window2.cxx.
References GetOutDev(), and Point.
Referenced by DockingWindow::ImplStartDocking(), ImplDockingWindowWrapper::ImplStartDocking(), SetLastMousePos(), SetPointerPosPixel(), ImplDockingWindowWrapper::Tracking(), and DockingWindow::Tracking().
|
private |
Definition at line 2879 of file window.cxx.
References tools::Rectangle::BottomLeft(), mpWindowImpl, OutputToScreenPixel(), Point, tools::Rectangle::TopRight(), vcl::WindowPosSize::width(), vcl::WindowPosSize::x(), and vcl::WindowPosSize::y().
Referenced by FloatingWindow::ImplCalcPos(), FloatingWindow::ImplConvertToAbsPos(), and FloatingWindow::ImplFloatHitTest().
|
privatevirtual |
Reimplemented in InterimItemWindow.
Definition at line 1350 of file paint.cxx.
References VclPtr< reference_type >::disposeAndClear(), OutputDevice::DrawBitmapEx(), OutputDevice::DrawOutDev(), OutputDevice::EnableOutput(), Erase(), vcl::Font::GetAverageFontWidth(), OutputDevice::GetConnectMetaFile(), OutputDevice::GetDPIX(), OutputDevice::GetDPIY(), vcl::drawmode::GetFillColor(), GetFont(), vcl::Font::GetFontHeight(), vcl::drawmode::GetLineColor(), GetMapMode(), GetMapUnit(), GetOutDev(), GetOutOffYPixel(), GetOutputSizePixel(), GetOverlineColor(), GetParentClipMode(), tools::Rectangle::GetSize(), GetTextAlign(), GetTextColor(), GetTextFillColor(), GetTextLineColor(), OutputDevice::HasMirroredGraphics(), vcl::Region::Intersect(), comphelper::LibreOfficeKit::isActive(), IsBackground(), OutputDevice::IsOutputEnabled(), IsOverlineColor(), IsPaintTransparent(), IsRTLEnabled(), IsTextFillColor(), IsTextLineColor(), OutputDevice::mbDevOutput, OutputDevice::mnDPIX, OutputDevice::mnDPIY, OutputDevice::mnOutOffX, OutputDevice::mnOutWidth, mpWindowImpl, NoClip, Paint(), GDIMetaFile::Play(), Point, OutputDevice::Pop(), OutputDevice::Push(), SAL_WARN_IF, vcl::Font::SetAverageFontWidth(), OutputDevice::SetClipRegion(), OutputDevice::SetConnectMetaFile(), OutputDevice::SetDigitLanguage(), OutputDevice::SetFillColor(), SetFont(), vcl::Font::SetFontHeight(), OutputDevice::SetLayoutMode(), OutputDevice::SetLineColor(), SetOverlineColor(), OutputDevice::SetRasterOp(), OutputDevice::SetRefPoint(), SetTextAlign(), SetTextColor(), SetTextFillColor(), SetTextLineColor(), GDIMetaFile::WindStart(), and WITH_ALPHA.
Referenced by PaintToDevice().
|
private |
Definition at line 1378 of file window.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), vcl::Font::GetFontSize(), Size::Height(), OutputDevice::IsMapModeEnabled(), mpWindowImpl, OutputDevice::PixelToLogic(), vcl::Font::SetFontSize(), Size::setHeight(), Size::setWidth(), and Size::Width().
Referenced by ImplInit(), and SetPointFont().
void vcl::Window::ImplPosSizeWindow | ( | tools::Long | nX, |
tools::Long | nY, | ||
tools::Long | nWidth, | ||
tools::Long | nHeight, | ||
PosSizeFlags | nFlags | ||
) |
Definition at line 1462 of file window.cxx.
References Children, SalGraphics::CopyArea(), vcl::Region::Exclude(), GetOutDev(), GetOutputRectPixel(), OutputDevice::HasMirroredGraphics(), HasPaintEvent(), Height, ImplCalcOverlapRegion(), ImplCallMove(), ImplCallResize(), ImplClipBoundaries(), ImplExcludeWindowRegion(), ImplGetFrameGraphics(), ImplInvalidateFrameRegion(), ImplInvalidateParentFrameRegion(), ImplIsOverlapWindow(), ImplMoveAllInvalidateRegions(), ImplSetClipFlag(), ImplUpdatePos(), ImplUpdateSysObjClip(), ImplUpdateSysObjPos(), vcl::Region::Intersect(), vcl::Region::IsEmpty(), IsReallyVisible(), IsVisible(), OutputDevice::mnOutHeight, OutputDevice::mnOutOffX, OutputDevice::mnOutOffY, OutputDevice::mnOutWidth, mpGraphics, mpWindowImpl, Point, OutputDevice::SelectClipRegion(), Width, X, and Y.
Referenced by ImplBorderWindow::Resize(), and setPosSizePixel().
|
private |
Definition at line 112 of file stacking.cxx.
References GetOutDev(), ImplIsOverlapWindow(), mpWindowImpl, and OutputDevice::ReleaseGraphics().
Referenced by dispose(), ImplUpdateOverlapWindowPtr(), reorderWithinParent(), and SetParent().
|
private |
Definition at line 706 of file stacking.cxx.
References CallEventListeners(), GetOutDev(), ImplIsAccessibleCandidate(), ImplResetReallyVisible(), OutputDevice::mbDevOutput, mpWindowImpl, and WindowHide.
Referenced by ImplResetReallyVisible(), and Show().
|
protected |
Definition at line 1635 of file paint.cxx.
References CheckRtl, Children, Clip, SalGraphics::CopyArea(), vcl::Region::Exclude(), tools::Rectangle::GetHeight(), GetOutDev(), GetOutputRectPixel(), GetPosPixel(), GetStyle(), tools::Rectangle::GetWidth(), ImplCalcOverlapRegion(), ImplClipAllChildren(), ImplClipBoundaries(), ImplClipChildren(), ImplGetFrameGraphics(), ImplInvalidateFrameRegion(), ImplInvertFocus(), OutputDevice::ImplIsAntiparallel(), OutputDevice::ImplLogicHeightToDevicePixel(), OutputDevice::ImplLogicWidthToDevicePixel(), ImplMoveAllInvalidateRegions(), vcl::Region::Intersect(), InvertTracking(), vcl::Region::IsEmpty(), OutputDevice::IsMapModeEnabled(), tools::Rectangle::Left(), vcl::Region::Move(), tools::Rectangle::Move(), mpWindowImpl, NoChildren, PaintImmediately(), Point, OutputDevice::ReMirror(), OutputDevice::SelectClipRegion(), SetPosPixel(), SupportsDoubleBuffering(), tools::Rectangle::Top(), TrackWindow, vcl::Region::Union(), Update, UseClipRegion, and WB_CLIPCHILDREN.
Referenced by Scroll().