|
1234567891011121314151617181920212223242526272829303132 |
- #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);
- /** Sets theme from settings. */
- void refreshTheme();
-
-
- } // namespace ui
- } // namespace rack
|