Blender V4.3
bTheme Struct Reference

#include <DNA_userdef_types.h>

Public Attributes

struct bThemenext
 
struct bThemeprev
 
char name [64]
 
char filepath [1024]
 
ThemeUI tui
 
ThemeSpace space_properties
 
ThemeSpace space_view3d
 
ThemeSpace space_file
 
ThemeSpace space_graph
 
ThemeSpace space_info
 
ThemeSpace space_action
 
ThemeSpace space_nla
 
ThemeSpace space_sequencer
 
ThemeSpace space_image
 
ThemeSpace space_text
 
ThemeSpace space_outliner
 
ThemeSpace space_node
 
ThemeSpace space_preferences
 
ThemeSpace space_console
 
ThemeSpace space_clip
 
ThemeSpace space_topbar
 
ThemeSpace space_statusbar
 
ThemeSpace space_spreadsheet
 
ThemeWireColor tarm [20]
 
ThemeCollectionColor collection_color [8]
 
ThemeStripColor strip_color [9]
 
int active_theme_area
 

Detailed Description

A theme.

Note
Currently only the first theme is used at once. Different theme presets are stored as external files now.

Definition at line 494 of file DNA_userdef_types.h.

Member Data Documentation

◆ active_theme_area

int bTheme::active_theme_area

Definition at line 546 of file DNA_userdef_types.h.

Referenced by UI_theme_init_default().

◆ collection_color

◆ filepath

char bTheme::filepath[1024]

The file-path for the preset that was loaded into this theme.

This is needed so it's possible to know if updating or removing a theme preset should apply changes to the current theme.

FILE_MAX.

Definition at line 509 of file DNA_userdef_types.h.

◆ name

char bTheme::name[64]

MAX_NAME.

Definition at line 497 of file DNA_userdef_types.h.

Referenced by do_versions_theme(), and UI_theme_init_default().

◆ next

struct bTheme* bTheme::next

Definition at line 495 of file DNA_userdef_types.h.

◆ prev

struct bTheme * bTheme::prev

Definition at line 495 of file DNA_userdef_types.h.

◆ space_action

ThemeSpace bTheme::space_action

Definition at line 522 of file DNA_userdef_types.h.

Referenced by ANIM_UI_get_keyframe_scale_factor(), and UI_ThemeGetColorPtr().

◆ space_clip

ThemeSpace bTheme::space_clip

Definition at line 531 of file DNA_userdef_types.h.

Referenced by UI_ThemeGetColorPtr().

◆ space_console

ThemeSpace bTheme::space_console

Definition at line 530 of file DNA_userdef_types.h.

Referenced by UI_ThemeGetColorPtr().

◆ space_file

ThemeSpace bTheme::space_file

Definition at line 519 of file DNA_userdef_types.h.

Referenced by UI_ThemeGetColorPtr().

◆ space_graph

ThemeSpace bTheme::space_graph

Definition at line 520 of file DNA_userdef_types.h.

Referenced by UI_ThemeGetColorPtr().

◆ space_image

ThemeSpace bTheme::space_image

Definition at line 525 of file DNA_userdef_types.h.

Referenced by UI_ThemeGetColorPtr().

◆ space_info

ThemeSpace bTheme::space_info

Definition at line 521 of file DNA_userdef_types.h.

Referenced by UI_ThemeGetColorPtr().

◆ space_nla

ThemeSpace bTheme::space_nla

Definition at line 523 of file DNA_userdef_types.h.

Referenced by UI_ThemeGetColorPtr().

◆ space_node

◆ space_outliner

ThemeSpace bTheme::space_outliner

Definition at line 527 of file DNA_userdef_types.h.

Referenced by UI_ThemeGetColorPtr().

◆ space_preferences

ThemeSpace bTheme::space_preferences

Definition at line 529 of file DNA_userdef_types.h.

Referenced by UI_ThemeGetColorPtr().

◆ space_properties

ThemeSpace bTheme::space_properties

Individual Space-types:

Note
Ensure UI_THEMESPACE_END is updated when adding.

Definition at line 517 of file DNA_userdef_types.h.

Referenced by UI_ThemeGetColorPtr().

◆ space_sequencer

ThemeSpace bTheme::space_sequencer

Definition at line 524 of file DNA_userdef_types.h.

Referenced by UI_ThemeGetColorPtr().

◆ space_spreadsheet

ThemeSpace bTheme::space_spreadsheet

Definition at line 534 of file DNA_userdef_types.h.

Referenced by UI_ThemeGetColorPtr().

◆ space_statusbar

ThemeSpace bTheme::space_statusbar

Definition at line 533 of file DNA_userdef_types.h.

Referenced by UI_ThemeGetColorPtr().

◆ space_text

ThemeSpace bTheme::space_text

Definition at line 526 of file DNA_userdef_types.h.

Referenced by UI_ThemeGetColorPtr().

◆ space_topbar

ThemeSpace bTheme::space_topbar

Definition at line 532 of file DNA_userdef_types.h.

Referenced by UI_ThemeGetColorPtr().

◆ space_view3d

ThemeSpace bTheme::space_view3d

◆ strip_color

ThemeStripColor bTheme::strip_color[9]

Definition at line 544 of file DNA_userdef_types.h.

Referenced by color3ubv_from_seq(), and vicon_strip_color_draw().

◆ tarm

◆ tui


The documentation for this struct was generated from the following file: