On 07/01/12 08:32, Nick wrote: > I'm using fltk 1.3.x-R9631 > I ran the program in 2 different computer > 1) with opensuse 11.0 and nvidia Gforce gt 430 > 2) with windows xp, msvisual 2008 and an integrated intel graphic card > In both cases had the same problem.
Do you get the same problem with this program? I haven't looked at your code to check for problems, so it'd be good to see if the problem is with all programs, even simple ones: // DEMONSTRATE HOW TO DRAW AN 'X' IN FLTK #include <FL/Fl.H> #include <FL/fl_draw.H> #include <FL/Fl_Double_Window.H> // SIMPLE WIDGET THAT DRAWS AN 'X' class DrawX : public Fl_Widget { public: DrawX(int X, int Y, int W, int H, const char*L=0) : Fl_Widget(X,Y,W,H,L) { } void draw() { // DRAW BLACK 'X' fl_color(FL_BLACK); int x1 = x(), y1 = y(); int x2 = x()+w()-1, y2 = y()+h()-1; fl_line(x1, y1, x2, y2); fl_line(x1, y2, x2, y1); } }; int main() { Fl_Double_Window win(200,200,"Draw X"); DrawX draw_x(0, 0, win.w(), win.h()); win.resizable(draw_x); win.show(); return(Fl::run()); } _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk