Blender V2.61 - r43446
Functions | Variables

rna_space.c File Reference

#include <stdlib.h>
#include "MEM_guardedalloc.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "rna_internal.h"
#include "BKE_key.h"
#include "BKE_movieclip.h"
#include "DNA_action_types.h"
#include "DNA_key_types.h"
#include "DNA_node_types.h"
#include "DNA_object_types.h"
#include "DNA_space_types.h"
#include "DNA_sequence_types.h"
#include "DNA_view3d_types.h"
#include "WM_api.h"
#include "WM_types.h"
#include "RE_engine.h"
#include "RE_pipeline.h"
#include "RNA_enum_types.h"

Go to the source code of this file.

Functions

static void rna_def_space (BlenderRNA *brna)
static void rna_def_space_image_uv (BlenderRNA *brna)
static void rna_def_space_outliner (BlenderRNA *brna)
static void rna_def_background_image (BlenderRNA *brna)
static void rna_def_backgroundImages (BlenderRNA *brna, PropertyRNA *cprop)
static void rna_def_space_view3d (BlenderRNA *brna)
static void rna_def_space_buttons (BlenderRNA *brna)
static void rna_def_space_image (BlenderRNA *brna)
static void rna_def_space_sequencer (BlenderRNA *brna)
static void rna_def_space_text (BlenderRNA *brna)
static void rna_def_space_dopesheet (BlenderRNA *brna)
static void rna_def_space_graph (BlenderRNA *brna)
static void rna_def_space_nla (BlenderRNA *brna)
static void rna_def_space_time (BlenderRNA *brna)
static void rna_def_console_line (BlenderRNA *brna)
static void rna_def_space_console (BlenderRNA *brna)
static void rna_def_fileselect_params (BlenderRNA *brna)
static void rna_def_space_filebrowser (BlenderRNA *brna)
static void rna_def_space_info (BlenderRNA *brna)
static void rna_def_space_userpref (BlenderRNA *brna)
static void rna_def_space_node (BlenderRNA *brna)
static void rna_def_space_logic (BlenderRNA *brna)
static void rna_def_space_clip (BlenderRNA *brna)
void RNA_def_space (BlenderRNA *brna)

Variables

EnumPropertyItem space_type_items []
static EnumPropertyItem draw_channels_items []
static EnumPropertyItem transform_orientation_items []
EnumPropertyItem autosnap_items []
EnumPropertyItem viewport_shade_items []

Detailed Description

Definition in file rna_space.c.


Function Documentation

static void rna_def_background_image ( BlenderRNA brna) [static]
static void rna_def_backgroundImages ( BlenderRNA brna,
PropertyRNA cprop 
) [static]
static void rna_def_console_line ( BlenderRNA brna) [static]
static void rna_def_fileselect_params ( BlenderRNA brna) [static]
static void rna_def_space ( BlenderRNA brna) [static]
void RNA_def_space ( BlenderRNA brna)
static void rna_def_space_buttons ( BlenderRNA brna) [static]
static void rna_def_space_clip ( BlenderRNA brna) [static]
static void rna_def_space_console ( BlenderRNA brna) [static]
static void rna_def_space_dopesheet ( BlenderRNA brna) [static]
static void rna_def_space_filebrowser ( BlenderRNA brna) [static]
static void rna_def_space_graph ( BlenderRNA brna) [static]
static void rna_def_space_image ( BlenderRNA brna) [static]
static void rna_def_space_image_uv ( BlenderRNA brna) [static]
static void rna_def_space_info ( BlenderRNA brna) [static]
static void rna_def_space_logic ( BlenderRNA brna) [static]
static void rna_def_space_nla ( BlenderRNA brna) [static]
static void rna_def_space_node ( BlenderRNA brna) [static]
static void rna_def_space_outliner ( BlenderRNA brna) [static]
static void rna_def_space_sequencer ( BlenderRNA brna) [static]
static void rna_def_space_text ( BlenderRNA brna) [static]
static void rna_def_space_time ( BlenderRNA brna) [static]
static void rna_def_space_userpref ( BlenderRNA brna) [static]
static void rna_def_space_view3d ( BlenderRNA brna) [static]

Definition at line 1348 of file rna_space.c.

References FLT_MAX, NC_SPACE, NC_WINDOW, ND_SPACE_VIEW3D, NULL, OB_ARROWS, OB_CIRCLE, OB_CUBE, OB_EMPTY_CONE, OB_EMPTY_SPHERE, OB_PLAINAXES, OB_SINGLE_ARROW, PROP_BOOLEAN, PROP_COLLECTION, PROP_DISTANCE, PROP_EDITABLE, PROP_ENUM, PROP_FLOAT, PROP_INT, PROP_LAYER_MEMBER, PROP_MATRIX, PROP_NONE, PROP_POINTER, PROP_QUATERNION, PROP_STRING, PROP_TRANSLATION, PROP_UNSIGNED, PROP_XYZ_LENGTH, rna_def_backgroundImages(), RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_negative_sdna(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_collection_sdna(), RNA_def_property_enum_funcs(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_funcs(), RNA_def_property_float_sdna(), RNA_def_property_int_sdna(), RNA_def_property_multi_array(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_string_sdna(), RNA_def_property_struct_type(), RNA_def_property_ui_icon(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), RV3D_BOXCLIP, RV3D_BOXVIEW, RV3D_CAMOB, RV3D_LOCKED, RV3D_ORTHO, RV3D_PERSP, V3D_ACTIVE, V3D_ALIGN, V3D_CENTER, V3D_CENTROID, V3D_CURSOR, V3D_DISPBGPICS, V3D_DRAW_CENTERS, V3D_HIDE_HELPLINES, V3D_LOCAL, V3D_LOCK_CAMERA, V3D_MANIP_ROTATE, V3D_MANIP_SCALE, V3D_MANIP_TRANSLATE, V3D_RENDER_OVERRIDE, V3D_SELECT_OUTLINE, V3D_SHOW_BUNDLENAME, V3D_SHOW_CAMERAPATH, V3D_SHOW_FLOOR, V3D_SHOW_RECONSTRUCTION, V3D_SHOW_X, V3D_SHOW_Y, V3D_SHOW_Z, V3D_SOLID_TEX, V3D_USE_MANIPULATOR, and V3D_ZBUF_SELECT.

Referenced by RNA_def_space().


Variable Documentation

Initial value:
 {
    {SACTSNAP_OFF, "NONE", 0, "No Auto-Snap", ""},
    {SACTSNAP_STEP, "STEP", 0, "Time Step", "Snap to 1.0 frame/second intervals"},
    {SACTSNAP_FRAME, "FRAME", 0, "Nearest Frame", "Snap to actual frames/seconds (nla-action time)"},
    {SACTSNAP_MARKER, "MARKER", 0, "Nearest Marker", "Snap to nearest marker"},
    {0, NULL, 0, NULL, NULL}}

Definition at line 95 of file rna_space.c.

Initial value:
 {
    {0, "COLOR", ICON_IMAGE_RGB, "Color", "Draw image with RGB colors"},
    {SI_USE_ALPHA, "COLOR_ALPHA", ICON_IMAGE_RGB_ALPHA, "Color and Alpha", "Draw image with RGB colors and alpha transparency"},
    {SI_SHOW_ALPHA, "ALPHA", ICON_IMAGE_ALPHA, "Alpha", "Draw alpha transparency channel"},
    {SI_SHOW_ZBUF, "Z_BUFFER", ICON_IMAGE_ZDEPTH, "Z-Buffer",
                   "Draw Z-buffer associated with image (mapped from camera clip start to end)"},
    {0, NULL, 0, NULL, NULL}}

Definition at line 77 of file rna_space.c.

Initial value:
 {
    {SPACE_EMPTY, "EMPTY", 0, "Empty", ""},
    {SPACE_VIEW3D, "VIEW_3D", 0, "3D View", ""},
    {SPACE_IPO, "GRAPH_EDITOR", 0, "Graph Editor", ""},
    {SPACE_OUTLINER, "OUTLINER", 0, "Outliner", ""},
    {SPACE_BUTS, "PROPERTIES", 0, "Properties", ""},
    {SPACE_FILE, "FILE_BROWSER", 0, "File Browser", ""},
    {SPACE_IMAGE, "IMAGE_EDITOR", 0, "Image Editor", ""},
    {SPACE_INFO, "INFO", 0, "Info", ""},
    {SPACE_SEQ, "SEQUENCE_EDITOR", 0, "Sequence Editor", ""},
    {SPACE_TEXT, "TEXT_EDITOR", 0, "Text Editor", ""},
    {SPACE_ACTION, "DOPESHEET_EDITOR", 0, "DopeSheet Editor", ""},
    {SPACE_NLA, "NLA_EDITOR", 0, "NLA Editor", ""},
    {SPACE_TIME, "TIMELINE", 0, "Timeline", ""},
    {SPACE_NODE, "NODE_EDITOR", 0, "Node Editor", ""},
    {SPACE_LOGIC, "LOGIC_EDITOR", 0, "Logic Editor", ""},
    {SPACE_CONSOLE, "CONSOLE", 0, "Python Console", ""},
    {SPACE_USERPREF, "USER_PREFERENCES", 0, "User Preferences", ""},
    {SPACE_CLIP, "CLIP_EDITOR", 0, "Clip Editor", ""},
    {0, NULL, 0, NULL, NULL}}

Definition at line 56 of file rna_space.c.

Referenced by RNA_api_keymaps(), rna_def_area(), rna_def_header(), rna_def_keyconfig(), and rna_def_panel().

Initial value:
 {
    {V3D_MANIP_GLOBAL, "GLOBAL", 0, "Global", "Align the transformation axes to world space"},
    {V3D_MANIP_LOCAL, "LOCAL", 0, "Local", "Align the transformation axes to the selected objects' local space"},
    {V3D_MANIP_GIMBAL, "GIMBAL", 0, "Gimbal", "Align each axis to the Euler rotation axis as used for input"},
    {V3D_MANIP_NORMAL, "NORMAL", 0, "Normal",
                       "Align the transformation axes to average normal of selected elements (bone Y axis for pose mode)"},
    {V3D_MANIP_VIEW, "VIEW", 0, "View", "Align the transformation axes to the window"},
    {V3D_MANIP_CUSTOM, "CUSTOM", 0, "Custom", "Use a custom transform orientation"},
    {0, NULL, 0, NULL, NULL}}

Definition at line 85 of file rna_space.c.

Initial value:
 {
    {OB_BOUNDBOX, "BOUNDBOX", ICON_BBOX, "Bounding Box", "Display the object's local bounding boxes only"},
    {OB_WIRE, "WIREFRAME", ICON_WIRE, "Wireframe", "Display the object as wire edges"},
    {OB_SOLID, "SOLID", ICON_SOLID, "Solid", "Display the object solid, lit with default OpenGL lights"},
    {OB_TEXTURE, "TEXTURED", ICON_POTATO, "Texture", "Display the object solid, with a texture"},
    {OB_MATERIAL, "MATERIAL", ICON_MATERIAL_DATA, "Material", "Display objects solid, with GLSL material"},
    {OB_RENDER, "RENDERED", ICON_SMOOTH, "Rendered", "Display render preview"},
    {0, NULL, 0, NULL, NULL}}

Definition at line 102 of file rna_space.c.

Referenced by rna_def_scene_render_data().