Hi,
I have one class "MainWindow" which is a subclass of "Window" class, and in it
I've overloaded "draw()" method to draw some dots in window, but the
following:
...
#include <fltk/draw.h>
...
void MainWindow::draw(void) {
setcolor(3);
for (int i = 0; i < someHeight; i += 2)
for (int j = 0; j < someWidth; j += 2)
drawpoint(j, i);
Window::draw();
}
doesn't show anything in window. I suspect that "Window::draw();" draws over
thise drawed dots, but anyhow, I need to call it so the window is shown
properly.
Can someone please tell me where am I wrong?
Thanks.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk