Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/UI_resources.h
| Show First 20 Lines • Show All 360 Lines • ▼ Show 20 Lines | |||||
| void UI_GetThemeColorBlendShade3fv(int colorid1, int colorid2, float fac, int offset, float col[3]); | void UI_GetThemeColorBlendShade3fv(int colorid1, int colorid2, float fac, int offset, float col[3]); | ||||
| void UI_GetThemeColorBlendShade4fv(int colorid1, int colorid2, float fac, int offset, float col[4]); | void UI_GetThemeColorBlendShade4fv(int colorid1, int colorid2, float fac, int offset, float col[4]); | ||||
| // get the 3 or 4 byte values | // get the 3 or 4 byte values | ||||
| void UI_GetThemeColor3ubv(int colorid, unsigned char col[3]); | void UI_GetThemeColor3ubv(int colorid, unsigned char col[3]); | ||||
| void UI_GetThemeColor4ubv(int colorid, unsigned char col[4]); | void UI_GetThemeColor4ubv(int colorid, unsigned char col[4]); | ||||
| // get a theme color from specified space type | // get a theme color from specified space type | ||||
| void UI_GetThemeColorType3fv(int colorid, int spacetype, float col[3]); | |||||
| void UI_GetThemeColorType3ubv(int colorid, int spacetype, unsigned char col[3]); | void UI_GetThemeColorType3ubv(int colorid, int spacetype, unsigned char col[3]); | ||||
| void UI_GetThemeColorType4ubv(int colorid, int spacetype, unsigned char col[4]); | void UI_GetThemeColorType4ubv(int colorid, int spacetype, unsigned char col[4]); | ||||
| // get theme color for coloring monochrome icons | // get theme color for coloring monochrome icons | ||||
| bool UI_GetIconThemeColor4fv(int colorid, float col[4]); | bool UI_GetIconThemeColor4fv(int colorid, float col[4]); | ||||
| // shade a 3 byte color (same as UI_GetColorPtrBlendShade3ubv with 0.0 factor) | // shade a 3 byte color (same as UI_GetColorPtrBlendShade3ubv with 0.0 factor) | ||||
| void UI_GetColorPtrShade3ubv(const unsigned char cp1[3], unsigned char col[3], int offset); | void UI_GetColorPtrShade3ubv(const unsigned char cp1[3], unsigned char col[3], int offset); | ||||
| Show All 32 Lines | |||||