Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2003-10-17 23:03:53 +0400
committerTon Roosendaal <ton@blender.org>2003-10-17 23:03:53 +0400
commit58a0811ad9633236f75b692fbe0955d3b91ccabb (patch)
treef474124ab73fd8ac6d40e6d7af76bf7f1ba9e065 /source/blender/makesdna/DNA_sound_types.h
parent8ce5ece950305d50966ad6409295207fcf3ed42b (diff)
- fixed bug in windows with extreme small height... it didnt accept
input - was needed for usage of this windowtype (headerless) as 'timeline' dragger, which was supposed to be... - as extra I fixed 'home', it sets start/end frame for sound window - at mouselocation the current frame or time is printed - rightmouse menu switches seconds/frames (should be in header as option...) - displaybutton 'frs/sec/' updates soundwindow too So, its not perfect... but try opening a tiny high headerless audio window on top of buttonswin or somewhere full width. not bad...
Diffstat (limited to 'source/blender/makesdna/DNA_sound_types.h')
-rw-r--r--source/blender/makesdna/DNA_sound_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_sound_types.h b/source/blender/makesdna/DNA_sound_types.h
index 8f91cb81e47..31f8526907b 100644
--- a/source/blender/makesdna/DNA_sound_types.h
+++ b/source/blender/makesdna/DNA_sound_types.h
@@ -131,6 +131,9 @@ typedef struct bSoundListener {
} bSoundListener;
+/* spacesound->flag */
+#define SND_DRAWFRAMES 1
+
typedef struct SpaceSound {
struct SpaceLink *next, *prev;
int spacetype, pad;