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 00032 #ifndef ED_CURVE_INTERN_H 00033 #define ED_CURVE_INTERN_H 00034 00035 /* internal exports only */ 00036 struct wmOperatorType; 00037 00038 /* lorem.c */ 00039 extern const char ED_lorem[]; 00040 00041 /* editfont.c */ 00042 enum { DEL_ALL, DEL_NEXT_CHAR, DEL_PREV_CHAR, DEL_SELECTION, DEL_NEXT_SEL, DEL_PREV_SEL }; 00043 enum { CASE_LOWER, CASE_UPPER }; 00044 enum { LINE_BEGIN, LINE_END, PREV_CHAR, NEXT_CHAR, PREV_WORD, NEXT_WORD, 00045 PREV_LINE, NEXT_LINE, PREV_PAGE, NEXT_PAGE }; 00046 00047 void FONT_OT_text_insert(struct wmOperatorType *ot); 00048 void FONT_OT_line_break(struct wmOperatorType *ot); 00049 void FONT_OT_insert_lorem(struct wmOperatorType *ot); 00050 00051 void FONT_OT_case_toggle(struct wmOperatorType *ot); 00052 void FONT_OT_case_set(struct wmOperatorType *ot); 00053 void FONT_OT_style_toggle(struct wmOperatorType *ot); 00054 void FONT_OT_style_set(struct wmOperatorType *ot); 00055 00056 void FONT_OT_text_copy(struct wmOperatorType *ot); 00057 void FONT_OT_text_cut(struct wmOperatorType *ot); 00058 void FONT_OT_text_paste(struct wmOperatorType *ot); 00059 void FONT_OT_file_paste(struct wmOperatorType *ot); 00060 00061 void FONT_OT_move(struct wmOperatorType *ot); 00062 void FONT_OT_move_select(struct wmOperatorType *ot); 00063 void FONT_OT_delete(struct wmOperatorType *ot); 00064 00065 void FONT_OT_change_character(struct wmOperatorType *ot); 00066 void FONT_OT_change_spacing(struct wmOperatorType *ot); 00067 00068 void FONT_OT_open(struct wmOperatorType *ot); 00069 void FONT_OT_unlink(struct wmOperatorType *ot); 00070 00071 void FONT_OT_textbox_add(struct wmOperatorType *ot); 00072 void FONT_OT_textbox_remove(struct wmOperatorType *ot); 00073 00074 /* editcurve.c */ 00075 void CURVE_OT_hide(struct wmOperatorType *ot); 00076 void CURVE_OT_reveal(struct wmOperatorType *ot); 00077 00078 void CURVE_OT_separate(struct wmOperatorType *ot); 00079 void CURVE_OT_duplicate(struct wmOperatorType *ot); 00080 void CURVE_OT_delete(struct wmOperatorType *ot); 00081 00082 void CURVE_OT_spline_type_set(struct wmOperatorType *ot); 00083 void CURVE_OT_radius_set(struct wmOperatorType *ot); 00084 void CURVE_OT_spline_weight_set(struct wmOperatorType *ot); 00085 void CURVE_OT_handle_type_set(struct wmOperatorType *ot); 00086 void CURVE_OT_shade_smooth(struct wmOperatorType *ot); 00087 void CURVE_OT_shade_flat(struct wmOperatorType *ot); 00088 void CURVE_OT_tilt_clear(struct wmOperatorType *ot); 00089 00090 void CURVE_OT_smooth(struct wmOperatorType *ot); 00091 void CURVE_OT_smooth_radius(struct wmOperatorType *ot); 00092 00093 void CURVE_OT_primitive_bezier_curve_add(struct wmOperatorType *ot); 00094 void CURVE_OT_primitive_bezier_circle_add(struct wmOperatorType *ot); 00095 void CURVE_OT_primitive_nurbs_curve_add(struct wmOperatorType *ot); 00096 void CURVE_OT_primitive_nurbs_circle_add(struct wmOperatorType *ot); 00097 void CURVE_OT_primitive_nurbs_path_add(struct wmOperatorType *ot); 00098 00099 void SURFACE_OT_primitive_nurbs_surface_curve_add(struct wmOperatorType *ot); 00100 void SURFACE_OT_primitive_nurbs_surface_circle_add(struct wmOperatorType *ot); 00101 void SURFACE_OT_primitive_nurbs_surface_surface_add(struct wmOperatorType *ot); 00102 void SURFACE_OT_primitive_nurbs_surface_cylinder_add(struct wmOperatorType *ot); 00103 void SURFACE_OT_primitive_nurbs_surface_sphere_add(struct wmOperatorType *ot); 00104 void SURFACE_OT_primitive_nurbs_surface_torus_add(struct wmOperatorType *ot); 00105 00106 void CURVE_OT_de_select_first(struct wmOperatorType *ot); 00107 void CURVE_OT_de_select_last(struct wmOperatorType *ot); 00108 void CURVE_OT_select_all(struct wmOperatorType *ot); 00109 void CURVE_OT_select_linked(struct wmOperatorType *ot); 00110 void CURVE_OT_select_linked_pick(struct wmOperatorType *ot); 00111 void CURVE_OT_select_row(struct wmOperatorType *ot); 00112 void CURVE_OT_select_next(struct wmOperatorType *ot); 00113 void CURVE_OT_select_previous(struct wmOperatorType *ot); 00114 void CURVE_OT_select_more(struct wmOperatorType *ot); 00115 void CURVE_OT_select_less(struct wmOperatorType *ot); 00116 void CURVE_OT_select_random(struct wmOperatorType *ot); 00117 void CURVE_OT_select_nth(struct wmOperatorType *ot); 00118 00119 void CURVE_OT_switch_direction(struct wmOperatorType *ot); 00120 void CURVE_OT_subdivide(struct wmOperatorType *ot); 00121 void CURVE_OT_make_segment(struct wmOperatorType *ot); 00122 void CURVE_OT_spin(struct wmOperatorType *ot); 00123 void CURVE_OT_vertex_add(struct wmOperatorType *ot); 00124 void CURVE_OT_extrude(struct wmOperatorType *ot); 00125 void CURVE_OT_cyclic_toggle(struct wmOperatorType *ot); 00126 00127 void CURVE_OT_specials_menu(struct wmOperatorType *ot); 00128 00129 #endif /* ED_UTIL_INTERN_H */ 00130