|
123456789101112131415161718192021222324252627282930 |
- #pragma once
- #include <nanovg.h>
- #include <blendish.h>
-
- #include <common.hpp>
- #include <color.hpp>
-
- /** Useful for menu items with a "true" boolean state */
- #define CHECKMARK_STRING "✔"
- #define CHECKMARK(_cond) ((_cond) ? CHECKMARK_STRING : "")
-
- /** Useful for menu items that open a sub-menu */
- #define RIGHT_ARROW "▸"
-
-
- namespace rack {
-
-
- /** Common graphical user interface widgets
- */
- namespace ui {
-
-
- PRIVATE void init();
- PRIVATE void destroy();
- void setTheme(NVGcolor bg, NVGcolor fg);
-
-
- } // namespace ui
- } // namespace rack
|