Blender  V3.3
UI_resources.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2001-2002 NaN Holding BV. All rights reserved. */
3 
8 #pragma once
9 
10 #include "BLI_sys_types.h"
11 
12 /* Define icon enum. */
13 #define DEF_ICON(name) ICON_##name,
14 #define DEF_ICON_VECTOR(name) ICON_##name,
15 #define DEF_ICON_COLOR(name) ICON_##name,
16 #define DEF_ICON_BLANK(name) ICON_BLANK_##name,
17 
18 typedef enum {
19 /* ui */
20 #include "UI_icons.h"
22 } BIFIconID;
23 
24 #define BIFICONID_FIRST (ICON_NONE)
25 
26 /* use to denote intentionally unset theme color */
27 #define TH_UNDEFINED -1
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 typedef enum ThemeColorID {
35 
37  /* Common colors among spaces. */
38 
49 
54 
55  /* panels */
59 
63 
67 
107 
108  /* this eight colors should be in one block */
119 
121  TH_ACTIVE_VERT, /* equivalent of TH_EDITMESH_ACTIVE for splines */
122 
132 
137 
140 
141  TH_KEYTYPE_KEYFRAME, /* KEYTYPES */
151 
154 
159 
179 
186 
200 
203 
207 
211 
215 
217 
219 
224 
227 
240 
247 
250 
252 
255 
256  TH_MATCH, /* highlight color for search matches */
257  TH_SELECT_HIGHLIGHT, /* highlight color for selected outliner item */
258  TH_SELECT_ACTIVE, /* highlight color for active outliner item */
259  TH_SELECTED_OBJECT, /* selected object color for outliner */
260  TH_ACTIVE_OBJECT, /* active object color for outliner */
261  TH_EDITED_OBJECT, /* edited object color for outliner */
262  TH_ROW_ALTERNATE, /* overlay on every other row */
263 
265 
266  TH_ANIM_ACTIVE, /* active action */
267  TH_ANIM_INACTIVE, /* no active action */
268  TH_ANIM_PREVIEW_RANGE, /* preview range overlay */
269 
278 
280 
281  TH_NLA_TWEAK, /* 'tweaking' track in NLA */
282  TH_NLA_TWEAK_DUPLI, /* error/warning flag for other strips referencing dupli strip */
283 
291 
295 
299 
300  TH_AXIS_X, /* X/Y/Z Axis */
303 
310 
312 
328 
330 
333 
337 
338 /* Specific defines per space should have higher define values. */
339 
340 struct bTheme;
341 
342 struct bThemeState {
343  struct bTheme *theme;
345 };
346 
347 /* THE CODERS API FOR THEMES: */
348 
352 float UI_GetThemeValuef(int colorid);
356 int UI_GetThemeValue(int colorid);
357 
358 /* Versions of #UI_GetThemeValue & #UI_GetThemeValuef, which take a space-type */
359 
360 float UI_GetThemeValueTypef(int colorid, int spacetype);
361 int UI_GetThemeValueType(int colorid, int spacetype);
362 
366 void UI_GetThemeColor3fv(int colorid, float col[3]);
367 void UI_GetThemeColorBlend3ubv(int colorid1, int colorid2, float fac, unsigned char col[3]);
368 void UI_GetThemeColorBlend3f(int colorid1, int colorid2, float fac, float r_col[3]);
369 void UI_GetThemeColorBlend4f(int colorid1, int colorid2, float fac, float r_col[4]);
373 void UI_GetThemeColorShade3fv(int colorid, int offset, float col[3]);
374 void UI_GetThemeColorShade3ubv(int colorid, int offset, unsigned char col[3]);
375 void UI_GetThemeColorShade4ubv(int colorid, int offset, unsigned char col[4]);
376 
382  int colorid1, int colorid2, float fac, int offset, unsigned char col[3]);
383 
387 void UI_GetThemeColor4fv(int colorid, float col[4]);
388 
392 void UI_GetThemeColorType4fv(int colorid, int spacetype, float col[4]);
393 
397 void UI_GetThemeColorShade4fv(int colorid, int offset, float col[4]);
398 void UI_GetThemeColorShadeAlpha4fv(int colorid, int coloffset, int alphaoffset, float col[4]);
399 
403 void UI_GetThemeColorShadeAlpha4ubv(int colorid,
404  int coloffset,
405  int alphaoffset,
406  unsigned char col[4]);
407 
413  int colorid1, int colorid2, float fac, int offset, float col[3]);
415  int colorid1, int colorid2, float fac, int offset, float col[4]);
416 
420 void UI_GetThemeColor3ubv(int colorid, unsigned char col[3]);
424 void UI_GetThemeColor4ubv(int colorid, unsigned char col[4]);
425 
429 void UI_GetThemeColorType3fv(int colorid, int spacetype, float col[3]);
430 void UI_GetThemeColorType3ubv(int colorid, int spacetype, unsigned char col[3]);
431 void UI_GetThemeColorType4ubv(int colorid, int spacetype, unsigned char col[4]);
432 
436 bool UI_GetIconThemeColor4ubv(int colorid, unsigned char col[4]);
437 
441 void UI_GetColorPtrShade3ubv(const unsigned char cp1[3], unsigned char col[3], int offset);
442 
446 void UI_GetColorPtrBlendShade3ubv(const unsigned char cp1[3],
447  const unsigned char cp2[3],
448  unsigned char col[3],
449  float fac,
450  int offset);
451 
456 void UI_FontThemeColor(int fontid, int colorid);
457 
461 void UI_ThemeClearColor(int colorid);
462 
466 void UI_SetTheme(int spacetype, int regionid);
467 
471 struct bTheme *UI_GetTheme(void);
472 
476 void UI_Theme_Store(struct bThemeState *theme_state);
477 void UI_Theme_Restore(struct bThemeState *theme_state);
478 
482 int UI_ThemeMenuShadowWidth(void);
483 
487 const unsigned char *UI_ThemeGetColorPtr(struct bTheme *btheme, int spacetype, int colorid);
488 
489 void UI_make_axis_color(const unsigned char src_col[3], unsigned char dst_col[3], char axis);
490 
491 #ifdef __cplusplus
492 }
493 #endif
void UI_GetThemeColorType3fv(int colorid, int spacetype, float col[3])
Definition: resources.c:1361
void UI_GetThemeColorShadeAlpha4ubv(int colorid, int coloffset, int alphaoffset, unsigned char col[4])
Definition: resources.c:1081
void UI_GetThemeColor3fv(int colorid, float col[3])
Definition: resources.c:1165
void UI_make_axis_color(const unsigned char src_col[3], unsigned char dst_col[3], char axis)
Definition: resources.c:1462
void UI_GetThemeColorBlend3ubv(int colorid1, int colorid2, float fac, unsigned char col[3])
Definition: resources.c:1100
void UI_GetThemeColorType3ubv(int colorid, int spacetype, unsigned char col[3])
Definition: resources.c:1369
int UI_GetThemeValueType(int colorid, int spacetype)
Definition: resources.c:1159
BIFIconID
Definition: UI_resources.h:18
@ BIFICONID_LAST
Definition: UI_resources.h:21
ThemeColorID
Definition: UI_resources.h:33
@ TH_SELECT_ACTIVE
Definition: UI_resources.h:258
@ TH_EDGE_SHARP
Definition: UI_resources.h:201
@ TH_ICON_MODIFIER
Definition: UI_resources.h:274
@ TH_BONE_SOLID
Definition: UI_resources.h:133
@ TH_TAB_OUTLINE
Definition: UI_resources.h:48
@ TH_GIZMO_HI
Definition: UI_resources.h:304
@ TH_ROW_ALTERNATE
Definition: UI_resources.h:262
@ TH_HANDLE_ALIGN
Definition: UI_resources.h:112
@ TH_INFO_PROPERTY_TEXT
Definition: UI_resources.h:324
@ TH_NORMAL
Definition: UI_resources.h:92
@ TH_PATH_BEFORE
Definition: UI_resources.h:234
@ TH_LIGHT
Definition: UI_resources.h:155
@ TH_PANEL_HEADER
Definition: UI_resources.h:56
@ TH_NODE_FRAME
Definition: UI_resources.h:174
@ TH_KEYBORDER_SELECT
Definition: UI_resources.h:153
@ TH_NODE_INPUT
Definition: UI_resources.h:161
@ TH_FACE_BACK
Definition: UI_resources.h:90
@ TH_NODE
Definition: UI_resources.h:160
@ TH_BACK_GRAD
Definition: UI_resources.h:41
@ TH_MARKER_OUTLINE
Definition: UI_resources.h:228
@ TH_TIME_SCRUB_BACKGROUND
Definition: UI_resources.h:98
@ TH_LNORMAL
Definition: UI_resources.h:94
@ TH_TIME_KEYFRAME
Definition: UI_resources.h:101
@ TH_KEYTYPE_BREAKDOWN
Definition: UI_resources.h:145
@ TH_EDGE_FACESEL
Definition: UI_resources.h:87
@ TH_NODE_FILTER
Definition: UI_resources.h:164
@ TH_SELECT_HIGHLIGHT
Definition: UI_resources.h:257
@ TH_INFO_WARNING_TEXT
Definition: UI_resources.h:318
@ TH_NURB_SEL_VLINE
Definition: UI_resources.h:106
@ TH_ICON_OBJECT
Definition: UI_resources.h:272
@ TH_BUNDLE_SOLID
Definition: UI_resources.h:232
@ TH_NODE_GROUP
Definition: UI_resources.h:173
@ TH_KEYTYPE_KEYFRAME
Definition: UI_resources.h:141
@ TH_TRANSPARENT_CHECKER_PRIMARY
Definition: UI_resources.h:296
@ TH_BONE_POSE_ACTIVE
Definition: UI_resources.h:135
@ TH_DRAWEXTRA_EDGEANG
Definition: UI_resources.h:221
@ TH_SYNTAX_B
Definition: UI_resources.h:123
@ TH_FREESTYLE_FACE_MARK
Definition: UI_resources.h:254
@ TH_NLA_TRACK
Definition: UI_resources.h:284
@ TH_INFO_DEBUG
Definition: UI_resources.h:321
@ TH_DRAWEXTRA_FACEANG
Definition: UI_resources.h:223
@ TH_ACTIVE_OBJECT
Definition: UI_resources.h:260
@ TH_ICON_FOLDER
Definition: UI_resources.h:276
@ TH_TAB_ACTIVE
Definition: UI_resources.h:45
@ TH_FREESTYLE_EDGE_MARK
Definition: UI_resources.h:253
@ TH_HEADER
Definition: UI_resources.h:50
@ TH_GRID
Definition: UI_resources.h:68
@ TH_VERTEX_ACTIVE
Definition: UI_resources.h:79
@ TH_NODE_SCRIPT
Definition: UI_resources.h:168
@ TH_HANDLE_VERTEX_SIZE
Definition: UI_resources.h:206
@ TH_NLA_TRANSITION_SEL
Definition: UI_resources.h:286
@ TH_SEQ_SELECTED
Definition: UI_resources.h:199
@ TH_BACK
Definition: UI_resources.h:39
@ TH_NODE_GEOMETRY
Definition: UI_resources.h:177
@ TH_LOCK_MARKER
Definition: UI_resources.h:239
@ TH_INFO_INFO
Definition: UI_resources.h:319
@ TH_NODE_OUTPUT
Definition: UI_resources.h:162
@ TH_NODE_COLOR
Definition: UI_resources.h:163
@ TH_GIZMO_B
Definition: UI_resources.h:309
@ TH_NLA_META
Definition: UI_resources.h:287
@ TH_DOPESHEET_IPOLINE
Definition: UI_resources.h:214
@ TH_TIME_MARKER_LINE
Definition: UI_resources.h:99
@ TH_KEYBORDER
Definition: UI_resources.h:152
@ TH_WIRE
Definition: UI_resources.h:69
@ TH_KEYTYPE_JITTER
Definition: UI_resources.h:147
@ TH_INFO_INFO_TEXT
Definition: UI_resources.h:320
@ TH_SYNTAX_C
Definition: UI_resources.h:126
@ TH_SYNTAX_R
Definition: UI_resources.h:125
@ TH_INFO_PROPERTY
Definition: UI_resources.h:323
@ TH_SYNTAX_S
Definition: UI_resources.h:130
@ TH_BONE_LOCKED_WEIGHT
Definition: UI_resources.h:136
@ TH_TIME_GP_KEYFRAME
Definition: UI_resources.h:102
@ TH_KEYTYPE_EXTREME
Definition: UI_resources.h:143
@ TH_FACEDOT_SIZE
Definition: UI_resources.h:96
@ TH_WIDGET_EMBOSS
Definition: UI_resources.h:292
@ TH_BONE_POSE
Definition: UI_resources.h:134
@ TH_TIME_MARKER_LINE_SELECTED
Definition: UI_resources.h:100
@ TH_GROUP
Definition: UI_resources.h:74
@ TH_ICON_COLLECTION
Definition: UI_resources.h:271
@ TH_DOPESHEET_CHANNELSUBOB
Definition: UI_resources.h:213
@ TH_NLA_META_SEL
Definition: UI_resources.h:288
@ TH_HANDLE_SEL_AUTO
Definition: UI_resources.h:115
@ TH_INFO_DEBUG_TEXT
Definition: UI_resources.h:322
@ TH_SKIN_ROOT
Definition: UI_resources.h:264
@ TH_EDGE_SELECT
Definition: UI_resources.h:85
@ TH_TRANSPARENT_CHECKER_SECONDARY
Definition: UI_resources.h:297
@ TH_ICON_OBJECT_DATA
Definition: UI_resources.h:273
@ TH_ACTIVE_VERT
Definition: UI_resources.h:121
@ TH_HANDLE_SEL_AUTOCLAMP
Definition: UI_resources.h:118
@ TH_ACTIVE_SPLINE
Definition: UI_resources.h:120
@ TH_STITCH_PREVIEW_VERT
Definition: UI_resources.h:243
@ TH_EDITED_OBJECT
Definition: UI_resources.h:261
@ TH_CAMERA
Definition: UI_resources.h:157
@ TH_KEYTYPE_KEYFRAME_SELECT
Definition: UI_resources.h:142
@ TH_SELECTED_OBJECT
Definition: UI_resources.h:259
@ TH_PATH_AFTER
Definition: UI_resources.h:235
@ TH_ICON_SHADING
Definition: UI_resources.h:275
@ TH_NODE_PATTERN
Definition: UI_resources.h:167
@ TH_BUTBACK_TEXT
Definition: UI_resources.h:61
@ TH_STITCH_PREVIEW_UNSTITCHABLE
Definition: UI_resources.h:245
@ TH_TRANSFORM
Definition: UI_resources.h:76
@ TH_NODE_ATTRIBUTE
Definition: UI_resources.h:178
@ TH_EDGE_BEVEL
Definition: UI_resources.h:334
@ TH_OUTLINE_WIDTH
Definition: UI_resources.h:82
@ TH_BUTBACK
Definition: UI_resources.h:60
@ TH_HANDLE_AUTO
Definition: UI_resources.h:110
@ TH_PANEL_SUB_BACK
Definition: UI_resources.h:58
@ TH_NODE_DISTORT
Definition: UI_resources.h:176
@ TH_ICON_SCENE
Definition: UI_resources.h:270
@ TH_ANIM_ACTIVE
Definition: UI_resources.h:266
@ TH_INFO_ERROR
Definition: UI_resources.h:315
@ TH_NURB_VLINE
Definition: UI_resources.h:104
@ TH_SEQ_TEXT
Definition: UI_resources.h:195
@ TH_REDALERT
Definition: UI_resources.h:34
@ TH_SPEAKER
Definition: UI_resources.h:156
@ TH_INFO_ERROR_TEXT
Definition: UI_resources.h:316
@ TH_VERTEX
Definition: UI_resources.h:77
@ TH_METADATA_TEXT
Definition: UI_resources.h:332
@ TH_SEQ_MASK
Definition: UI_resources.h:189
@ TH_VERTEX_SIZE
Definition: UI_resources.h:81
@ TH_INFO_OPERATOR
Definition: UI_resources.h:325
@ TH_HANDLE_SEL_ALIGN
Definition: UI_resources.h:117
@ TH_SEQ_MOVIE
Definition: UI_resources.h:187
@ TH_GP_VERTEX_SELECT
Definition: UI_resources.h:209
@ TH_OBCENTER_DIA
Definition: UI_resources.h:83
@ TH_CONSOLE_SELECT
Definition: UI_resources.h:185
@ TH_KEYTYPE_MOVEHOLD
Definition: UI_resources.h:149
@ TH_INFO_WARNING
Definition: UI_resources.h:317
@ TH_GIZMO_VIEW_ALIGN
Definition: UI_resources.h:307
@ TH_SEQ_COLOR
Definition: UI_resources.h:197
@ TH_GIZMO_A
Definition: UI_resources.h:308
@ TH_SHADE2
Definition: UI_resources.h:65
@ TH_CONSOLE_ERROR
Definition: UI_resources.h:183
@ TH_KEYTYPE_BREAKDOWN_SELECT
Definition: UI_resources.h:146
@ TH_DIS_MARKER
Definition: UI_resources.h:233
@ TH_UV_SHADOW
Definition: UI_resources.h:251
@ TH_NODE_MATTE
Definition: UI_resources.h:175
@ TH_PAINT_CURVE_HANDLE
Definition: UI_resources.h:248
@ TH_STITCH_PREVIEW_EDGE
Definition: UI_resources.h:242
@ TH_NLA_TWEAK
Definition: UI_resources.h:281
@ TH_NODE_GRID_LEVELS
Definition: UI_resources.h:226
@ TH_PREVIEW_BACK
Definition: UI_resources.h:216
@ TH_HANDLE_SEL_FREE
Definition: UI_resources.h:114
@ TH_VERTEX_BEVEL
Definition: UI_resources.h:335
@ TH_SEQ_META
Definition: UI_resources.h:194
@ TH_FACE_SELECT
Definition: UI_resources.h:89
@ TH_CFRAME
Definition: UI_resources.h:97
@ TH_HANDLE_VERTEX_SELECT
Definition: UI_resources.h:205
@ TH_HANDLE_VERTEX
Definition: UI_resources.h:204
@ TH_SCROLL_TEXT
Definition: UI_resources.h:279
@ TH_LINENUMBERS
Definition: UI_resources.h:131
@ TH_STITCH_PREVIEW_ACTIVE
Definition: UI_resources.h:246
@ TH_ANIM_PREVIEW_RANGE
Definition: UI_resources.h:268
@ TH_NURB_ULINE
Definition: UI_resources.h:103
@ TH_MARKER
Definition: UI_resources.h:229
@ TH_KEYTYPE_EXTREME_SELECT
Definition: UI_resources.h:144
@ TH_EDGE_SEAM
Definition: UI_resources.h:86
@ TH_AXIS_Y
Definition: UI_resources.h:301
@ TH_AXIS_X
Definition: UI_resources.h:300
@ TH_NODE_TEXTURE
Definition: UI_resources.h:166
@ TH_NODE_VECTOR
Definition: UI_resources.h:165
@ TH_EDGE
Definition: UI_resources.h:84
@ TH_SHADE1
Definition: UI_resources.h:64
@ TH_INFO_SELECTED_TEXT
Definition: UI_resources.h:314
@ TH_HANDLE_SEL_VECT
Definition: UI_resources.h:116
@ TH_VERTEX_SELECT
Definition: UI_resources.h:78
@ TH_STRIP
Definition: UI_resources.h:138
@ TH_NODE_CONVERTER
Definition: UI_resources.h:172
@ TH_KEYTYPE_MOVEHOLD_SELECT
Definition: UI_resources.h:150
@ TH_THEMEUI
Definition: UI_resources.h:36
@ TH_CONSOLE_CURSOR
Definition: UI_resources.h:184
@ TH_EMPTY
Definition: UI_resources.h:158
@ TH_ANIM_INACTIVE
Definition: UI_resources.h:267
@ TH_KEYTYPE_JITTER_SELECT
Definition: UI_resources.h:148
@ TH_ICON_FUND
Definition: UI_resources.h:277
@ TH_FACE_FRONT
Definition: UI_resources.h:91
@ TH_VERTEX_UNREFERENCED
Definition: UI_resources.h:80
@ TH_GIZMO_PRIMARY
Definition: UI_resources.h:305
@ TH_TRANSPARENT_CHECKER_SIZE
Definition: UI_resources.h:298
@ TH_STITCH_PREVIEW_STITCHABLE
Definition: UI_resources.h:244
@ TH_HEADER_TEXT
Definition: UI_resources.h:52
@ TH_PAINT_CURVE_PIVOT
Definition: UI_resources.h:249
@ TH_V3D_CLIPPING_BORDER
Definition: UI_resources.h:329
@ TH_NLA_TWEAK_DUPLI
Definition: UI_resources.h:282
@ TH_AXIS_Z
Definition: UI_resources.h:302
@ TH_EDITMESH_ACTIVE
Definition: UI_resources.h:202
@ TH_SEQ_PREVIEW
Definition: UI_resources.h:196
@ TH_GP_VERTEX_SIZE
Definition: UI_resources.h:210
@ TH_CONSOLE_INFO
Definition: UI_resources.h:182
@ TH_GP_VERTEX
Definition: UI_resources.h:208
@ TH_INFO_OPERATOR_TEXT
Definition: UI_resources.h:326
@ TH_HEADER_ACTIVE
Definition: UI_resources.h:51
@ TH_SYNTAX_D
Definition: UI_resources.h:128
@ TH_VIEW_OVERLAY
Definition: UI_resources.h:327
@ TH_HILITE
Definition: UI_resources.h:66
@ TH_GIZMO_SECONDARY
Definition: UI_resources.h:306
@ TH_BUTBACK_TEXT_HI
Definition: UI_resources.h:62
@ TH_ACT_MARKER
Definition: UI_resources.h:230
@ TH_FACE_DOT
Definition: UI_resources.h:95
@ TH_TITLE
Definition: UI_resources.h:44
@ TH_CONSOLE_OUTPUT
Definition: UI_resources.h:180
@ TH_CONSOLE_INPUT
Definition: UI_resources.h:181
@ TH_PATH_KEYFRAME_AFTER
Definition: UI_resources.h:237
@ TH_SYNTAX_V
Definition: UI_resources.h:124
@ TH_INFO_SELECTED
Definition: UI_resources.h:313
@ TH_SEQ_AUDIO
Definition: UI_resources.h:192
@ TH_NODE_CURVING
Definition: UI_resources.h:225
@ TH_SEL_MARKER
Definition: UI_resources.h:231
@ TH_TAB_BACK
Definition: UI_resources.h:47
@ TH_CAMERA_PATH
Definition: UI_resources.h:238
@ TH_SELECT
Definition: UI_resources.h:72
@ TH_WIDGET_TEXT_CURSOR
Definition: UI_resources.h:293
@ TH_HANDLE_FREE
Definition: UI_resources.h:109
@ TH_NLA_SOUND
Definition: UI_resources.h:289
@ TH_SYNTAX_L
Definition: UI_resources.h:127
@ TH_SEQ_ACTIVE
Definition: UI_resources.h:198
@ TH_HANDLE_AUTOCLAMP
Definition: UI_resources.h:113
@ TH_EDITOR_OUTLINE
Definition: UI_resources.h:294
@ TH_GROUP_ACTIVE
Definition: UI_resources.h:75
@ TH_TAB_INACTIVE
Definition: UI_resources.h:46
@ TH_BACKGROUND_TYPE
Definition: UI_resources.h:311
@ TH_SYNTAX_N
Definition: UI_resources.h:129
@ TH_DRAWEXTRA_EDGELEN
Definition: UI_resources.h:220
@ TH_MATCH
Definition: UI_resources.h:256
@ TH_NLA_TRANSITION
Definition: UI_resources.h:285
@ TH_SEQ_EFFECT
Definition: UI_resources.h:193
@ TH_SEQ_SCENE
Definition: UI_resources.h:191
@ TH_NODE_LAYOUT
Definition: UI_resources.h:169
@ TH_EDGE_CREASE
Definition: UI_resources.h:218
@ TH_PANEL_BACK
Definition: UI_resources.h:57
@ TH_HANDLE_VECT
Definition: UI_resources.h:111
@ TH_HEADER_TEXT_HI
Definition: UI_resources.h:53
@ TH_TEXT
Definition: UI_resources.h:42
@ TH_METADATA_BG
Definition: UI_resources.h:331
@ TH_NODE_SHADER
Definition: UI_resources.h:170
@ TH_WIRE_EDIT
Definition: UI_resources.h:71
@ TH_SEQ_MOVIECLIP
Definition: UI_resources.h:188
@ TH_WIRE_INNER
Definition: UI_resources.h:70
@ TH_DRAWEXTRA_FACEAREA
Definition: UI_resources.h:222
@ TH_SEQ_IMAGE
Definition: UI_resources.h:190
@ TH_NODE_INTERFACE
Definition: UI_resources.h:171
@ TH_STITCH_PREVIEW_FACE
Definition: UI_resources.h:241
@ TH_DOPESHEET_CHANNELOB
Definition: UI_resources.h:212
@ TH_NURB_SEL_ULINE
Definition: UI_resources.h:105
@ TH_ACTIVE
Definition: UI_resources.h:73
@ TH_STRIP_SELECT
Definition: UI_resources.h:139
@ TH_NLA_SOUND_SEL
Definition: UI_resources.h:290
@ TH_PATH_KEYFRAME_BEFORE
Definition: UI_resources.h:236
@ TH_FACE
Definition: UI_resources.h:88
@ TH_VNORMAL
Definition: UI_resources.h:93
@ TH_TEXT_HI
Definition: UI_resources.h:43
void UI_GetThemeColorBlend4f(int colorid1, int colorid2, float fac, float r_col[4])
Definition: resources.c:1122
void UI_GetThemeColorShade3fv(int colorid, int offset, float col[3])
Definition: resources.c:1191
void UI_GetThemeColorBlendShade4fv(int colorid1, int colorid2, float fac, int offset, float col[4])
Definition: resources.c:1299
const unsigned char * UI_ThemeGetColorPtr(struct bTheme *btheme, int spacetype, int colorid)
Definition: resources.c:67
void UI_GetThemeColorType4ubv(int colorid, int spacetype, unsigned char col[4])
Definition: resources.c:1377
void UI_ThemeClearColor(int colorid)
Definition: resources.c:1448
float UI_GetThemeValueTypef(int colorid, int spacetype)
Definition: resources.c:1153
void UI_GetThemeColor3ubv(int colorid, unsigned char col[3])
Definition: resources.c:1323
void UI_GetThemeColorType4fv(int colorid, int spacetype, float col[4])
Definition: resources.c:1182
void UI_Theme_Restore(struct bThemeState *theme_state)
Definition: resources.c:1076
int UI_ThemeMenuShadowWidth(void)
Definition: resources.c:1456
struct bTheme * UI_GetTheme(void)
Definition: resources.c:1067
void UI_GetThemeColorBlendShade3fv(int colorid1, int colorid2, float fac, int offset, float col[3])
Definition: resources.c:1279
void UI_GetThemeColorShadeAlpha4fv(int colorid, int coloffset, int alphaoffset, float col[4])
Definition: resources.c:1259
void UI_GetThemeColor4fv(int colorid, float col[4])
Definition: resources.c:1173
void UI_GetThemeColorShade4fv(int colorid, int offset, float col[4])
Definition: resources.c:1331
void UI_GetThemeColorShade4ubv(int colorid, int offset, unsigned char col[4])
Definition: resources.c:1241
bool UI_GetIconThemeColor4ubv(int colorid, unsigned char col[4])
Definition: resources.c:1386
void UI_GetThemeColorBlendShade3ubv(int colorid1, int colorid2, float fac, int offset, unsigned char col[3])
Definition: resources.c:1225
int UI_GetThemeValue(int colorid)
Definition: resources.c:1147
void UI_GetThemeColorBlend3f(int colorid1, int colorid2, float fac, float r_col[3])
Definition: resources.c:1111
void UI_FontThemeColor(int fontid, int colorid)
Definition: resources.c:1134
void UI_GetThemeColorShade3ubv(int colorid, int offset, unsigned char col[3])
Definition: resources.c:1208
void UI_GetColorPtrBlendShade3ubv(const unsigned char cp1[3], const unsigned char cp2[3], unsigned char col[3], float fac, int offset)
Definition: resources.c:1429
float UI_GetThemeValuef(int colorid)
Definition: resources.c:1141
void UI_SetTheme(int spacetype, int regionid)
Definition: resources.c:1045
void UI_GetColorPtrShade3ubv(const unsigned char cp1[3], unsigned char col[3], int offset)
Definition: resources.c:1412
void UI_Theme_Store(struct bThemeState *theme_state)
Definition: resources.c:1072
void UI_GetThemeColor4ubv(int colorid, unsigned char col[4])
Definition: resources.c:1352
uint col
ccl_gpu_kernel_postfix ccl_global float int int int int float bool int offset
struct bTheme * theme
Definition: UI_resources.h:343