Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/resources.c
| Show First 20 Lines • Show All 2,018 Lines • ▼ Show 20 Lines | #endif | ||||
| if (!USER_VERSION_ATLEAST(252, 5)) { | if (!USER_VERSION_ATLEAST(252, 5)) { | ||||
| bTheme *btheme; | bTheme *btheme; | ||||
| /* interface_widgets.c */ | /* interface_widgets.c */ | ||||
| struct uiWidgetColors wcol_progress = { | struct uiWidgetColors wcol_progress = { | ||||
| {0, 0, 0, 255}, | {0, 0, 0, 255}, | ||||
| {190, 190, 190, 255}, | {190, 190, 190, 255}, | ||||
| {100, 100, 100, 180}, | {100, 100, 100, 180}, | ||||
| {68, 68, 68, 255}, | {128, 128, 128, 255}, | ||||
| {0, 0, 0, 255}, | {0, 0, 0, 255}, | ||||
| {255, 255, 255, 255}, | {255, 255, 255, 255}, | ||||
| 0, | 0, | ||||
| 5, -5 | 5, -5 | ||||
| }; | }; | ||||
| ▲ Show 20 Lines • Show All 637 Lines • ▼ Show 20 Lines | #define USER_VERSION_ATLEAST(ver, subver) MAIN_VERSION_ATLEAST((&(U)), ver, subver) | ||||
| if (!USER_VERSION_ATLEAST(276, 3)) { | if (!USER_VERSION_ATLEAST(276, 3)) { | ||||
| bTheme *btheme; | bTheme *btheme; | ||||
| for (btheme = U.themes.first; btheme; btheme = btheme->next) { | for (btheme = U.themes.first; btheme; btheme = btheme->next) { | ||||
| rgba_char_args_set(btheme->tseq.text_strip, 162, 151, 0, 255); | rgba_char_args_set(btheme->tseq.text_strip, 162, 151, 0, 255); | ||||
| } | } | ||||
| } | } | ||||
| if (!USER_VERSION_ATLEAST(276, 8)) { | |||||
| bTheme *btheme; | |||||
| for (btheme = U.themes.first; btheme; btheme = btheme->next) { | |||||
| rgba_char_args_set(btheme->tui.wcol_progress.item, 128, 128, 128, 255); | |||||
| } | |||||
| } | |||||
| if (U.pixelsize == 0.0f) | if (U.pixelsize == 0.0f) | ||||
| U.pixelsize = 1.0f; | U.pixelsize = 1.0f; | ||||
| if (U.image_draw_method == 0) | if (U.image_draw_method == 0) | ||||
| U.image_draw_method = IMAGE_DRAW_METHOD_2DTEXTURE; | U.image_draw_method = IMAGE_DRAW_METHOD_2DTEXTURE; | ||||
| // keep the following until the new audaspace is default to be built with | // keep the following until the new audaspace is default to be built with | ||||
| #ifdef WITH_SYSTEM_AUDASPACE | #ifdef WITH_SYSTEM_AUDASPACE | ||||
| Show All 10 Lines | |||||