Blender  V2.59
curve_intern.h
Go to the documentation of this file.
00001 /*
00002  * $Id: curve_intern.h 35242 2011-02-27 20:29:51Z jesterking $
00003  *
00004  * ***** BEGIN GPL LICENSE BLOCK *****
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version. 
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software Foundation,
00018  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00019  *
00020  * The Original Code is Copyright (C) 2008 Blender Foundation.
00021  * All rights reserved.
00022  *
00023  * 
00024  * Contributor(s): Blender Foundation
00025  *
00026  * ***** END GPL LICENSE BLOCK *****
00027  */
00028 
00034 #ifndef ED_CURVE_INTERN_H
00035 #define ED_CURVE_INTERN_H
00036 
00037 /* internal exports only */
00038 struct wmOperatorType;
00039 
00040 /* lorem.c */
00041 extern const char ED_lorem[];
00042 
00043 /* editfont.c */
00044 enum { DEL_ALL, DEL_NEXT_CHAR, DEL_PREV_CHAR, DEL_SELECTION, DEL_NEXT_SEL, DEL_PREV_SEL };
00045 enum { CASE_LOWER, CASE_UPPER };
00046 enum { LINE_BEGIN, LINE_END, PREV_CHAR, NEXT_CHAR, PREV_WORD, NEXT_WORD,
00047            PREV_LINE, NEXT_LINE, PREV_PAGE, NEXT_PAGE };
00048 
00049 void FONT_OT_text_insert(struct wmOperatorType *ot);
00050 void FONT_OT_line_break(struct wmOperatorType *ot);
00051 void FONT_OT_insert_lorem(struct wmOperatorType *ot);
00052 
00053 void FONT_OT_case_toggle(struct wmOperatorType *ot);
00054 void FONT_OT_case_set(struct wmOperatorType *ot);
00055 void FONT_OT_style_toggle(struct wmOperatorType *ot);
00056 void FONT_OT_style_set(struct wmOperatorType *ot);
00057 
00058 void FONT_OT_text_copy(struct wmOperatorType *ot);
00059 void FONT_OT_text_cut(struct wmOperatorType *ot);
00060 void FONT_OT_text_paste(struct wmOperatorType *ot);
00061 void FONT_OT_file_paste(struct wmOperatorType *ot);
00062 void FONT_OT_buffer_paste(struct wmOperatorType *ot);
00063 
00064 void FONT_OT_move(struct wmOperatorType *ot);
00065 void FONT_OT_move_select(struct wmOperatorType *ot);
00066 void FONT_OT_delete(struct wmOperatorType *ot);
00067 
00068 void FONT_OT_change_character(struct wmOperatorType *ot);
00069 void FONT_OT_change_spacing(struct wmOperatorType *ot);
00070 
00071 void FONT_OT_open(struct wmOperatorType *ot);
00072 void FONT_OT_unlink(struct wmOperatorType *ot);
00073 
00074 void FONT_OT_textbox_add(struct wmOperatorType *ot);
00075 void FONT_OT_textbox_remove(struct wmOperatorType *ot);
00076 
00077 /* editcurve.c */
00078 void CURVE_OT_hide(struct wmOperatorType *ot);
00079 void CURVE_OT_reveal(struct wmOperatorType *ot);
00080 
00081 void CURVE_OT_separate(struct wmOperatorType *ot);
00082 void CURVE_OT_duplicate(struct wmOperatorType *ot);
00083 void CURVE_OT_delete(struct wmOperatorType *ot);
00084 
00085 void CURVE_OT_spline_type_set(struct wmOperatorType *ot);
00086 void CURVE_OT_radius_set(struct wmOperatorType *ot);
00087 void CURVE_OT_spline_weight_set(struct wmOperatorType *ot);
00088 void CURVE_OT_handle_type_set(struct wmOperatorType *ot);
00089 void CURVE_OT_shade_smooth(struct wmOperatorType *ot);
00090 void CURVE_OT_shade_flat(struct wmOperatorType *ot);
00091 void CURVE_OT_tilt_clear(struct wmOperatorType *ot);
00092 
00093 void CURVE_OT_smooth(struct wmOperatorType *ot);
00094 void CURVE_OT_smooth_radius(struct wmOperatorType *ot);
00095 
00096 void CURVE_OT_primitive_bezier_curve_add(struct wmOperatorType *ot);
00097 void CURVE_OT_primitive_bezier_circle_add(struct wmOperatorType *ot);
00098 void CURVE_OT_primitive_nurbs_curve_add(struct wmOperatorType *ot);
00099 void CURVE_OT_primitive_nurbs_circle_add(struct wmOperatorType *ot);
00100 void CURVE_OT_primitive_nurbs_path_add(struct wmOperatorType *ot);
00101 
00102 void SURFACE_OT_primitive_nurbs_surface_curve_add(struct wmOperatorType *ot);
00103 void SURFACE_OT_primitive_nurbs_surface_circle_add(struct wmOperatorType *ot);
00104 void SURFACE_OT_primitive_nurbs_surface_surface_add(struct wmOperatorType *ot);
00105 void SURFACE_OT_primitive_nurbs_surface_cylinder_add(struct wmOperatorType *ot);
00106 void SURFACE_OT_primitive_nurbs_surface_sphere_add(struct wmOperatorType *ot);
00107 void SURFACE_OT_primitive_nurbs_surface_torus_add(struct wmOperatorType *ot);
00108 
00109 void CURVE_OT_de_select_first(struct wmOperatorType *ot);
00110 void CURVE_OT_de_select_last(struct wmOperatorType *ot);
00111 void CURVE_OT_select_all(struct wmOperatorType *ot);
00112 void CURVE_OT_select_inverse(struct wmOperatorType *ot);
00113 void CURVE_OT_select_linked(struct wmOperatorType *ot);
00114 void CURVE_OT_select_linked_pick(struct wmOperatorType *ot);
00115 void CURVE_OT_select_row(struct wmOperatorType *ot);
00116 void CURVE_OT_select_next(struct wmOperatorType *ot);
00117 void CURVE_OT_select_previous(struct wmOperatorType *ot);
00118 void CURVE_OT_select_more(struct wmOperatorType *ot);
00119 void CURVE_OT_select_less(struct wmOperatorType *ot);
00120 void CURVE_OT_select_random(struct wmOperatorType *ot);
00121 void CURVE_OT_select_nth(struct wmOperatorType *ot);
00122 
00123 void CURVE_OT_switch_direction(struct wmOperatorType *ot);
00124 void CURVE_OT_subdivide(struct wmOperatorType *ot);
00125 void CURVE_OT_make_segment(struct wmOperatorType *ot);
00126 void CURVE_OT_spin(struct wmOperatorType *ot);
00127 void CURVE_OT_vertex_add(struct wmOperatorType *ot);
00128 void CURVE_OT_extrude(struct wmOperatorType *ot);
00129 void CURVE_OT_cyclic_toggle(struct wmOperatorType *ot);
00130 
00131 void CURVE_OT_specials_menu(struct wmOperatorType *ot);
00132 
00133 #endif /* ED_UTIL_INTERN_H */
00134