about
So I am wondering should we continue discussion here with the horizontal text conquered or should we move to Steve's thread
Here my answer to unify the threads
https://www.qb64.org/forum/index.php?topic=1719.msg109796#msg109796about this issue
So now I wonder is it worth the time for working out double scrollbars for giant text which will likely mean a central controller for all mouse and key activity in order to actually use it in an app. ???
IMHO when we go to think as objects or entities to use in our programs we have two option...
1. centered managing of mouse and keyboard and other input ways ,
so we can think about it like a pyramid that has like apex the I/O routine to be directed to the right entity at bottom,
or like a collection of areas to be activated by a flag (in Windows there are the messages among objects)
2. a plane or circular managing of I/O in which the objects/entities have the own different action that is activated by the specific
position of the mouse and by the specific comboKey
the substantial difference between them is that in the first the apex manages I/O and triggers entity's action, in the second there is a main loop in which each entity tests if position of mouse and combokey activate its action/s.
just as example about previous scrolling horizonthal
in the first kind of multi entities there is a main loop that catches I/O and activate the single scrolling bar...
in the second kind of multi entities, one at time each entity tests if it must react ot I/O so there is a main loop that cycles among all entities
so in the first kind each entity has a value or code to be activated and disactivated
while in the second kind each entity has an entry of parameters and a routine to activate itself.
Waiting your opinion
Thanks to read