VCV Rack API v2
Loading...
Searching...
No Matches
common.hpp
Go to the documentation of this file.
1#pragma once
2#include <nanovg.h>
3#include <blendish.h>
4
5#include <common.hpp>
6#include <color.hpp>
7
9#define CHECKMARK_STRING "✔"
10#define CHECKMARK(_cond) ((_cond) ? CHECKMARK_STRING : "")
11
13#define RIGHT_ARROW "▸"
14
15
16namespace rack {
17
18
21namespace ui {
22
23
26void setTheme(NVGcolor bg, NVGcolor fg);
29
30
31} // namespace ui
32} // namespace rack
#define PRIVATE
Attribute for private functions not intended to be called by plugins.
Definition common.hpp:32
PRIVATE void destroy()
void setTheme(NVGcolor bg, NVGcolor fg)
PRIVATE void init()
void refreshTheme()
Sets theme from settings.
Root namespace for the Rack API.
Definition AudioDisplay.hpp:9