Changeset View
Changeset View
Standalone View
Standalone View
kstyle/breezeshadowhelper.h
Show All 32 Lines | |||||
33 | 33 | | |||
34 | #if BREEZE_HAVE_KWAYLAND | 34 | #if BREEZE_HAVE_KWAYLAND | ||
35 | namespace KWayland | 35 | namespace KWayland | ||
36 | { | 36 | { | ||
37 | namespace Client | 37 | namespace Client | ||
38 | { | 38 | { | ||
39 | class ShadowManager; | 39 | class ShadowManager; | ||
40 | class ShmPool; | 40 | class ShmPool; | ||
41 | class Surface; | ||||
41 | } | 42 | } | ||
42 | } | 43 | } | ||
43 | #endif | 44 | #endif | ||
44 | 45 | | |||
45 | namespace Breeze | 46 | namespace Breeze | ||
46 | { | 47 | { | ||
47 | 48 | | |||
48 | //* forward declaration | 49 | //* forward declaration | ||
▲ Show 20 Lines • Show All 103 Lines • ▼ Show 20 Line(s) | 54 | { | |||
152 | Helper& _helper; | 153 | Helper& _helper; | ||
153 | 154 | | |||
154 | //* true if supported | 155 | //* true if supported | ||
155 | bool _supported; | 156 | bool _supported; | ||
156 | 157 | | |||
157 | //* registered widgets | 158 | //* registered widgets | ||
158 | QMap<QWidget*, WId> _widgets; | 159 | QMap<QWidget*, WId> _widgets; | ||
159 | 160 | | |||
161 | //* registered widgets to wayland surface mappings | ||||
162 | QMap<QWidget*, KWayland::Client::Surface *> _widgetSurfaces; | ||||
163 | | ||||
160 | //* tileset | 164 | //* tileset | ||
161 | TileSet _shadowTiles; | 165 | TileSet _shadowTiles; | ||
162 | 166 | | |||
163 | //* number of pixmaps | 167 | //* number of pixmaps | ||
164 | enum { numPixmaps = 8 }; | 168 | enum { numPixmaps = 8 }; | ||
165 | 169 | | |||
166 | //* pixmaps | 170 | //* pixmaps | ||
167 | QVector<quint32> _pixmaps; | 171 | QVector<quint32> _pixmaps; | ||
Show All 23 Lines |