Domingo Alvarez Duarte wrote:
> I forgot to mention that I added inline functions to Fl_Tree_Item too:
>
> int x() {return _xywh[0];};
> int y() {return _xywh[1];};
> int w() {return _xywh[2];};
> int h() {return _xywh[3];};
Thanks -- yes, I just had a need for those myself ;)
I made them const, but otherwise as shown above:
public:
int x() const { return(_xywh[0]); }
int y() const { return(_xywh[1]); }
int w() const { return(_xywh[2]); }
int h() const { return(_xywh[3]); }
Will include this in my next patch update.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk