hi every body

I have the same problem with FL_tablebox project which is in download link.
I downloaded this file then i exctracted it and rebuilt (the system 
fail-->fltk/Group.h': No such file) , then i linked my project with tablebox
by these steps :
project -> settings -> c++ -> preprocessor
I add C:/tablebox

then settings ->link-> input
C:/tablebox


then in my class I add this line
#include "C:\tablebox\tablebox.h"

I have this error
"c:\tablebox\tablebox.h(22) : fatal error C1083: Cannot open include file: 
'fltk/Group.h': No such file or directory"


I checked my FLTK folder FL folder I did not see Group.h class but when i 
create my class I can add this group class
Fl_Group *pic_g


I am using FLTK 1.1.7 and windows xp ??? can you solve my problem please ?



I have problem with this method, the color does not change until i move the 
window or click on any widget or in button " warning1"  itself
then the color change to meet the condition how to update directly, I added " 
repeate timeout but also it does not change


void MsGnUm(void *) {

 // warning1 = (Fl_Button *) b;

        if(count1==2 ||count1==1 )
        {
           printf("it is less than 2 ");
           
warning1->color(fl_color_cube(250*FL_NUM_RED/256,250*FL_NUM_GREEN/256, 
100*FL_NUM_BLUE/256));

        }
        else if(count1>2)
        {
          printf("it more than 2 ");
          warning1->color(FL_RED);

        }
        else
        {
        printf("it equal than 2 ");
          warning1->color(FL_GREEN);


        }
Fl::repeat_timeout(3.0, MsGnUm, (void*)warning1);
}



can you please give me a soloution for this problem ?

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to