Blender V2.61 - r43446
Defines | Typedefs | Functions | Variables

resources.c File Reference

#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "DNA_curve_types.h"
#include "DNA_userdef_types.h"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "DNA_windowmanager_types.h"
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "BKE_DerivedMesh.h"
#include "BKE_global.h"
#include "BKE_main.h"
#include "BKE_texture.h"
#include "BIF_gl.h"
#include "UI_interface.h"
#include "UI_interface_icons.h"
#include "interface_intern.h"

Go to the source code of this file.

Defines

#define SETCOL(col, r, g, b, a)   col[0]=r; col[1]=g; col[2]= b; col[3]= a;
#define SETCOLF(col, r, g, b, a)   col[0]=r*255; col[1]=g*255; col[2]= b*255; col[3]= a*255;
#define SETCOLTEST(col, r, g, b, a)   if(col[3]==0) {col[0]=r; col[1]=g; col[2]= b; col[3]= a;}

Typedefs

typedef void(* VectorDrawFunc )(int x, int y, int w, int h, float alpha)

Functions

void ui_resources_init (void)
void ui_resources_free (void)
const unsigned char * UI_ThemeGetColorPtr (bTheme *btheme, int spacetype, int colorid)
static void ui_theme_init_boneColorSets (bTheme *btheme)
static void ui_theme_init_new_do (ThemeSpace *ts)
static void ui_theme_init_new (bTheme *btheme)
void ui_theme_init_default (void)
void UI_SetTheme (int spacetype, int regionid)
bThemeUI_GetTheme ()
void UI_ThemeColor (int colorid)
void UI_ThemeColor4 (int colorid)
void UI_ThemeColorShade (int colorid, int offset)
void UI_ThemeColorShadeAlpha (int colorid, int coloffset, int alphaoffset)
void UI_ThemeColorBlend (int colorid1, int colorid2, float fac)
void UI_ThemeColorBlendShade (int colorid1, int colorid2, float fac, int offset)
void UI_ThemeColorBlendShadeAlpha (int colorid1, int colorid2, float fac, int offset, int alphaoffset)
float UI_GetThemeValuef (int colorid)
int UI_GetThemeValue (int colorid)
void UI_GetThemeColor3fv (int colorid, float *col)
void UI_GetThemeColorShade3fv (int colorid, int offset, float *col)
void UI_GetThemeColor3ubv (int colorid, unsigned char col[3])
void UI_GetThemeColor4ubv (int colorid, unsigned char col[4])
void UI_GetThemeColorType4ubv (int colorid, int spacetype, char col[4])
void UI_ColorPtrBlendShade3ubv (const unsigned char cp1[3], const unsigned char cp2[3], float fac, int offset)
void UI_GetColorPtrShade3ubv (const unsigned char cp[3], unsigned char col[3], int offset)
void UI_GetColorPtrBlendShade3ubv (const unsigned char cp1[3], const unsigned char cp2[3], unsigned char col[3], float fac, int offset)
void UI_ThemeClearColor (int colorid)
void UI_make_axis_color (const unsigned char src_col[3], unsigned char dst_col[3], const char axis)
void init_userdef_do_versions (void)

Variables

static bThemetheme_active = NULL
static int theme_spacetype = SPACE_VIEW3D
static int theme_regionid = RGN_TYPE_WINDOW

Detailed Description

Definition in file resources.c.


Define Documentation

#define SETCOL (   col,
  r,
  g,
  b,
 
)    col[0]=r; col[1]=g; col[2]= b; col[3]= a;
#define SETCOLF (   col,
  r,
  g,
  b,
 
)    col[0]=r*255; col[1]=g*255; col[2]= b*255; col[3]= a*255;

Definition at line 442 of file resources.c.

Referenced by init_userdef_do_versions(), and ui_theme_init_default().

#define SETCOLTEST (   col,
  r,
  g,
  b,
 
)    if(col[3]==0) {col[0]=r; col[1]=g; col[2]= b; col[3]= a;}

Definition at line 443 of file resources.c.

Referenced by ui_theme_init_new_do().


Typedef Documentation

typedef void(* VectorDrawFunc)(int x, int y, int w, int h, float alpha)

