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/mydevice.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/mydevice.h')
-rw-r--r-- | source/blender/include/mydevice.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/include/mydevice.h b/source/blender/include/mydevice.h index 3adde25d70e..225b59f389b 100644 --- a/source/blender/include/mydevice.h +++ b/source/blender/include/mydevice.h @@ -246,8 +246,9 @@ #define REDRAWSCRIPT 0x4032 #define REDRAWTIME 0x4033 #define REDRAWBUTSCONSTRAINT 0x4034 - -#define ONLOAD_SCRIPT 0x4035 +#define ONLOAD_SCRIPT 0x4035 +#define SCREEN_HANDLER 0x4036 +#define REDRAWANIM 0x4037 #endif /* !__MYDEVICE_H__ */ |