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:
authorThomas Dinges <blender@dingto.org>2012-04-13 04:04:56 +0400
committerThomas Dinges <blender@dingto.org>2012-04-13 04:04:56 +0400
commitbdce58a42c3ca63773ce9c6b32189cfe10b27039 (patch)
tree619a4fec534641c61161ca634d096458543dda50 /source/blender/editors/space_sequencer/sequencer_buttons.c
parent2a5a465e2c05dc4d3864019790f745ab75755389 (diff)
Code cleanup:
* Remove some non used *_button_register functions, panels are done in python. * Remove do_node_region_buttons, was not used anymore. Fix: * Only show Grease Pencil panel in the Node editor, when there is a valid nodetree.
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_buttons.c')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_buttons.c44
1 files changed, 0 insertions, 44 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_buttons.c b/source/blender/editors/space_sequencer/sequencer_buttons.c
index 81712ec10c4..aeedafa9992 100644
--- a/source/blender/editors/space_sequencer/sequencer_buttons.c
+++ b/source/blender/editors/space_sequencer/sequencer_buttons.c
@@ -48,50 +48,6 @@
#include "sequencer_intern.h"
-
-static void do_sequencer_panel_events(bContext *UNUSED(C), void *UNUSED(arg), int UNUSED(event))
-{
-
-}
-
-
-static void sequencer_panel_view_properties(const bContext *UNUSED(C), Panel *pa)
-{
- uiBlock *block;
-
- block = uiLayoutAbsoluteBlock(pa->layout);
- uiBlockSetHandleFunc(block, do_sequencer_panel_events, NULL);
-
-}
-
-
-static void sequencer_panel_properties(const bContext *UNUSED(C), Panel *pa)
-{
- uiBlock *block;
-
- block = uiLayoutAbsoluteBlock(pa->layout);
- uiBlockSetHandleFunc(block, do_sequencer_panel_events, NULL);
-
-}
-
-void sequencer_buttons_register(ARegionType *art)
-{
- PanelType *pt;
-
- pt = MEM_callocN(sizeof(PanelType), "spacetype sequencer strip properties");
- strcpy(pt->idname, "SEQUENCER_PT_properties");
- strcpy(pt->label, "Strip Properties");
- pt->draw = sequencer_panel_properties;
- BLI_addtail(&art->paneltypes, pt);
-
- pt = MEM_callocN(sizeof(PanelType), "spacetype sequencer view properties");
- strcpy(pt->idname, "SEQUENCER_PT_view_properties");
- strcpy(pt->label, "View Properties");
- pt->draw = sequencer_panel_view_properties;
- BLI_addtail(&art->paneltypes, pt);
-
-}
-
/* **************** operator to open/close properties view ************* */
static int sequencer_properties(bContext *C, wmOperator *UNUSED(op))