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 * Contributor(s): Blender Foundation (2008). 00019 * 00020 * ***** END GPL LICENSE BLOCK ***** 00021 */ 00022 00023 #ifndef RNA_ENUM_TYPES_H 00024 #define RNA_ENUM_TYPES_H 00025 00030 #include "RNA_types.h" 00031 00032 /* Types */ 00033 00034 extern EnumPropertyItem id_type_items[]; 00035 00036 /* use in cases where only dynamic types are used */ 00037 extern EnumPropertyItem DummyRNA_NULL_items[]; 00038 extern EnumPropertyItem DummyRNA_DEFAULT_items[]; 00039 00040 extern EnumPropertyItem object_mode_items[]; 00041 extern EnumPropertyItem metaelem_type_items[]; 00042 00043 extern EnumPropertyItem proportional_falloff_items[]; 00044 extern EnumPropertyItem proportional_editing_items[]; 00045 extern EnumPropertyItem snap_target_items[]; 00046 extern EnumPropertyItem snap_element_items[]; 00047 extern EnumPropertyItem mesh_select_mode_items[]; 00048 extern EnumPropertyItem space_type_items[]; 00049 extern EnumPropertyItem region_type_items[]; 00050 extern EnumPropertyItem modifier_type_items[]; 00051 extern EnumPropertyItem constraint_type_items[]; 00052 extern EnumPropertyItem boidrule_type_items[]; 00053 00054 extern EnumPropertyItem image_type_items[]; 00055 extern EnumPropertyItem image_color_mode_items[]; 00056 extern EnumPropertyItem image_depth_mode_items[]; 00057 00058 extern EnumPropertyItem beztriple_keyframe_type_items[]; 00059 extern EnumPropertyItem beztriple_handle_type_items[]; 00060 extern EnumPropertyItem beztriple_interpolation_mode_items[]; 00061 extern EnumPropertyItem keyframe_handle_type_items[]; 00062 00063 extern EnumPropertyItem keyingset_path_grouping_items[]; 00064 00065 extern EnumPropertyItem keyframe_paste_offset_items[]; 00066 extern EnumPropertyItem keyframe_paste_merge_items[]; 00067 00068 extern EnumPropertyItem fmodifier_type_items[]; 00069 00070 extern EnumPropertyItem nla_mode_extend_items[]; 00071 extern EnumPropertyItem nla_mode_blend_items[]; 00072 00073 extern EnumPropertyItem event_value_items[]; 00074 extern EnumPropertyItem event_type_items[]; 00075 extern EnumPropertyItem operator_return_items[]; 00076 00077 extern EnumPropertyItem brush_sculpt_tool_items[]; 00078 extern EnumPropertyItem brush_vertex_tool_items[]; 00079 extern EnumPropertyItem brush_image_tool_items[]; 00080 00081 extern EnumPropertyItem texture_type_items[]; 00082 00083 extern EnumPropertyItem lamp_type_items[]; 00084 00085 extern EnumPropertyItem unpack_method_items[]; 00086 00087 extern EnumPropertyItem object_type_items[]; 00088 00089 extern EnumPropertyItem object_type_curve_items[]; 00090 00091 extern EnumPropertyItem controller_type_items[]; 00092 00093 extern EnumPropertyItem keymap_propvalue_items[]; 00094 00095 extern EnumPropertyItem operator_context_items[]; 00096 00097 extern EnumPropertyItem wm_report_items[]; 00098 00099 extern EnumPropertyItem transform_mode_types[]; 00100 00101 extern EnumPropertyItem posebone_rotmode_items[]; 00102 00103 extern EnumPropertyItem property_type_items[]; 00104 extern EnumPropertyItem property_subtype_items[]; 00105 extern EnumPropertyItem property_unit_items[]; 00106 00107 extern EnumPropertyItem gameproperty_type_items[]; 00108 00109 extern EnumPropertyItem viewport_shade_items[]; 00110 00111 extern EnumPropertyItem nodetree_type_items[]; 00112 extern EnumPropertyItem node_socket_type_items[]; 00113 00114 extern EnumPropertyItem node_math_items[]; 00115 extern EnumPropertyItem node_vec_math_items[]; 00116 extern EnumPropertyItem node_filter_items[]; 00117 00118 extern EnumPropertyItem ramp_blend_items[]; 00119 00120 extern EnumPropertyItem prop_dynamicpaint_type_items[]; 00121 00122 struct bContext; 00123 struct PointerRNA; 00124 struct PropertyRNA; 00125 EnumPropertyItem *rna_TransformOrientation_itemf(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, int *free); 00126 EnumPropertyItem *rna_Sensor_type_itemf(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, int *free); 00127 EnumPropertyItem *rna_Actuator_type_itemf(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, int *free); 00128 00129 /* Generic functions, return an enum from library data, index is the position 00130 * in the linked list can add more for different types as needed */ 00131 EnumPropertyItem *RNA_action_itemf(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, int *free); 00132 EnumPropertyItem *RNA_action_local_itemf(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, int *free); 00133 EnumPropertyItem *RNA_group_itemf(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, int *free); 00134 EnumPropertyItem *RNA_group_local_itemf(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, int *free); 00135 EnumPropertyItem *RNA_image_itemf(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, int *free); 00136 EnumPropertyItem *RNA_image_local_itemf(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, int *free); 00137 EnumPropertyItem *RNA_scene_itemf(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, int *free); 00138 EnumPropertyItem *RNA_scene_local_itemf(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, int *free); 00139 00140 #endif /* RNA_ENUM_TYPES_H */