Changes between Version 3 and Version 4 of LINKS_COMMON_R0
- Timestamp:
- 01/26/09 14:24:18 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LINKS_COMMON_R0
v3 v4 18 18 * Frame Hidden 19 19 20 Frame states are:20 Frame's states are: 21 21 * up(normal) 22 22 * over 23 23 * pressed 24 24 25 Text states are:25 Text's states are: 26 26 * up(normal) 27 27 * over … … 40 40 41 41 == Implementation idea == 42 It may be a good idea to create separated module for links. Keep in mind that this module should communicate with other modules (For example the frame view is affected after a link is added, they could also control(play, pause) the timeline etc.). Also create a manager that is responsible for events monitoring, provide easy way to add and remove event listeners from a single place. Delegate the responsibility for states changes, see if it is necessary to do some refactoring over the existing modules(for example the frame view should be responsible for managing different states).42 It may be a good idea to create separated module for links. Keep in mind that this module should communicate with other modules (For example the frame view is affected after a link is added, they could also control(play, pause) the timeline etc.). Also create a manager that is responsible for events monitoring, provide easy way to add and remove event listeners from a single place. Delegate the responsibility for states changes, see if it is necessary to do some refactoring over the existing modules(for example the frame view should be responsible for managing different frame's states).[[BR]]It will be nice if some diagrams are added. 43 43 44 44 == Related == … … 52 52 53 53 == How to demo == 54 ^(Provide instructions for demonstration of the task.)^ 54 * create a test environment and see if some actions are attached and evoked correctly. 55 55 56 56 = Design =