Blender V2.61 - r43446
|
00001 /* 00002 * ***** BEGIN GPL LICENSE BLOCK ***** 00003 * 00004 * This program is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU General Public License 00006 * as published by the Free Software Foundation; either version 2 00007 * of the License, or (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software Foundation, 00016 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00017 * 00018 * The Original Code is Copyright (C) 2008 Blender Foundation. 00019 * All rights reserved. 00020 * 00021 * 00022 * Contributor(s): Blender Foundation 00023 * 00024 * ***** END GPL LICENSE BLOCK ***** 00025 */ 00026 00031 #ifndef ED_SPACE_API_H 00032 #define ED_SPACE_API_H 00033 00034 struct ARegionType; 00035 struct bContext; 00036 00037 /* the pluginnable API for export to editors */ 00038 00039 /* calls for registering default spaces */ 00040 void ED_spacetype_outliner(void); 00041 void ED_spacetype_time(void); 00042 void ED_spacetype_view3d(void); 00043 void ED_spacetype_ipo(void); 00044 void ED_spacetype_image(void); 00045 void ED_spacetype_node(void); 00046 void ED_spacetype_buttons(void); 00047 void ED_spacetype_info(void); 00048 void ED_spacetype_file(void); 00049 void ED_spacetype_action(void); 00050 void ED_spacetype_nla(void); 00051 void ED_spacetype_script(void); 00052 void ED_spacetype_text(void); 00053 void ED_spacetype_sequencer(void); 00054 void ED_spacetype_logic(void); 00055 void ED_spacetype_console(void); 00056 void ED_spacetype_userpref(void); 00057 void ED_spacetype_clip(void); 00058 00059 /* calls for instancing and freeing spacetype static data 00060 called in WM_init_exit */ 00061 /* in space_file.c */ 00062 void ED_file_init(void); 00063 void ED_file_exit(void); 00064 00065 #define REGION_DRAW_POST_VIEW 0 00066 #define REGION_DRAW_POST_PIXEL 1 00067 #define REGION_DRAW_PRE_VIEW 2 00068 00069 void *ED_region_draw_cb_activate(struct ARegionType *, 00070 void (*draw)(const struct bContext *, struct ARegion *, void *), 00071 void *custumdata, int type); 00072 void ED_region_draw_cb_draw(const struct bContext *, struct ARegion *, int); 00073 void ED_region_draw_cb_exit(struct ARegionType *, void *); 00074 void *ED_region_draw_cb_customdata(void *handle); 00075 00076 #endif /* ED_SPACE_API_H */ 00077