I'm trying to update the TextDisplay widget to include the textfont,
textsize, and textcolor methods. I've added these lines to the fltext.cc:
static FN_GETSET_INT(Text_Display,textfont);
static FN_GETSET_INT(Text_Display,textcolor);
static FN_GETSET_INT(Text_Display,textsize);
DEF_METHOD(Text_Display,textcolor,1);
DEF_METHOD(Text_Display,textfont,1);
DEF_METHOD(Text_Display,textsize,1);
Everything compiles correctly, but when I try to use any of the methods I
get a segfault. I'm using the 0.9.0 source and mingw and gcc 3.2.1
What might I be doing wrong?
|