Definition at line 61 of file resources.c.


Function Documentation

void init_userdef_do_versions ( void  )

Definition at line 1132 of file resources.c.

References ThemeSpace::act_marker, ThemeSpace::act_spline, UserDef::addons, UserDef::anim_player_preset, UserDef::anisotropic_filter, ThemeSpace::audio, UserDef::audiochannels, UserDef::audiodevice, UserDef::audioformat, UserDef::audiorate, UserDef::autokey_flag, AUTOKEY_FLAG_ONLYKEYINGSET, UserDef::autokey_mode, ThemeSpace::back, BEZT_IPO_BEZ, BLI_addtail(), BLI_findstring(), BLI_strncpy(), BLI_system_temporary_dir(), ThemeSpace::bone_pose, ThemeSpace::bone_solid, ThemeSpace::bundle_solid, ThemeSpace::camera_path, ThemeSpace::cframe, UserDef::coba_weight, UserDef::dbl_click_time, ThemeSpace::dis_marker, UserDef::dpi, UserDef::dragthreshold, ThemeSpace::ds_channel, ThemeSpace::ds_subchannel, UserDef::dupflag, ThemeSpace::edge_crease, ThemeSpace::edge_seam, ThemeSpace::edge_select, ThemeSpace::edge_sharp, ThemeSpace::editmesh_active, ThemeSpace::effect, ThemeSpace::extra_edge_len, ThemeSpace::extra_face_angle, ThemeSpace::extra_face_area, ThemeSpace::face_dot, ThemeSpace::facedot_size, ListBase::first, UserDef::flag, UserDef::frameserverport, G, UserDef::gameflags, UserDef::gp_euclideandist, UserDef::gp_manhattendist, ThemeSpace::grid, ThemeSpace::group, ThemeSpace::group_active, ThemeSpace::handle_align, ThemeSpace::handle_auto, ThemeSpace::handle_auto_clamped, ThemeSpace::handle_free, ThemeSpace::handle_sel_align, ThemeSpace::handle_sel_auto, ThemeSpace::handle_sel_auto_clamped, ThemeSpace::handle_sel_free, ThemeSpace::handle_sel_vect, ThemeSpace::handle_vect, ThemeSpace::handle_vertex, ThemeSpace::handle_vertex_select, ThemeSpace::handle_vertex_size, HD_AUTO, HD_AUTO_ANIM, uiPanelColors::header, ThemeUI::icon_alpha, wmKeyMap::idname, ThemeSpace::image, init_colorband(), UserDef::ipo_new, UserDef::keyhandles_new, ThemeSpace::lamp, ThemeSpace::lastsel_point, ThemeSpace::lock_marker, ThemeSpace::marker, ThemeSpace::marker_outline, MEM_callocN(), UserDef::memcachelimit, UserDef::menuthreshold1, UserDef::menuthreshold2, ThemeSpace::meta, UserDef::mixbufsize, bAddon::module, module, ThemeSpace::movie, UserDef::ndof_flag, NDOF_LOCK_HORIZON, UserDef::ndof_sensitivity, NDOF_SHOULD_PAN, NDOF_SHOULD_ROTATE, NDOF_SHOULD_ZOOM, wmKeyMap::next, bTheme::next, ThemeSpace::noodle_curving, ThemeSpace::normal, NULL, UserDef::obcenter_dia, uiWidgetColors::outline, ThemeSpace::outline_width, UserDef::pad_rot_angle, ThemeUI::panel, ThemeSpace::path_after, ThemeSpace::path_before, ThemeSpace::plugin, UserDef::plugtexdir, UserDef::recent_files, UserDef::rvibright, UserDef::rvisize, UserDef::savetime, ThemeSpace::scene, UserDef::scrcastfps, UserDef::scrcastwait, ThemeSpace::sel_marker, SETCOL, SETCOLF, ThemeSpace::shade1, ThemeWireColor::solid, UserDef::sounddir, ThemeSpace::speaker, ThemeSpace::strip, ThemeSpace::strip_select, Main::subversionfile, ThemeSpace::syntaxb, ThemeSpace::syntaxc, ThemeSpace::syntaxl, ThemeSpace::syntaxn, ThemeSpace::syntaxv, bTheme::tact, bTheme::tarm, UserDef::tb_leftmouse, UserDef::tb_rightmouse, bTheme::tclip, UserDef::tempdir, UserDef::texcollectrate, bTheme::text, UserDef::textimeout, UserDef::textudir, UserDef::themes, bTheme::tima, bTheme::tinfo, bTheme::tipo, bTheme::tlogic, bTheme::tnla, bTheme::tnode, ColorBand::tot, ThemeSpace::transition, bTheme::tseq, bTheme::ttime, bTheme::tui, bTheme::tuserpref, bTheme::tv3d, UserDef::tw_handlesize, UserDef::tw_hotspot, UserDef::tw_size, UserDef::tweak_threshold, U, ui_theme_init_boneColorSets(), ui_theme_init_new(), ui_widget_color_init(), UserDef::uiflag, UserDef::undosteps, USER_ADD_EDITMODE, USER_ADD_VIEWALIGNED, USER_CUSTOM_RANGE, USER_DISABLE_VBO, USER_DRAW_AUTOMATIC, USER_DRAW_TRIPLE, USER_DUP_ARM, USER_GLOBALUNDO, UserDef::user_keymaps, USER_LMOUSESELECT, USER_PLAINMENUS, USER_SHOW_ROTVIEWICON, USER_TWOBUTTONMOUSE, UserDef::v2d_min_gridsize, vDM_ColorBand_store(), Main::versionfile, ThemeSpace::vertex, ThemeSpace::vertex_normal, ThemeSpace::vertex_select, ThemeSpace::vertex_size, ThemeUI::wcol_num, wcol_progress, ThemeUI::wcol_progress, UserDef::wheellinescroll, UserDef::widget_unit, and UserDef::wmdrawmethod.

Referenced by UI_init_userdef().

void UI_ColorPtrBlendShade3ubv ( const unsigned char  cp1[3],
const unsigned char  cp2[3],
float  fac,
int  offset 
)

Definition at line 1046 of file resources.c.

References CLAMP(), floorf, and g.

void UI_GetColorPtrBlendShade3ubv ( const unsigned char  cp1[3],
const unsigned char  cp2[3],
unsigned char  col[3],
float  fac,
int  offset 
)

Definition at line 1079 of file resources.c.

References CLAMP(), and g.

Referenced by draw_seq_extensions(), draw_shadedstrip(), and get_seq_color3ubv().

void UI_GetColorPtrShade3ubv ( const unsigned char  cp[3],
unsigned char  col[3],
int  offset 
)
bTheme* UI_GetTheme ( void  ) [read]
void UI_GetThemeColor3fv ( int  colorid,
float *  col 
)
void UI_GetThemeColor3ubv ( int  colorid,
unsigned char  col[3] 
)
void UI_GetThemeColor4ubv ( int  colorid,
unsigned char  col[4] 
)
void UI_GetThemeColorShade3fv ( int  colorid,
int  offset,
float *  col 
)

Definition at line 992 of file resources.c.

References CLAMP(), g, theme_spacetype, and UI_ThemeGetColorPtr().

Referenced by acf_generic_channel_color(), acf_gpd_color(), and acf_group_color().

void UI_GetThemeColorType4ubv ( int  colorid,
int  spacetype,
char  col[4] 
)

Definition at line 1034 of file resources.c.

References UI_ThemeGetColorPtr().

Referenced by outliner_draw_tree_element().

int UI_GetThemeValue ( int  colorid)

Definition at line 970 of file resources.c.

References theme_spacetype, and UI_ThemeGetColorPtr().

Referenced by node_link_bezier_points().

float UI_GetThemeValuef ( int  colorid)
void UI_make_axis_color ( const unsigned char  src_col[3],
unsigned char  dst_col[3],
const char  axis 
)

Definition at line 1105 of file resources.c.

References BLI_assert.

void ui_resources_free ( void  )

Definition at line 72 of file resources.c.

References UI_icons_free().

Referenced by UI_exit().

void ui_resources_init ( void  )

Definition at line 67 of file resources.c.

References UI_icons_init().

Referenced by UI_init().

void UI_SetTheme ( int  spacetype,
int  regionid 
)
static void ui_theme_init_boneColorSets ( bTheme btheme) [static]
void ui_theme_init_default ( void  )

Definition at line 566 of file resources.c.

References ThemeSpace::act_marker, ThemeSpace::act_spline, ThemeSpace::active, ThemeSpace::audio, ThemeSpace::back, BLI_addtail(), ThemeSpace::bone_pose, ThemeSpace::bone_solid, ThemeSpace::bundle_solid, ThemeSpace::button, ThemeSpace::button_text, ThemeSpace::button_text_hi, ThemeSpace::button_title, ThemeSpace::camera_path, ThemeSpace::cframe, ThemeSpace::console_cursor, ThemeSpace::console_error, ThemeSpace::console_info, ThemeSpace::console_input, ThemeSpace::console_output, ThemeSpace::dis_marker, ThemeSpace::ds_channel, ThemeSpace::ds_subchannel, ThemeSpace::edge, ThemeSpace::edge_crease, ThemeSpace::edge_facesel, ThemeSpace::edge_seam, ThemeSpace::edge_select, ThemeSpace::edge_sharp, ThemeSpace::editmesh_active, ThemeSpace::effect, ThemeSpace::extra_edge_len, ThemeSpace::extra_face_angle, ThemeSpace::extra_face_area, ThemeSpace::face, ThemeSpace::face_dot, ThemeSpace::face_select, ThemeSpace::facedot_size, ListBase::first, ThemeSpace::grid, ThemeSpace::group, ThemeSpace::group_active, ThemeSpace::handle_align, ThemeSpace::handle_auto, ThemeSpace::handle_auto_clamped, ThemeSpace::handle_free, ThemeSpace::handle_sel_align, ThemeSpace::handle_sel_auto, ThemeSpace::handle_sel_auto_clamped, ThemeSpace::handle_sel_free, ThemeSpace::handle_sel_vect, ThemeSpace::handle_vect, ThemeSpace::handle_vertex, ThemeSpace::handle_vertex_select, ThemeSpace::handle_vertex_size, ThemeSpace::header, ThemeSpace::header_text, ThemeSpace::header_text_hi, ThemeSpace::hilite, ThemeUI::iconfile, ThemeSpace::image, ThemeSpace::lamp, ThemeSpace::lastsel_point, ThemeSpace::list, ThemeSpace::lock_marker, ThemeSpace::marker, ThemeSpace::marker_outline, MEM_callocN(), ThemeSpace::meta, ThemeSpace::movie, bTheme::name, bTheme::next, ThemeSpace::noodle_curving, ThemeSpace::normal, NULL, ThemeSpace::nurb_sel_uline, ThemeSpace::nurb_sel_vline, ThemeSpace::nurb_uline, ThemeSpace::nurb_vline, ThemeSpace::outline_width, ThemeSpace::panel, ThemeSpace::path_after, ThemeSpace::path_before, ThemeSpace::plugin, ThemeSpace::preview_back, ThemeSpace::scene, ThemeSpace::sel_marker, ThemeSpace::select, SETCOL, SETCOLF, ThemeSpace::shade1, ThemeSpace::shade2, ThemeSpace::speaker, ThemeSpace::strip, ThemeSpace::strip_select, ThemeSpace::syntaxb, ThemeSpace::syntaxc, ThemeSpace::syntaxl, ThemeSpace::syntaxn, ThemeSpace::syntaxv, bTheme::tact, bTheme::tbuts, bTheme::tclip, bTheme::tconsole, bTheme::text, ThemeSpace::text, ThemeSpace::text_hi, bTheme::tfile, UserDef::themes, bTheme::tima, bTheme::tinfo, bTheme::tipo, ThemeSpace::title, bTheme::tlogic, bTheme::tnla, bTheme::tnode, bTheme::toops, ThemeSpace::transform, ThemeSpace::transition, bTheme::tseq, bTheme::ttime, bTheme::tui, bTheme::tuserpref, bTheme::tv3d, U, UI_SetTheme(), ui_theme_init_boneColorSets(), ui_theme_init_new(), ui_widget_color_init(), ThemeSpace::vertex, ThemeSpace::vertex_normal, ThemeSpace::vertex_select, ThemeSpace::vertex_size, and ThemeSpace::wire.

Referenced by reset_default_theme_exec().

static void ui_theme_init_new ( bTheme btheme) [static]
static void ui_theme_init_new_do ( ThemeSpace ts) [static]
void UI_ThemeClearColor ( int  colorid)
void UI_ThemeColor ( int  colorid)

Definition at line 845 of file resources.c.

References theme_spacetype, and UI_ThemeGetColorPtr().

Referenced by ANIM_channel_draw(), ANIM_draw_cfra(), clip_draw_curfra_label(), draw_armature(), draw_b_bone(), draw_bone(), draw_bone_points(), draw_brackets(), draw_cfra_number(), draw_controllerbuttons(), draw_cursor(), draw_documentation(), draw_ebones(), draw_editnurb(), draw_em_fancy(), draw_empty_image(), draw_fcurve_samples(), draw_fcurve_vertices_handles(), draw_graph_cfra(), draw_image_grid(), draw_line_bone(), draw_manipulator_rotate(), draw_manipulator_rotate_cyl(), draw_marker(), draw_marker_areas(), draw_marker_outline(), draw_marker_slide_zones(), draw_marker_texts(), draw_mesh_face_select(), draw_mesh_fancy(), draw_motion_path_instance(), draw_movieclip_cache(), draw_new_particle_system(), draw_nla_channel_list_gl(), draw_object(), draw_object_mesh_instance(), draw_pose_bones(), draw_selected_name(), draw_seq_backdrop(), draw_sphere_bone(), draw_sphere_bone_wire(), draw_suggestion_list(), draw_text_main(), draw_textscroll(), draw_track_path(), draw_uvs(), draw_viewport_fps(), draw_viewport_name(), draw_viewport_object_reconstruction(), drawgrid(), drawHelpline(), drawmball(), drawnurb(), drawPropCircle(), drawviewborder(), drawWireExtra(), ED_region_do_draw(), ED_region_info_draw(), editnurb_draw_active_nurbs(), editnurb_draw_active_poly(), format_draw_color(), lattice_draw_verts(), node_draw_basis(), node_draw_group(), node_draw_hidden(), node_draw_link_bezier(), node_draw_link_straight(), outliner_draw_restrictcols(), outliner_draw_tree_element(), set_ebone_glColor(), set_pchan_glColor(), tekenhandlesN_active(), tekenvertsN(), tracking_segment_knot_cb(), ui_draw_aligned_panel(), ui_draw_aligned_panel_header(), ui_draw_but_CURVE(), ui_draw_but_TRACKPREVIEW(), UI_view2d_grid_draw(), UI_view2d_scrollers_draw(), view3d_main_area_draw_info(), and widget_link().

void UI_ThemeColor4 ( int  colorid)
void UI_ThemeColorBlend ( int  colorid1,
int  colorid2,
float  fac 
)
void UI_ThemeColorBlendShade ( int  colorid1,
int  colorid2,
float  fac,
int  offset 
)
void UI_ThemeColorBlendShadeAlpha ( int  colorid1,
int  colorid2,
float  fac,
int  offset,
int  alphaoffset 
)

Definition at line 936 of file resources.c.

References CLAMP(), floorf, g, theme_spacetype, and UI_ThemeGetColorPtr().

void UI_ThemeColorShade ( int  colorid,
int  offset 
)
void UI_ThemeColorShadeAlpha ( int  colorid,
int  coloffset,
int  alphaoffset 
)
const unsigned char* UI_ThemeGetColorPtr ( bTheme btheme,
int  spacetype,
int  colorid 
)

Definition at line 82 of file resources.c.

References ThemeSpace::act_marker, ThemeSpace::act_spline, ThemeSpace::active, ThemeSpace::audio, ThemeSpace::back, ThemeSpace::bone_pose, ThemeSpace::bone_solid, ThemeSpace::bundle_solid, ThemeSpace::button, ThemeSpace::button_text, ThemeSpace::button_text_hi, ThemeSpace::button_title, ThemeSpace::camera_path, ThemeSpace::cframe, ThemeSpace::console_cursor, ThemeSpace::console_error, ThemeSpace::console_info, ThemeSpace::console_output, ThemeSpace::dis_marker, ThemeSpace::ds_channel, ThemeSpace::ds_subchannel, ThemeSpace::edge, ThemeSpace::edge_crease, ThemeSpace::edge_facesel, ThemeSpace::edge_seam, ThemeSpace::edge_select, ThemeSpace::edge_sharp, ThemeSpace::editmesh_active, ThemeSpace::effect, error(), ThemeSpace::extra_edge_len, ThemeSpace::extra_face_angle, ThemeSpace::extra_face_area, ThemeSpace::face, ThemeSpace::face_dot, ThemeSpace::face_select, ThemeSpace::facedot_size, ThemeSpace::grid, ThemeSpace::group, ThemeSpace::group_active, ThemeSpace::handle_align, ThemeSpace::handle_auto, ThemeSpace::handle_auto_clamped, ThemeSpace::handle_free, ThemeSpace::handle_sel_align, ThemeSpace::handle_sel_auto, ThemeSpace::handle_sel_auto_clamped, ThemeSpace::handle_sel_free, ThemeSpace::handle_sel_vect, ThemeSpace::handle_vect, ThemeSpace::handle_vertex, ThemeSpace::handle_vertex_select, ThemeSpace::handle_vertex_size, ThemeSpace::header, ThemeSpace::header_text, ThemeSpace::header_text_hi, ThemeSpace::header_title, ThemeSpace::hilite, ThemeSpace::image, ThemeSpace::lamp, ThemeSpace::lastsel_point, ThemeSpace::list, ThemeSpace::list_text, ThemeSpace::list_text_hi, ThemeSpace::list_title, ThemeSpace::lock_marker, ThemeSpace::marker, ThemeSpace::marker_outline, ThemeSpace::meta, ThemeSpace::movie, ThemeSpace::noodle_curving, ThemeSpace::normal, NULL, ThemeSpace::nurb_sel_uline, ThemeSpace::nurb_sel_vline, ThemeSpace::nurb_uline, ThemeSpace::nurb_vline, ThemeSpace::outline_width, ThemeSpace::panel, ThemeSpace::panel_text, ThemeSpace::panel_text_hi, ThemeSpace::path_after, ThemeSpace::path_before, ThemeSpace::plugin, ThemeSpace::preview_back, RGN_TYPE_CHANNELS, RGN_TYPE_HEADER, RGN_TYPE_WINDOW, ThemeSpace::scene, ThemeSpace::sel_marker, ThemeSpace::select, ThemeSpace::shade1, ThemeSpace::shade2, SPACE_ACTION, SPACE_BUTS, SPACE_CLIP, SPACE_CONSOLE, SPACE_FILE, SPACE_IMAGE, SPACE_INFO, SPACE_IPO, SPACE_LOGIC, SPACE_NLA, SPACE_NODE, SPACE_OUTLINER, SPACE_SEQ, SPACE_TEXT, SPACE_TIME, SPACE_USERPREF, SPACE_VIEW3D, ThemeSpace::speaker, ThemeSpace::strip, ThemeSpace::strip_select, ThemeSpace::syntaxb, ThemeSpace::syntaxc, ThemeSpace::syntaxl, ThemeSpace::syntaxn, ThemeSpace::syntaxv, bTheme::tact, bTheme::tbuts, bTheme::tclip, bTheme::tconsole, ThemeSpace::text, bTheme::text, ThemeSpace::text_hi, bTheme::tfile, TH_ACT_MARKER, TH_ACTIVE, TH_ACTIVE_SPLINE, TH_BACK, TH_BONE_POSE, TH_BONE_SOLID, TH_BUNDLE_SOLID, TH_BUTBACK, TH_BUTBACK_TEXT, TH_BUTBACK_TEXT_HI, TH_CAMERA_PATH, TH_CFRAME, TH_CONSOLE_CURSOR, TH_CONSOLE_ERROR, TH_CONSOLE_INFO, TH_CONSOLE_INPUT, TH_CONSOLE_OUTPUT, TH_DIS_MARKER, TH_DOPESHEET_CHANNELOB, TH_DOPESHEET_CHANNELSUBOB, TH_DRAWEXTRA_EDGELEN, TH_DRAWEXTRA_FACEANG, TH_DRAWEXTRA_FACEAREA, TH_EDGE, TH_EDGE_CREASE, TH_EDGE_FACESEL, TH_EDGE_SEAM, TH_EDGE_SELECT, TH_EDGE_SHARP, TH_EDITMESH_ACTIVE, TH_FACE, TH_FACE_DOT, TH_FACE_SELECT, TH_FACEDOT_SIZE, TH_GRID, TH_GROUP, TH_GROUP_ACTIVE, TH_HANDLE_ALIGN, TH_HANDLE_AUTO, TH_HANDLE_AUTOCLAMP, TH_HANDLE_FREE, TH_HANDLE_SEL_ALIGN, TH_HANDLE_SEL_AUTO, TH_HANDLE_SEL_AUTOCLAMP, TH_HANDLE_SEL_FREE, TH_HANDLE_SEL_VECT, TH_HANDLE_VECT, TH_HANDLE_VERTEX, TH_HANDLE_VERTEX_SELECT, TH_HANDLE_VERTEX_SIZE, TH_HEADER, TH_HEADER_TEXT, TH_HEADER_TEXT_HI, TH_HEADERDESEL, TH_HILITE, TH_LAMP, TH_LASTSEL_POINT, TH_LOCK_MARKER, TH_MARKER, TH_MARKER_OUTLINE, TH_NODE, TH_NODE_CONVERTOR, TH_NODE_CURVING, TH_NODE_GROUP, TH_NODE_IN_OUT, TH_NODE_OPERATOR, TH_NORMAL, TH_NURB_SEL_ULINE, TH_NURB_SEL_VLINE, TH_NURB_ULINE, TH_NURB_VLINE, TH_OUTLINE_WIDTH, TH_PANEL, TH_PANEL_TEXT, TH_PANEL_TEXT_HI, TH_PATH_AFTER, TH_PATH_BEFORE, TH_PREVIEW_BACK, TH_REDALERT, TH_SEL_MARKER, TH_SELECT, TH_SEQ_AUDIO, TH_SEQ_EFFECT, TH_SEQ_IMAGE, TH_SEQ_META, TH_SEQ_MOVIE, TH_SEQ_PLUGIN, TH_SEQ_SCENE, TH_SEQ_TRANSITION, TH_SHADE1, TH_SHADE2, TH_SPEAKER, TH_STRIP, TH_STRIP_SELECT, TH_SYNTAX_B, TH_SYNTAX_C, TH_SYNTAX_L, TH_SYNTAX_N, TH_SYNTAX_V, TH_TEXT, TH_TEXT_HI, TH_THEMEUI, TH_TITLE, TH_TRANSFORM, TH_VERTEX, TH_VERTEX_SELECT, TH_VERTEX_SIZE, TH_VNORMAL, TH_WIRE, theme_regionid, bTheme::tima, bTheme::tinfo, bTheme::tipo, ThemeSpace::title, bTheme::tlogic, bTheme::tnla, bTheme::tnode, bTheme::toops, ThemeSpace::transform, ThemeSpace::transition, bTheme::tseq, bTheme::ttime, bTheme::tuserpref, bTheme::tv3d, ThemeSpace::vertex, ThemeSpace::vertex_normal, ThemeSpace::vertex_select, ThemeSpace::vertex_size, and ThemeSpace::wire.

Referenced by UI_GetThemeColor3fv(), UI_GetThemeColor3ubv(), UI_GetThemeColor4ubv(), UI_GetThemeColorShade3fv(), UI_GetThemeColorType4ubv(), UI_GetThemeValue(), UI_GetThemeValuef(), UI_ThemeColor(), UI_ThemeColor4(), UI_ThemeColorBlend(), UI_ThemeColorBlendShade(), UI_ThemeColorBlendShadeAlpha(), UI_ThemeColorShade(), and UI_ThemeColorShadeAlpha().


Variable Documentation

bTheme* theme_active = NULL [static]

Definition at line 63 of file resources.c.

int theme_regionid = RGN_TYPE_WINDOW [static]

Definition at line 65 of file resources.c.

Referenced by UI_SetTheme(), and UI_ThemeGetColorPtr().

int theme_spacetype = SPACE_VIEW3D [static]