Is there any way to declare a global enum in fluid? i.e. something that results in the following:
enum MyEnum {
state1,
state2
};
int main(int argc, char *argv[])
{
return Fl::run();
}
fluid doesn't allow a code block at the top-most level. If it did,
this would be trivial. I've tried to fake it with a declaration block,
but it will complain about an unterminated '{'.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

