FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Tools
(Moderator: REAS)
   Slider and ScrollBar classes...
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Slider and ScrollBar classes...  (Read 6989 times)
arielm

WWW
Slider and ScrollBar classes...
« on: May 22nd, 2003, 6:22pm »

i needed a "classic" scrollbar for my experiences on text, and sliders are usefull too...
 
so i made these two classes, viewable in a bit of code named "paper box 1" at:
http://www.chronotext.org/bits/021
 
source code at:
http://www.chronotext.org/bits/021/paper_box_1.pde
 
 
these are code-heavy but robust classes, see them tortured here:
 
http://proce55ing.net/discourse/yabb/board_Contribution_Respons_ive_action_display_num_1053620153.html
 
 
the "paper box" code is supposed to be descriptive on how to implement these classes in your own code, but i could post some more detailed information if there is some demand...
 
 
 

Ariel Malka | www.chronotext.org
arielm

WWW
Re: Slider and ScrollBar classes...
« Reply #1 on: May 27th, 2003, 8:28pm »

the following source code (same behavior like "paper box 1") present an extended version of these classes that use a basic "event-posting" system:
http://www.chronotext.org/bits/021/paper_box_1_rv_1.pde
 
it can be useful when things get too complicated to handle within loop():
 
basically, the point is to use an "observer" object that (if properly registered) can receive events from sliders and scrollbars, and react appropriately...
 

Ariel Malka | www.chronotext.org
vent

WWW
Re: Slider and ScrollBar classes...
« Reply #2 on: Jun 16th, 2003, 12:09am »

These are really well designed. The manner in which they are implemented in paper box 1 is excellent. Very nice!
 

http://www.shapevent.com/
arielm

WWW
Re: Slider and ScrollBar classes...
« Reply #3 on: Jun 16th, 2003, 12:20am »

thanks zevan, looking forward to see one of these classes in one of your forthcoming shape events...
 

Ariel Malka | www.chronotext.org
Pages: 1 

« Previous topic | Next topic »