Clicking buttons during run/simulate mode: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
m (1 revision(s))
mNo edit summary
Line 1: Line 1:
<font face="MS Sans Serif"> New Display Option "Enable Mouse Clicks While Running" enables buttons<br /> to be selected while the simulation is running (not paused).
Display Option "Enable Mouse Clicks While Running" enables buttons to be selected while the simulation is running (not paused).
 


This works as follows:
This works as follows:


A click on a button is processed whenever Windows gets an opportunity to process an event (the simulation engine yields to it). The button will visibly react to the click but the click message will be posted to the model FEC to be processed as the immediate next event.


A click on a button is processed whenever Windows gets an opportunity<br /> to process an event (Planimate yields to it). The button will visibly<br /> react to the click but the click message will be posted to the model<br /> FEC to be processed as the immediate next event.
The result of this is:
*models which are routine intensive (eg: searching) will be rather unresponsive to the mouse whereas models with animation will be OK
*models which have zero time logic without ANY capacity or intensive routines will take a while to get round to responding to the mouse click
*The button clicks can occur and be processed before the completion of side effect actions as a result of the current operation.


----


The result of this is:
<font size="2">idkbase note 29</font>
*models which are routine intensive (eg: searching) will be rather<br /> unresponsive to the mouse whereas models with animation will be OK
*models which have zero time logic without ANY capacity or intensive<br /> routines will take a while to get round to responding to the mouse click
*The button clicks can occur and be processed before the completion of<br /> side effect actions as a result of the current operation.
 


This last point is particularly important. I may have to disable buttons<br /> which can influence a model's run (eg: broadcast) or handle them specially<br /> but this has not been implemented at this stage.<br /> </font>
[[Category:Paint]]
----
[[Category:Animation]]
[[Category:Paint/Button]]
[[Category:Simulation]]
[[Category:Animation ]]
[[Category:Interaction (User)]]
[[Category:Interaction (User)]]
<font size="2">idkbase note 29</font>
[[Category:Runtime Engine]]

Revision as of 22:01, 12 January 2008

Display Option "Enable Mouse Clicks While Running" enables buttons to be selected while the simulation is running (not paused).

This works as follows:

A click on a button is processed whenever Windows gets an opportunity to process an event (the simulation engine yields to it). The button will visibly react to the click but the click message will be posted to the model FEC to be processed as the immediate next event.

The result of this is:

  • models which are routine intensive (eg: searching) will be rather unresponsive to the mouse whereas models with animation will be OK
  • models which have zero time logic without ANY capacity or intensive routines will take a while to get round to responding to the mouse click
  • The button clicks can occur and be processed before the completion of side effect actions as a result of the current operation.

idkbase note 29