From: Kent D. <ke...@st...> - 2001-09-24 13:52:42
|
Kent Dahl wrote: > Also, I noticed that setting the labelsize for widgets such as > Fltk::Widget don't affect the size of the input text. According to FLTK > API for 1.0.10, there is the methods called textsize, which I can't find > in Ruby-Fltk. Fixing that wasn't too hard: <SNIP> [kentda@v128a ruby-fltk]$ cvs diff cvs server: Diffing . Index: flinput.cc =================================================================== RCS file: /cvsroot/ruby-fltk/ruby-fltk/flinput.cc,v retrieving revision 1.9 diff -r1.9 flinput.cc 24a25 > static FN_GETSET_INT(Input_,textsize); 128a130 > DEF_METHOD_EQ(Input_,textsize,-1); cvs server: Diffing doc </SNIP> -- <[ Kent Dahl ]>================<[ http://www.stud.ntnu.no/~kentda/ ]> )____(stud.techn.;ind.øk.data)||(softwareDeveloper.at(Trustix))_( /"Opinions expressed are mine and not those of my Employer, "\ ( "the University, my girlfriend, stray cats, banana fruitflies, " ) \"nor the frontal lobe of my left cerebral hemisphere. "/ |