From 58a0811ad9633236f75b692fbe0955d3b91ccabb Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Fri, 17 Oct 2003 19:03:53 +0000 Subject: - 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... --- source/blender/makesdna/DNA_sound_types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/makesdna/DNA_sound_types.h') 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; -- cgit v1.2.3