Thought: Since we have an abstract TItem class, we could introduce a new TIControl in addition to TIFrame that would support things such as loops and end-of-animation. It would generate a static thumbnail and could be moved at wish.
Implementation detail : TI* structures do not directly know their position. The
TIList
consists of (unsigned, TIFrame)
pairs indicating each TIFrame's absolute position. Relative delays are inferred in exportAnim()
in order to produce the C_CONTROL:I_DELAY
entries.
Thought: There's a "delay" plus/minus control right now, that control delay when a new item is inserted and the additional delay at the end of the animation. We'd rather have it affect directly how long a given frame is displayed.
- [done] add
AnimWindow::adjust_positions()
to perform one-shot delay update - [done] rewrite code for '+', '-' and
FRAME_SELECTED
accordingly - [wish] possibly use the 'prv' and 'nxt' checkbuttons to uniformly rescale the animation.
- [done] introduce TIControl for loop and end-of-animation
- [done] make sure moving frames across other frames do not break animation order
No comments:
Post a Comment