|
@@ -38,6 +38,7 @@
|
|
/*#define INCLUDE_CALCULATOR */
|
|
/*#define INCLUDE_CALCULATOR */
|
|
/*#define INCLUDE_OVERVIEW */
|
|
/*#define INCLUDE_OVERVIEW */
|
|
/*#define INCLUDE_NODE_EDITOR */
|
|
/*#define INCLUDE_NODE_EDITOR */
|
|
|
|
+/*#define INCLUDE_STYLE */
|
|
|
|
|
|
#ifdef INCLUDE_ALL
|
|
#ifdef INCLUDE_ALL
|
|
#define INCLUDE_STYLE
|
|
#define INCLUDE_STYLE
|
|
@@ -154,19 +155,6 @@ main(int argc, char *argv[])
|
|
nk_style_set_font(ctx, &font->handle);
|
|
nk_style_set_font(ctx, &font->handle);
|
|
}
|
|
}
|
|
|
|
|
|
- #ifdef INCLUDE_STYLE
|
|
|
|
- /* ease regression testing during Nuklear release process; not needed for anything else */
|
|
|
|
- #ifdef STYLE_WHITE
|
|
|
|
- set_style(ctx, THEME_WHITE);
|
|
|
|
- #elif defined(STYLE_RED)
|
|
|
|
- set_style(ctx, THEME_RED);
|
|
|
|
- #elif defined(STYLE_BLUE)
|
|
|
|
- set_style(ctx, THEME_BLUE);
|
|
|
|
- #elif defined(STYLE_DARK)
|
|
|
|
- set_style(ctx, THEME_DARK);
|
|
|
|
- #endif
|
|
|
|
- #endif
|
|
|
|
-
|
|
|
|
bg.r = 0.10f, bg.g = 0.18f, bg.b = 0.24f, bg.a = 1.0f;
|
|
bg.r = 0.10f, bg.g = 0.18f, bg.b = 0.24f, bg.a = 1.0f;
|
|
while (running)
|
|
while (running)
|
|
{
|
|
{
|