| 134 | }; |
| 135 | |
| 136 | class CompositorInstance{ |
| 137 | protected: |
| 138 | WMInstance* wm; |
| 139 | |
| 140 | timespec lastRender = {0, 0}; |
| 141 | |
| 142 | #ifdef LEMONWM_USE_CLIPPING |
| 143 | std::list<rect_t> cclips; |
| 144 | #endif |
| 145 | public: |
| 146 | CompositorInstance(WMInstance* wm); |
| 147 | void Paint(); |
| 148 | |
| 149 | surface_t windowButtons; |
| 150 | surface_t mouseCursor; |
| 151 | |
| 152 | bool capFramerate = false; |
| 153 | bool displayFramerate = false; |
| 154 | bool useImage = true; |
| 155 | surface_t backgroundImage; |
| 156 | }; |
| 157 | |
| 158 | class WMInstance{ |
| 159 | protected: |