Blender V2.61 - r43446
|
#include "UI_icons.h"
Go to the source code of this file.
Definition in file UI_resources.h.
#define BIFCOLORID_FIRST (BUTGREY) |
Definition at line 67 of file UI_resources.h.
#define BIFCOLORID_LAST (EDITEDGEUNSEL) |
Definition at line 116 of file UI_resources.h.
#define BIFCOLORSHADE_FIRST (COLORSHADE_DARK) |
Definition at line 55 of file UI_resources.h.
#define BIFCOLORSHADE_LAST (COLORSHADE_WHITE) |
Definition at line 62 of file UI_resources.h.
#define BIFICONID_FIRST (ICON_NONE) |
Definition at line 47 of file UI_resources.h.
Referenced by init_internal_icons().
#define BIFNCOLORIDS (BIFCOLORID_LAST-BIFCOLORID_FIRST + 1) |
Definition at line 117 of file UI_resources.h.
#define BIFNCOLORSHADES (BIFCOLORSHADE_LAST-BIFCOLORSHADE_FIRST + 1) |
Definition at line 63 of file UI_resources.h.
#define BIFNICONIDS (BIFICONID_LAST-BIFICONID_FIRST + 1) |
Definition at line 48 of file UI_resources.h.
#define DEF_ICON | ( | name | ) | ICON_##name, |
Definition at line 38 of file UI_resources.h.
#define DEF_VICO | ( | name | ) | VICO_##name, |
Definition at line 39 of file UI_resources.h.
anonymous enum |
Definition at line 121 of file UI_resources.h.
enum BIFColorID |
Definition at line 66 of file UI_resources.h.
enum BIFColorShade |
Definition at line 54 of file UI_resources.h.
enum BIFIconID |
Definition at line 41 of file UI_resources.h.
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.
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.
Referenced by draw_seq_extensions(), draw_shadedstrip(), and get_seq_color3ubv().
void UI_GetColorPtrShade3ubv | ( | const unsigned char | cp1[3], |
unsigned char | col[3], | ||
int | offset | ||
) |
Definition at line 1061 of file resources.c.
Referenced by draw_seq_extensions(), draw_seq_strip(), draw_shadedstrip(), drawfloor(), drawmeta_contents(), and get_seq_color3ubv().
struct bTheme* UI_GetTheme | ( | void | ) | [read] |
Definition at line 839 of file resources.c.
References ListBase::first, UserDef::themes, and U.
Referenced by draw_textscroll(), icon_draw_size(), init_internal_icons(), set_pchan_colorset(), ui_draw_aligned_panel(), ui_draw_but(), UI_view2d_scrollers_draw(), widget_state_option_menu(), and widget_type().
void UI_GetThemeColor3fv | ( | int | colorid, |
float * | col | ||
) |
Definition at line 981 of file resources.c.
References theme_spacetype, and UI_ThemeGetColorPtr().
Referenced by acf_generic_dataexpand_color(), acf_generic_root_color(), draw_mesh_fancy(), draw_ptcache_edit(), draw_timeline_seq(), file_main_area_draw(), file_ui_area_draw(), graph_channel_area_draw(), graph_main_area_draw(), image_main_area_draw(), nla_strip_get_color_inside(), outliner_draw_tree(), region_draw_azone_tab(), track_colors(), and UI_ThemeClearColor().
void UI_GetThemeColor3ubv | ( | int | colorid, |
unsigned char | col[3] | ||
) |
Definition at line 1012 of file resources.c.
References theme_spacetype, and UI_ThemeGetColorPtr().
Referenced by console_line_color(), console_textview_line_color(), draw_channel_strips(), draw_ebones(), draw_em_fancy_verts(), draw_em_indices(), draw_em_measure_stats(), draw_fcurve_handles(), draw_motion_path_instance(), draw_object(), draw_pose_bones(), draw_textscroll(), drawfloor(), drawgrid(), drawHelpline(), drawLine(), drawSnapping(), get_seq_color3ubv(), manipulator_setcolor(), PE_create_particle_edit(), tekenhandlesN(), and widget_draw_extra_mask().
void UI_GetThemeColor4ubv | ( | int | colorid, |
unsigned char | col[4] | ||
) |
Definition at line 1023 of file resources.c.
References theme_spacetype, and UI_ThemeGetColorPtr().
Referenced by draw_em_fancy(), draw_em_fancy_edges(), draw_uvs(), draw_viewport_object_reconstruction(), drawlamp(), text_find_and_replace(), widget_state_label(), and widget_state_option_menu().
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 | ) |
Definition at line 960 of file resources.c.
References theme_spacetype, and UI_ThemeGetColorPtr().
Referenced by bbs_mesh_solid_EM(), bbs_mesh_verts(), bbs_obmode_mesh_verts(), draw_dm_bweights(), draw_dm_verts__mapFunc(), draw_em_fancy_verts(), draw_fcurve_samples(), draw_fcurve_vertices(), draw_fcurve_vertices_handles(), draw_mesh_fancy(), draw_mesh_object_outline(), draw_ptcache_edit(), draw_tracks_curves(), draw_uvs(), drawSnapping(), lattice_draw_verts(), and tekenvertsN().
void UI_make_axis_color | ( | const unsigned char * | src_col, |
unsigned char * | dst_col, | ||
const char | axis | ||
) |
Referenced by draw_object(), drawfloor(), drawgrid(), drawHelpline(), and drawLine().
void UI_SetTheme | ( | int | spacetype, |
int | regionid | ||
) |
Definition at line 824 of file resources.c.
References ListBase::first, RGN_TYPE_WINDOW, SPACE_VIEW3D, theme_regionid, theme_spacetype, UserDef::themes, and U.
Referenced by ED_region_do_draw(), ED_region_set(), and ui_theme_init_default().
void UI_ThemeClearColor | ( | int | colorid | ) |
Definition at line 1097 of file resources.c.
References UI_GetThemeColor3fv().
Referenced by action_channel_area_draw(), action_main_area_draw(), buttons_header_area_draw(), clip_main_area_draw(), clip_preview_area_draw(), console_main_area_draw(), drawnodespace(), ED_region_do_draw(), ED_region_header(), ED_region_panels(), ED_view3d_draw_offscreen(), info_main_area_draw(), logic_main_area_draw(), nla_channel_area_draw(), nla_main_area_draw(), node_draw_basis(), outliner_main_area_draw(), script_main_area_draw(), text_main_area_draw(), time_main_area_draw(), uiDrawPanels(), and view3d_main_area_draw_objects().
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 | ) |
Definition at line 855 of file resources.c.
References theme_spacetype, and UI_ThemeGetColorPtr().
Referenced by draw_dm_verts__mapFunc(), draw_keylist(), draw_uvs(), file_draw_list(), and node_draw_basis().
void UI_ThemeColorBlend | ( | int | colorid1, |
int | colorid2, | ||
float | fac | ||
) |
Definition at line 898 of file resources.c.
References CLAMP(), floorf, g, theme_spacetype, and UI_ThemeGetColorPtr().
Referenced by draw_dm_bweights__mapFunc(), draw_dm_bweights__setDrawOptions(), draw_dm_creases__setDrawOptions(), draw_dupli_objects_color(), draw_em_fancy(), draw_forcefield(), draw_motion_path_instance(), drawgrid(), ED_view3d_draw_offscreen(), format_draw_color(), node_draw_basis(), node_draw_hidden(), node_draw_link(), node_draw_link_bezier(), node_draw_link_straight(), outliner_draw_tree(), outliner_draw_tree_element(), set_ebone_glColor(), set_pchan_glColor(), and view3d_main_area_draw_objects().
void UI_ThemeColorBlendShade | ( | int | colorid1, |
int | colorid2, | ||
float | fac, | ||
int | offset | ||
) |
Definition at line 915 of file resources.c.
References CLAMP(), floorf, g, theme_spacetype, and UI_ThemeGetColorPtr().
Referenced by draw_image_seq(), draw_motion_path_instance(), drawviewborder(), node_draw_basis(), and node_draw_hidden().
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 | ||
) |
Definition at line 865 of file resources.c.
References CLAMP(), g, theme_spacetype, and UI_ThemeGetColorPtr().
Referenced by draw_background(), draw_cfra_number(), draw_dividers(), draw_image_grid(), draw_line_bone(), draw_manipulator_rotate(), draw_marker_areas(), draw_marker_texts(), draw_mesh_fancy(), draw_nla_channel_list_gl(), draw_object(), draw_seq_backdrop(), draw_sphere_bone(), draw_tile(), drawviewborder(), drawWireExtra(), graph_draw_curves(), node_draw_basis(), node_draw_hidden(), node_scaling_widget(), outliner_back(), outliner_draw_restrictcols(), outliner_draw_tree_element(), seq_draw_sfra_efra(), set_col_actuator(), set_col_sensor(), set_ebone_glColor(), set_pchan_glColor(), time_draw_sfra_efra(), ui_draw_aligned_panel(), UI_view2d_constant_grid_draw(), UI_view2d_grid_draw(), and view3d_draw_clipping().
void UI_ThemeColorShadeAlpha | ( | int | colorid, |
int | coloffset, | ||
int | alphaoffset | ||
) |
Definition at line 880 of file resources.c.
References CLAMP(), g, theme_spacetype, and UI_ThemeGetColorPtr().
Referenced by draw_ghost_poses(), draw_ghost_poses_keys(), draw_ghost_poses_range(), draw_keyframe_shape(), drawcentercircle(), graph_main_area_draw(), node_draw_basis(), node_draw_group(), node_draw_hidden(), node_draw_link_bezier(), node_draw_link_straight(), node_draw_preview(), outliner_draw_restrictcols(), outliner_draw_rnacols(), outliner_draw_tree(), seq_draw_sfra_efra(), and set_fcurve_vertex_color().
const unsigned char* UI_ThemeGetColorPtr | ( | struct 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().