G4P the future
in
Library and Tool Development
•
1 year ago
G4P was the first library I created when I discovered Processing. Over the last 3 years the library has organically evolved and I have decided that with the near advent of Processing V2 it is time for a major overhaul of the library.
One weakness with G4P is the lack of decent text based controls, the current version has the GTextField which although can display multi-line text it seriously lacks the capabilities of something like the Java Swing JTextArea.
So for the last couple of weeks I have been working on developing the next generation of G4P and have created a couple of classes to represent scroll bars and a text area. I have also simplified and improved the colour schemes available.
This applet demonstrates the new textarea control shown on the right. Feel free to type and modify the sample text (the backspace and delete keys work as expected), try out the colour schemes, notice that you can justify the text. Text selction can be via keyboard or mouse.
One feature of the new library is that all the controls can be rotated to any angle and still function correctly. Try rotating the textarea with the rotary control.
I will be replacing all the current controls with updated versions but I would be interested in any new controls or features you would like to see in G4P.
One weakness with G4P is the lack of decent text based controls, the current version has the GTextField which although can display multi-line text it seriously lacks the capabilities of something like the Java Swing JTextArea.
So for the last couple of weeks I have been working on developing the next generation of G4P and have created a couple of classes to represent scroll bars and a text area. I have also simplified and improved the colour schemes available.
This applet demonstrates the new textarea control shown on the right. Feel free to type and modify the sample text (the backspace and delete keys work as expected), try out the colour schemes, notice that you can justify the text. Text selction can be via keyboard or mouse.
One feature of the new library is that all the controls can be rotated to any angle and still function correctly. Try rotating the textarea with the rotary control.
I will be replacing all the current controls with updated versions but I would be interested in any new controls or features you would like to see in G4P.