[Fxruby-commits] CVS: FXRuby/ext/fox/include FXRbDC.h,1.3,1.4 FXRbDCVirtuals.h,1.3,1.4
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <ly...@us...> - 2002-07-11 18:00:26
|
Update of /cvsroot/fxruby/FXRuby/ext/fox/include In directory usw-pr-cvs1:/tmp/cvs-serv23484/ext/fox/include Modified Files: FXRbDC.h FXRbDCVirtuals.h Log Message: Added support for new FXDC virtual functions fillChord() and fillChords(). Index: FXRbDC.h =================================================================== RCS file: /cvsroot/fxruby/FXRuby/ext/fox/include/FXRbDC.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** FXRbDC.h 3 Apr 2002 21:40:57 -0000 1.3 --- FXRbDC.h 11 Jul 2002 18:00:23 -0000 1.4 *************** *** 113,116 **** --- 113,128 ---- rb_funcall(FXRbGetRubyObj(this),rb_intern("fillRectangles"),1,FXRbMakeArray(rectangles,nrectangles)); \ } \ + void cls::_fillChord(FXint x,FXint y,FXint w,FXint h,FXint ang1,FXint ang2){ \ + baseclass::fillChord(x,y,w,h,ang1,ang2); \ + } \ + void cls::fillChord(FXint x,FXint y,FXint w,FXint h,FXint ang1,FXint ang2){ \ + FXRbCallVoidMethod(this,"fillChord",x,y,w,h,ang1,ang2); \ + } \ + void cls::_fillChords(const FXArc* chords,FXuint nchords){ \ + baseclass::fillChords(chords,nchords); \ + } \ + void cls::fillChords(const FXArc* chords,FXuint nchords){ \ + rb_funcall(FXRbGetRubyObj(this),rb_intern("fillChords"),1,FXRbMakeArray(chords,nchords)); \ + } \ void cls::_fillArc(FXint x,FXint y,FXint w,FXint h,FXint ang1,FXint ang2){ \ baseclass::fillArc(x,y,w,h,ang1,ang2); \ Index: FXRbDCVirtuals.h =================================================================== RCS file: /cvsroot/fxruby/FXRuby/ext/fox/include/FXRbDCVirtuals.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** FXRbDCVirtuals.h 3 Apr 2002 21:40:57 -0000 1.3 --- FXRbDCVirtuals.h 11 Jul 2002 18:00:23 -0000 1.4 *************** *** 84,87 **** --- 84,99 ---- virtual void fillRectangles(const FXRectangle* rectangles,FXuint nrectangles); + // Calls the base class version of fillChord() + void _fillChord(FXint x,FXint y,FXint w,FXint h,FXint ang1,FXint ang2); + + // Overrides the base class version of fillChord() + virtual void fillChord(FXint x,FXint y,FXint w,FXint h,FXint ang1,FXint ang2); + + // Calls the base class version of fillChords() + void _fillChords(const FXChord* chords,FXuint nchords); + + // Overrides the base class version of fillChords() + virtual void fillChords(const FXChord* chords,FXuint nchords); + // Calls the base class version of fillArc() void _fillArc(FXint x,FXint y,FXint w,FXint h,FXint ang1,FXint ang2); |