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