#pragma once #include #include #include #include /** 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