Kaydet (Commit) f1d38f2a authored tarafından Chris Sherlock's avatar Chris Sherlock

vcl: cleanup window.h

Change-Id: Iea8323382f889705681236e364a9ef8b744fa9f2
üst df48d00f
...@@ -106,67 +106,67 @@ struct ImplWinData ...@@ -106,67 +106,67 @@ struct ImplWinData
Rectangle* mpTrackRect; Rectangle* mpTrackRect;
sal_uInt16 mnTrackFlags; sal_uInt16 mnTrackFlags;
sal_uInt16 mnIsTopWindow; sal_uInt16 mnIsTopWindow;
bool mbMouseOver; // tracks mouse over for native widget paint effect bool mbMouseOver; //< tracks mouse over for native widget paint effect
bool mbEnableNativeWidget; // toggle native widget rendering bool mbEnableNativeWidget; //< toggle native widget rendering
::std::list< Window* > ::std::list< Window* >
maTopWindowChildren; maTopWindowChildren;
}; };
struct ImplOverlapData struct ImplOverlapData
{ {
VirtualDevice* mpSaveBackDev; // saved background bitmap VirtualDevice* mpSaveBackDev; //< saved background bitmap
Region* mpSaveBackRgn; // saved region, which must be invalidated Region* mpSaveBackRgn; //< saved region, which must be invalidated
Window* mpNextBackWin; // next window with saved background Window* mpNextBackWin; //< next window with saved background
sal_uIntPtr mnSaveBackSize; // bitmap size of saved background sal_uIntPtr mnSaveBackSize; //< bitmap size of saved background
bool mbSaveBack; // sal_True: save background bool mbSaveBack; //< true: save background
sal_uInt8 mnTopLevel; // Level for Overlap-Window sal_uInt8 mnTopLevel; //< Level for Overlap-Window
}; };
struct ImplFrameData struct ImplFrameData
{ {
Timer maPaintTimer; // paint timer Timer maPaintTimer; //< paint timer
Timer maResizeTimer; // resize timer Timer maResizeTimer; //< resize timer
InputContext maOldInputContext; // last set Input Context InputContext maOldInputContext; //< last set Input Context
Window* mpNextFrame; // next frame window Window* mpNextFrame; //< next frame window
Window* mpFirstOverlap; // first overlap window Window* mpFirstOverlap; //< first overlap window
Window* mpFocusWin; // focus window (is also set, when frame doesn't have the focous) Window* mpFocusWin; //< focus window (is also set, when frame doesn't have the focous)
Window* mpMouseMoveWin; // last window, where MouseMove() called Window* mpMouseMoveWin; //< last window, where MouseMove() called
Window* mpMouseDownWin; // last window, where MouseButtonDown() called Window* mpMouseDownWin; //< last window, where MouseButtonDown() called
Window* mpFirstBackWin; // first overlap-window with saved background Window* mpFirstBackWin; //< first overlap-window with saved background
::std::vector<Window *> maOwnerDrawList; // List of system windows with owner draw decoration ::std::vector<Window *> maOwnerDrawList; //< List of system windows with owner draw decoration
PhysicalFontCollection* mpFontCollection; // Font-List for this frame PhysicalFontCollection* mpFontCollection; //< Font-List for this frame
ImplFontCache* mpFontCache; // Font-Cache for this frame ImplFontCache* mpFontCache; //< Font-Cache for this frame
sal_Int32 mnDPIX; // Original Screen Resolution sal_Int32 mnDPIX; //< Original Screen Resolution
sal_Int32 mnDPIY; // Original Screen Resolution sal_Int32 mnDPIY; //< Original Screen Resolution
ImplMapRes maMapUnitRes; // for LogicUnitToPixel ImplMapRes maMapUnitRes; //< for LogicUnitToPixel
sal_uIntPtr mnAllSaveBackSize; // size of all bitmaps of saved backgrounds sal_uIntPtr mnAllSaveBackSize; //< size of all bitmaps of saved backgrounds
ImplSVEvent * mnFocusId; // FocusId for PostUserLink ImplSVEvent * mnFocusId; //< FocusId for PostUserLink
ImplSVEvent * mnMouseMoveId; // MoveId for PostUserLink ImplSVEvent * mnMouseMoveId; //< MoveId for PostUserLink
long mnLastMouseX; // last x mouse position long mnLastMouseX; //< last x mouse position
long mnLastMouseY; // last y mouse position long mnLastMouseY; //< last y mouse position
long mnBeforeLastMouseX; // last but one x mouse position long mnBeforeLastMouseX; //< last but one x mouse position
long mnBeforeLastMouseY; // last but one y mouse position long mnBeforeLastMouseY; //< last but one y mouse position
long mnFirstMouseX; // first x mouse position by mousebuttondown long mnFirstMouseX; //< first x mouse position by mousebuttondown
long mnFirstMouseY; // first y mouse position by mousebuttondown long mnFirstMouseY; //< first y mouse position by mousebuttondown
long mnLastMouseWinX; // last x mouse position, rel. to pMouseMoveWin long mnLastMouseWinX; //< last x mouse position, rel. to pMouseMoveWin
long mnLastMouseWinY; // last y mouse position, rel. to pMouseMoveWin long mnLastMouseWinY; //< last y mouse position, rel. to pMouseMoveWin
sal_uInt16 mnModalMode; // frame based modal count (app based makes no sense anymore) sal_uInt16 mnModalMode; //< frame based modal count (app based makes no sense anymore)
sal_uIntPtr mnMouseDownTime; // mouse button down time for double click sal_uIntPtr mnMouseDownTime; //< mouse button down time for double click
sal_uInt16 mnClickCount; // mouse click count sal_uInt16 mnClickCount; //< mouse click count
sal_uInt16 mnFirstMouseCode; // mouse code by mousebuttondown sal_uInt16 mnFirstMouseCode; //< mouse code by mousebuttondown
sal_uInt16 mnMouseCode; // mouse code sal_uInt16 mnMouseCode; //< mouse code
sal_uInt16 mnMouseMode; // mouse mode sal_uInt16 mnMouseMode; //< mouse mode
MapUnit meMapUnit; // last MapUnit for LogicUnitToPixel MapUnit meMapUnit; //< last MapUnit for LogicUnitToPixel
bool mbHasFocus; // focus bool mbHasFocus; //< focus
bool mbInMouseMove; // is MouseMove on stack bool mbInMouseMove; //< is MouseMove on stack
bool mbMouseIn; // is Mouse inside the frame bool mbMouseIn; //> is Mouse inside the frame
bool mbStartDragCalled; // is command startdrag called bool mbStartDragCalled; //< is command startdrag called
bool mbNeedSysWindow; // set, when FrameSize <= IMPL_MIN_NEEDSYSWIN bool mbNeedSysWindow; //< set, when FrameSize <= IMPL_MIN_NEEDSYSWIN
bool mbMinimized; // set, when FrameSize <= 0 bool mbMinimized; //< set, when FrameSize <= 0
bool mbStartFocusState; // FocusState, when sending the event bool mbStartFocusState; //< FocusState, when sending the event
bool mbInSysObjFocusHdl; // within a SysChildren's GetFocus handler bool mbInSysObjFocusHdl; //< within a SysChildren's GetFocus handler
bool mbInSysObjToTopHdl; // within a SysChildren's ToTop handler bool mbInSysObjToTopHdl; //< within a SysChildren's ToTop handler
bool mbSysObjFocus; // does a SysChild have focus bool mbSysObjFocus; //< does a SysChild have focus
::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::dnd::XDragSource > mxDragSource; ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::dnd::XDragSource > mxDragSource;
::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::dnd::XDropTarget > mxDropTarget; ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::dnd::XDropTarget > mxDropTarget;
...@@ -254,11 +254,11 @@ public: ...@@ -254,11 +254,11 @@ public:
::std::vector< FixedText* > m_aMnemonicLabels; ::std::vector< FixedText* > m_aMnemonicLabels;
ImplAccessibleInfos* mpAccessibleInfos; ImplAccessibleInfos* mpAccessibleInfos;
VCLXWindow* mpVCLXWindow; VCLXWindow* mpVCLXWindow;
Region maWinRegion; // region to 'shape' the VCL window (frame coordinates) Region maWinRegion; //< region to 'shape' the VCL window (frame coordinates)
Region maWinClipRegion; // the (clipping) region that finally corresponds to the VCL window (frame coordinates) Region maWinClipRegion; //< the (clipping) region that finally corresponds to the VCL window (frame coordinates)
Region maInvalidateRegion; // region that has to be redrawn (frame coordinates) Region maInvalidateRegion; //< region that has to be redrawn (frame coordinates)
Region* mpChildClipRegion; // child clip region if CLIPCHILDREN is set (frame coordinates) Region* mpChildClipRegion; //< child clip region if CLIPCHILDREN is set (frame coordinates)
Region* mpPaintRegion; // only set during Paint() method call (window coordinates) Region* mpPaintRegion; //< only set during Paint() method call (window coordinates)
WinBits mnStyle; WinBits mnStyle;
WinBits mnPrevStyle; WinBits mnPrevStyle;
WinBits mnExtendedStyle; WinBits mnExtendedStyle;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment