85
87
GridRectangle addBorders (CompWindow *w) const;
98
virtual void paint (const GLMatrix &mat) = 0;
101
class AnimatedGridRectangle :
106
AnimatedGridRectangle () :
107
GridRectangle::GridRectangle (),
108
mFrom (CompRect (0, 0, 0, 0)),
114
AnimatedGridRectangle (const GridRectangle &r) :
115
GridRectangle::GridRectangle (r),
116
mFrom (CompRect (0, 0, 0, 0)),
122
AnimatedGridRectangle (const CompRect &r) :
123
GridRectangle::GridRectangle (r),
124
mFrom (CompRect (0, 0, 0, 0)),
133
void setFrom (CompRect &);
134
void setProgress (float);
136
void setTime (unsigned int);
146
class PaintableAnimatedGridRectangle :
148
public AnimatedGridRectangle
152
PaintableAnimatedGridRectangle () :
153
Paintable::Paintable (),
154
AnimatedGridRectangle::AnimatedGridRectangle ()
158
PaintableAnimatedGridRectangle (const GridRectangle &r) :
159
Paintable::Paintable (),
160
AnimatedGridRectangle::AnimatedGridRectangle (r)
164
PaintableAnimatedGridRectangle (const CompRect &r) :
165
Paintable::Paintable (),
166
AnimatedGridRectangle::AnimatedGridRectangle (r)
170
virtual void paint (const GLMatrix &mat);
88
173
class GridScreen :
89
174
public ScreenInterface,
90
175
public CompositeScreenInterface,
98
183
CompositeScreen *cScreen;
99
184
GLScreen *glScreen;
101
GridRectangle desiredSlot;
186
PaintableAnimatedGridRectangle *desiredSlot;
102
187
CompRect workarea, currentRect,
103
188
desiredRect, lastWorkarea, currentWorkarea;
110
195
bool initiateCommon (CompAction*, CompAction::State,
111
196
CompOption::Vector&, GridType, bool);
113
void glPaintRectangle (const GLScreenPaintAttrib&,
114
const GLMatrix&, CompOutput *);
116
198
bool glPaintOutput (const GLScreenPaintAttrib &,
117
199
const GLMatrix &, const CompRegion &,
118
200
CompOutput *, unsigned int);
155
239
constrainSize (const GridRectangle & slot);
242
glDraw (const GLMatrix &transform,
243
GLFragment::Attrib &fragment,
244
const CompRegion ®ion,
157
247
void grabNotify (int, int, unsigned int, unsigned int);
159
249
void ungrabNotify ();