/[libvob]/libvob/doc/pegboard/animation_api--mudyc/peg.rst
ViewVC logotype

Diff of /libvob/doc/pegboard/animation_api--mudyc/peg.rst

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by mudyc, Sat Oct 25 14:15:00 2003 UTC revision 1.16 by mudyc, Sat Oct 25 14:28:27 2003 UTC
# Line 123  used in ``demo framework``. Line 123  used in ``demo framework``.
123    
124  For safety of event handling, possibility to check if  For safety of event handling, possibility to check if
125  VobScene has changed, i.e. screen has updated,  VobScene has changed, i.e. screen has updated,
126    from previous animate or switchVS method
127  is added into the animation layer.  is added into the animation layer.
128  For example if we need to wait until something draws  For example if we need to wait until something draws
129  on screen, all events before we have the correct  on screen, all events before we have the correct
# Line 245  Let's define the following interface: :: Line 246  Let's define the following interface: ::
246          VobScene getCurrentVS();          VobScene getCurrentVS();
247    
248    
249          /** Returns true if VobScene has changed since previous          /** Returns true if there are pending methods that
250           * <code>animate</code> or <code>switchVS</code> method,           * create a new VobScene which has not yet been updated
251           * i.e., screen has updated.           * within window. The methods that create a new VobScene
252             * are <code>animate</code> and <code>switchVS</code>.
253           * <p>           * <p>
254           * Programming note:           * Programming note:
255           * In some situations when handling the events the programmer           * In some situations when handling the events the programmer
256           * needs to know whether the VobScene is new or the still the old one,           * needs to know whether the VobScene is new or the still the old one,
257           * e.g., when waiting the screen to update to move some new vob you           * e.g., when waiting to move some new vob you
258           * you need to pass all events trough before the screen has updated.           * you need to pass all events trough before the screen has updated.
259           */           */
260          boolean hasVSchanged();          boolean hasPendingVS();
261      }      }
262    
263    

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26