@@ -1,20 +0,0 @@ | |||||
#pragma once | |||||
#include <ui/common.hpp> | |||||
#include <color.hpp> | |||||
namespace rack { | |||||
/** General user interface widgets using Blendish | |||||
*/ | |||||
namespace ui { | |||||
void init(); | |||||
void destroy(); | |||||
void setTheme(NVGcolor bg, NVGcolor fg); | |||||
} // namespace ui | |||||
} // namespace rack |
@@ -3,6 +3,7 @@ | |||||
#include <blendish.h> | #include <blendish.h> | ||||
#include <common.hpp> | #include <common.hpp> | ||||
#include <color.hpp> | |||||
/** Useful for menu items with a "true" boolean state */ | /** Useful for menu items with a "true" boolean state */ | ||||
#define CHECKMARK_STRING "✔" | #define CHECKMARK_STRING "✔" | ||||
@@ -10,3 +11,20 @@ | |||||
/** Useful for menu items that open a sub-menu */ | /** Useful for menu items that open a sub-menu */ | ||||
#define RIGHT_ARROW "▸" | #define RIGHT_ARROW "▸" | ||||
namespace rack { | |||||
/** General user interface widgets using Blendish | |||||
*/ | |||||
namespace ui { | |||||
void init(); | |||||
void destroy(); | |||||
void setTheme(NVGcolor bg, NVGcolor fg); | |||||
} // namespace ui | |||||
} // namespace rack |
@@ -1,4 +1,4 @@ | |||||
#include <ui.hpp> | |||||
#include <ui/common.hpp> | |||||
namespace rack { | namespace rack { |
@@ -16,7 +16,7 @@ | |||||
#include <window.hpp> | #include <window.hpp> | ||||
#include <patch.hpp> | #include <patch.hpp> | ||||
#include <history.hpp> | #include <history.hpp> | ||||
#include <ui.hpp> | |||||
#include <ui/common.hpp> | |||||
#include <system.hpp> | #include <system.hpp> | ||||
#include <string.hpp> | #include <string.hpp> | ||||
#include <library.hpp> | #include <library.hpp> | ||||