From 0b0b02caf86c44b19c47c404c7a083b3ebf9b97d Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Wed, 17 Jun 2009 11:01:05 +0000 Subject: 2.5 Logic editing back! Test screenie: http://download.blender.org/institute/rt9.jpg I gave the buttons a bit more width, added nicer linkline draw. Not working yet: - theme colors for sensor/actuator types (was old button colors) - moving sensors up/down (used bad pupmenu... better is icons like used for modifiers) - Linkline mouse-over select. Currently deleting a link goes by drawing the same line again. Needs to be fully tested for functionality too, leave that to the GE department. :) I noted there's bad button hacking with reading button values, like check_state_mask(). uiBut structure was not meant to be exported outside of interface module. --- source/blender/editors/space_logic/logic_intern.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/editors/space_logic/logic_intern.h') diff --git a/source/blender/editors/space_logic/logic_intern.h b/source/blender/editors/space_logic/logic_intern.h index 773a36bdb2d..ac5d11a3ee1 100644 --- a/source/blender/editors/space_logic/logic_intern.h +++ b/source/blender/editors/space_logic/logic_intern.h @@ -51,5 +51,8 @@ void logic_header_buttons(const struct bContext *C, struct ARegion *ar); void logic_buttons_register(struct ARegionType *art); void LOGIC_OT_properties(struct wmOperatorType *ot); +/* logic_window.c */ +void logic_buttons(struct bContext *C, struct ARegion *ar); + #endif /* ED_LOGIC_INTERN_H */ -- cgit v1.2.3