Blender V5.3
resources.cc File Reference
#include <cmath>
#include <cstdlib>
#include <cstring>
#include "MEM_guardedalloc.h"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "DNA_userdef_types.h"
#include "BLI_listbase.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_string_utf8.hh"
#include "BLI_utildefines.hh"
#include "BKE_addon.h"
#include "BKE_appdir.hh"
#include "BLO_userdef_default.h"
#include "BLF_api.hh"
#include "ED_screen.hh"
#include "UI_interface_icons.hh"
#include "GPU_framebuffer.hh"
#include "interface_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ui
namespace  blender::ui::theme

Functions

void blender::ui::style_init_default ()
Init/Exit
void blender::ui::resources_init ()
void blender::ui::resources_free ()
Themes
const unsigned char * blender::ui::theme::get_color_ptr (const bTheme *btheme, int spacetype, int colorid)
void blender::ui::theme::init_default ()
void blender::ui::theme::theme_set (int spacetype, int regionid)
const bTheme * blender::ui::theme::theme_get ()
void blender::ui::theme::theme_store (bThemeState *theme_state)
void blender::ui::theme::theme_restore (const bThemeState *theme_state)
void blender::ui::theme::get_color_shade_alpha_4ubv (int colorid, int coloffset, int alphaoffset, unsigned char col[4])
void blender::ui::theme::get_color_blend_3ubv (int colorid1, int colorid2, float fac, unsigned char col[3])
void blender::ui::theme::get_color_blend_3f (int colorid1, int colorid2, float fac, float r_col[3])
void blender::ui::theme::get_color_blend_4f (int colorid1, int colorid2, float fac, float r_col[4])
void blender::ui::theme::font_theme_color_set (int fontid, int colorid)
float blender::ui::theme::get_value_f (int colorid)
int blender::ui::theme::get_value (int colorid)
float blender::ui::theme::get_value_type_f (int colorid, int spacetype)
int blender::ui::theme::get_value_type (int colorid, int spacetype)
void blender::ui::theme::get_color_3fv (int colorid, float col[3])
void blender::ui::theme::get_color_4fv (int colorid, float col[4])
void blender::ui::theme::get_color_type_4fv (int colorid, int spacetype, float col[4])
void blender::ui::theme::get_color_shade_3fv (int colorid, int offset, float col[3])
void blender::ui::theme::get_color_shade_3ubv (int colorid, int offset, unsigned char col[3])
void blender::ui::theme::get_color_blend_shade_3ubv (int colorid1, int colorid2, float fac, int offset, unsigned char col[3])
void blender::ui::theme::get_color_shade_4ubv (int colorid, int offset, unsigned char col[4])
void blender::ui::theme::get_color_shade_alpha_4fv (int colorid, int coloffset, int alphaoffset, float col[4])
void blender::ui::theme::get_color_blend_shade_3fv (int colorid1, int colorid2, float fac, int offset, float col[3])
void blender::ui::theme::get_color_blend_shade_4fv (int colorid1, int colorid2, float fac, int offset, float col[4])
void blender::ui::theme::get_color_3ubv (int colorid, unsigned char col[3])
void blender::ui::theme::get_color_shade_4fv (int colorid, int offset, float col[4])
void blender::ui::theme::get_color_4ubv (int colorid, unsigned char col[4])
void blender::ui::theme::get_color_type_3fv (int colorid, int spacetype, float col[3])
void blender::ui::theme::get_color_type_3ubv (int colorid, int spacetype, unsigned char col[3])
void blender::ui::theme::get_color_type_4ubv (int colorid, int spacetype, unsigned char col[4])
bool blender::ui::theme::get_icon_color_4ubv (int colorid, unsigned char col[4])
void blender::ui::theme::get_color_blend_alpha_4fv (const float cp1[4], const float cp2[4], float fac, float alphaoffset, float r_col[4])
void blender::ui::theme::get_color_shade_3ubv (const unsigned char cp[3], int offset, unsigned char r_col[3])
void blender::ui::theme::get_color_blend_shade_3ubv (const unsigned char cp1[3], const unsigned char cp2[3], float fac, int offset, unsigned char r_col[3])
void blender::ui::theme::frame_buffer_clear (int colorid)
int blender::ui::theme::get_menu_shadow_width ()
void blender::ui::theme::make_axis_color (const unsigned char col[3], char axis, unsigned char r_col[3])

Variables

static bThemeState blender::ui::theme::g_theme_state