Changeset View
Changeset View
Standalone View
Standalone View
effects/slide/slide.h
Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Line(s) | 69 | private: | |||
---|---|---|---|---|---|
81 | 81 | | |||
82 | void start(int old, int current, EffectWindow* movingWindow = nullptr); | 82 | void start(int old, int current, EffectWindow* movingWindow = nullptr); | ||
83 | void stop(); | 83 | void stop(); | ||
84 | 84 | | |||
85 | private: | 85 | private: | ||
86 | int m_hGap; | 86 | int m_hGap; | ||
87 | int m_vGap; | 87 | int m_vGap; | ||
88 | bool m_slideDocks; | 88 | bool m_slideDocks; | ||
89 | bool m_slideBackground; | ||||
89 | 90 | | |||
90 | bool m_active = false; | 91 | bool m_active = false; | ||
91 | QTimeLine m_timeline; | 92 | QTimeLine m_timeline; | ||
92 | QPoint m_startPos; | 93 | QPoint m_startPos; | ||
93 | QPoint m_diff; | 94 | QPoint m_diff; | ||
94 | EffectWindow* m_movingWindow = nullptr; | 95 | EffectWindow* m_movingWindow = nullptr; | ||
95 | 96 | | |||
96 | struct { | 97 | struct { | ||
97 | int desktop; | 98 | int desktop; | ||
99 | bool firstPass; | ||||
98 | bool lastPass; | 100 | bool lastPass; | ||
99 | QPoint translation; | 101 | QPoint translation; | ||
100 | 102 | | |||
101 | EffectWindowList fullscreenWindows; | 103 | EffectWindowList fullscreenWindows; | ||
102 | } m_paintCtx; | 104 | } m_paintCtx; | ||
103 | 105 | | |||
104 | struct { | 106 | struct { | ||
105 | QList<EffectWindow*> blur; | 107 | QList<EffectWindow*> blur; | ||
Show All 9 Lines |