Option to compile using fltk2 added to configure. The code requires the

very newest fltk2 from the development svn repository (as of Aug 2 2007)
This commit is contained in:
Bill Spitzak
2007-08-02 14:26:46 +00:00
parent f6f5ce641d
commit aa276ead5c
5 changed files with 20 additions and 32 deletions

View File

@ -1253,13 +1253,7 @@ void Frame::draw() {
fl_xyline(2, h()-3, w()-3, 2);
}
#else
# if FL_MAJOR_VERSION>1
static fltk::FrameBox framebox(0,"AAAAJJWWNNTT");
drawstyle(style(),fltk::INVISIBLE); // INVISIBLE = draw edge only
framebox.draw(Rectangle(w(),h()));
# else
fl_frame("AAAAWWJJTTNN",0,0,w(),h());
# endif
#endif
if (!flag(THIN_BORDER) && label_h > 3) {
#ifdef SHOW_CLOCK