Hello!
I badly speak english
I the beginning programmer
I want to copy in FLTK-2 ready code FLTK-1
I replace Fl_Box on fltk:: Box I receive many errors

[code]
decl {\#include <fltk/Box.h>} {public
}

class EnvelopeFreeEdit {open : {public fltk::Box}
} {
  Function {EnvelopeFreeEdit(int x,int y, int w, int h, const 
char*):fltk::Box(x,y,w,h,label)} {open
  } {
    code {env=NULL;
pair=NULL;} {}
  }
  Function {init(EnvelopeParams *env_)} {open
  } {
    code {env=env_;
oldx=-1;
currentpoint=-1;
cpx=0;
lastpoint=-1;} {}
  }
  Function {setpair(fltk::Box *pair_)} {open
  }

bla-bla-bla

return(1);} {}
  }
  decl {fltk::Box *pair;} {}
  decl {EnvelopeParams *env;} {}
  decl {int oldx,oldy;} {}
  decl {int currentpoint,cpx,cpdt;} {}
  decl {int lastpoint;} {public
  }
}
[/code]

What to do???

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

Reply via email to