const Visual *visual;
int width;
int height;
+ bool visible;
Drawable(const Visual *vis, int w, int h) :
visual(vis),
width(w),
- height(h)
+ height(h),
+ visible(false)
{}
virtual ~Drawable() {}
height = h;
}
+ virtual void
+ show(void) {
+ visible = true;
+ }
+
virtual void swapBuffers(void) = 0;
};