Changeset View
Changeset View
Standalone View
Standalone View
effects/windowgeometry/windowgeometry.h
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Line(s) | 53 | bool isHandlesResizes() const { | |||
---|---|---|---|---|---|
54 | return iHandleResizes; | 54 | return iHandleResizes; | ||
55 | } | 55 | } | ||
56 | private Q_SLOTS: | 56 | private Q_SLOTS: | ||
57 | void toggle(); | 57 | void toggle(); | ||
58 | void slotWindowStartUserMovedResized(KWin::EffectWindow *w); | 58 | void slotWindowStartUserMovedResized(KWin::EffectWindow *w); | ||
59 | void slotWindowFinishUserMovedResized(KWin::EffectWindow *w); | 59 | void slotWindowFinishUserMovedResized(KWin::EffectWindow *w); | ||
60 | void slotWindowStepUserMovedResized(KWin::EffectWindow *w, const QRect &geometry); | 60 | void slotWindowStepUserMovedResized(KWin::EffectWindow *w, const QRect &geometry); | ||
61 | private: | 61 | private: | ||
62 | void createFrames(); | ||||
62 | EffectWindow *myResizeWindow; | 63 | EffectWindow *myResizeWindow; | ||
63 | EffectFrame *myMeasure[3]; | 64 | EffectFrame *myMeasure[3] = {nullptr, nullptr, nullptr}; | ||
64 | QRect myOriginalGeometry, myCurrentGeometry; | 65 | QRect myOriginalGeometry, myCurrentGeometry; | ||
65 | QRect myExtraDirtyArea; | 66 | QRect myExtraDirtyArea; | ||
66 | bool iAmActive, iAmActivated, iHandleMoves, iHandleResizes; | 67 | bool iAmActive, iAmActivated, iHandleMoves, iHandleResizes; | ||
67 | QString myCoordString[2], myResizeString; | 68 | QString myCoordString[2], myResizeString; | ||
68 | }; | 69 | }; | ||
69 | 70 | | |||
70 | } // namespace | 71 | } // namespace | ||
71 | 72 | | |||
72 | #endif | 73 | #endif |