The changes made to G4P for Processing 1.1 were required because the size attibute in PFont was change from public to protected so was no longer accessable to G4P.
In G4P the font size is used to ensure that the textfield height is big enough to display the text, if you are doing something similar or if you need to know the PFont size then you will probably have to change your code for Processing 1.1
In G4P all fonts are created on the fly using createFont() so if I had a PFont object called myfont then to access the font height ...
Code:// Processing 1.0.9
myfont.size;
// Processing 1.1
myfont.getFont().getSize();
This does not work with loadFont() and .vlw files since these are not based on a system font so getFont() returns a null value causing an exception.
NOTE: These changes do not affect the functionality of the G4P textfield component so that's OK.
Quote:I just finished writing a quick beta of a multi-line text control which is modified from your original text field.
I would be very interested in seeing your multi-line component when it is done.
The new sliders were created by Andreas Freise and Daniel Brown because they wanted to use G4P but wanted some nice sliders to work with their library
gwoptics I simply integrated them into the library.