diff options
author | Ton Roosendaal <ton@blender.org> | 2005-05-12 00:01:42 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-05-12 00:01:42 +0400 |
commit | 0574768f8897f20e8eca213742e0987d122787c7 (patch) | |
tree | d0ed5584b2b2f09520d8692363344dbff9ff275b /source/blender/include/BSE_drawview.h | |
parent | 57f9553b3a67fdf1e152e4cda6a5ed566bc208b2 (diff) |
Animated UI for TimeLine "Play"
Using the Play button in timeline, now uses an event-driven system to
update the animation system and signal windows to redraw. Meaning the
full UI remains responsive!
Check the new Pulldown "Playback" to set which windows you like to see
updated. Same settings is used for LMB 'dragging' frames in Timeline.
Implementation notes;
- the Icon for 'Pause' (or stop) has to be made yet, I commit this from
my laptop... all was coded during a 2 x 5 hour train ride to germany
- the anim playback system (ALT+A too) now uses correct "frames per
second" as maximum speed. Buttons can be found in 3 places in the UI,
also added it as pulldown item
- The system works with 'screen handlers', which has been coded with
using Python (networked) events or verse in mind too. A doc on that
will follow.
- the buttons code has been made 'resistant' to animated UIs too,
preventing flashing of hilites.
- All subloops (like transform) stop playback, with exception of MMB
view manipulations.
As extra; found tweak to make Textured AA fonts draw without distortion.
Looks perfect here on laptop now (like Pixmap fonts) and is 20x faster.
Diffstat (limited to 'source/blender/include/BSE_drawview.h')
-rw-r--r-- | source/blender/include/BSE_drawview.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/include/BSE_drawview.h b/source/blender/include/BSE_drawview.h index 3a33eaee18a..9ac833e9261 100644 --- a/source/blender/include/BSE_drawview.h +++ b/source/blender/include/BSE_drawview.h @@ -53,8 +53,6 @@ int update_time(void); void calc_viewborder(struct View3D *v3d, struct rcti *viewborder_r); void view3d_set_1_to_1_viewborder(struct View3D *v3d); void timestr(double time, char *str); -double speed_to_swaptime(int speed); -double key_to_swaptime(int key); void sumo_callback(void *obp); void init_anim_sumo(void); |