diff options
author | Ton Roosendaal <ton@blender.org> | 2004-06-19 16:25:28 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-06-19 16:25:28 +0400 |
commit | 6fdea0ffe70dd0c0b4e82140316037e57b0b527a (patch) | |
tree | 330efe1124b9959ab71aa8d776c8d450a0facb53 /source/blender/include/BIF_space.h | |
parent | 8617ce51417a671f55d3904f16b42604da7889c7 (diff) |
Popular request: the floating panels (NKEY) now close on a 2nd NKEY command.
This for all current NKEY menus by default. Can be standard for each hotkey
controlled Panel from now on; use toggle_blockhandler() for it.
Another popular request: hotkey enabled Panels now optionally reopen on
the previous location, instead of under mouse. This option "Pinned" is a
user option now. Optional for later; have it as per-panel option... dunno!
The last request, close on mouse-exit, won't be implemented, this intrudes
with Panel consistancy, and is pretty OK solved with NKEY-NKEY now.
Diffstat (limited to 'source/blender/include/BIF_space.h')
-rw-r--r-- | source/blender/include/BIF_space.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/include/BIF_space.h b/source/blender/include/BIF_space.h index c53b15d8774..75719761961 100644 --- a/source/blender/include/BIF_space.h +++ b/source/blender/include/BIF_space.h @@ -80,6 +80,7 @@ void scrarea_do_headchange (struct ScrArea *sa); /* space.c */ extern void add_blockhandler(struct ScrArea *sa, short eventcode, short action); extern void rem_blockhandler(struct ScrArea *sa, short eventcode); +extern void toggle_blockhandler(struct ScrArea *sa, short eventcode, short action); extern void space_set_commmandline_options(void); extern void allqueue(unsigned short event, short val); |