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:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-10-10 07:16:32 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2003-10-10 07:16:32 +0400
commita044f0bb2ec53c60c0fafc9d0e46c04199832a6b (patch)
tree91f3eb0aea7e105cb4a524700a33e541b4cce0a7 /source/blender/include/BSE_headerbuttons.h
parent6f342499242c9faa9051d633caf53c90839e8568 (diff)
Splitting source/blender/src/headerbuttons.c in smaller header_***.c files.
The original headerbuttons.c is for now kept as headerbuttons.txt The included .h files were updated to only include needed ones in each file. Makefile.am (for the autotools build) was updated. Didn't test with original makefiles. Other build systems will of course need to be updated.
Diffstat (limited to 'source/blender/include/BSE_headerbuttons.h')
-rw-r--r--source/blender/include/BSE_headerbuttons.h60
1 files changed, 41 insertions, 19 deletions
diff --git a/source/blender/include/BSE_headerbuttons.h b/source/blender/include/BSE_headerbuttons.h
index b2f7fb18ca3..0ca3d73197c 100644
--- a/source/blender/include/BSE_headerbuttons.h
+++ b/source/blender/include/BSE_headerbuttons.h
@@ -36,17 +36,34 @@
struct uiBlock;
struct ID;
+/* these used to be in blender/src/headerbuttons.c: */
+#define SPACEICONMAX 14 /* See release/datafiles/blenderbuttons */
+#define XIC 20
+#define YIC 20
+
+int std_libbuttons(struct uiBlock *block,
+ int xco, int pin, short *pinpoin,
+ int browse, struct ID *id, struct ID *parid,
+ short *menupoin, int users,
+ int lib, int del, int autobut, int keepbut);
+
+char *windowtype_pup(void);
+
+int GetButStringLength(char *str);
+void load_space_sound(char *str);
+void load_sound_buttons(char *str);
+/* end of declarations moved from old headerbuttons.c */
+
void update_for_newframe_muted(void);
void free_matcopybuf(void);
void clear_matcopybuf(void);
void write_videoscape_fs(void);
void write_vrml_fs(void);
void write_dxf_fs(void);
-void do_global_buttons(unsigned short event);
-void do_global_buttons2(short event);
int buttons_do_unpack(void);
struct Scene *copy_scene(struct Scene *sce, int level);
-void do_info_buttons(unsigned short event);
+
+void buttons_active_id(struct ID **id, struct ID **idfrom);
int start_progress_bar();
void end_progress_bar();
@@ -54,33 +71,38 @@ int progress_bar(float done, char *busy_info);
void update_for_newframe(void);
-void info_buttons(void);
-void do_seq_buttons(short event);
-void seq_buttons(void);
-void do_view3d_buttons(short event);
-void sound_buttons(void);
-void do_action_buttons(unsigned short event);
-void do_ipo_buttons(short event);
-void do_buts_buttons(short event);
-void do_oops_buttons(short event);
-void do_sound_buttons(unsigned short event);
-void do_layer_buttons(short event);
-void do_nla_buttons(unsigned short event);
-
-void nla_buttons(void);
void action_buttons(void);
void buts_buttons(void);
void file_buttons(void);
void image_buttons(void);
void imasel_buttons(void);
+void info_buttons(void);
void ipo_buttons(void);
+void nla_buttons(void);
void oops_buttons(void);
+void seq_buttons(void);
+void sound_buttons(void);
void text_buttons(void);
void view3d_buttons(void);
-void buttons_active_id(struct ID **id, struct ID **idfrom);
+void do_global_buttons(unsigned short event);
+void do_global_buttons2(short event);
+
+void do_action_buttons(unsigned short event);
+void do_buts_buttons(short event);
+void do_file_buttons(short event);
+void do_image_buttons(unsigned short event);
+void do_imasel_buttons(short event);
+void do_info_buttons(unsigned short event);
+void do_ipo_buttons(short event);
+void do_layer_buttons(short event);
+void do_nla_buttons(unsigned short event);
+void do_oops_buttons(short event);
+void do_seq_buttons(short event);
+void do_sound_buttons(unsigned short event);
+void do_text_buttons(unsigned short event);
+void do_view3d_buttons(short event);
void do_headerbuttons(short event);
#endif /* BSE_HEADERBUTTONS_H */
-