summaryrefslogtreecommitdiff
path: root/examples/CairoUI/PluginUI.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/CairoUI/PluginUI.h')
-rw-r--r--examples/CairoUI/PluginUI.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/CairoUI/PluginUI.h b/examples/CairoUI/PluginUI.h
new file mode 100644
index 00000000..2415d816
--- /dev/null
+++ b/examples/CairoUI/PluginUI.h
@@ -0,0 +1,21 @@
+// Copyright Jean Pierre Cimalando 2018.
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#include "DistrhoUI.hpp"
+#include <memory>
+class DemoWidgetClickable;
+class DemoWidgetBanner;
+
+class ExampleUI : public UI {
+public:
+ ExampleUI();
+ ~ExampleUI();
+ void onDisplay() override;
+ void parameterChanged(uint32_t index, float value) override;
+
+private:
+ std::unique_ptr<DemoWidgetClickable> widget_clickable_;
+ std::unique_ptr<DemoWidgetBanner> widget_banner_;
+ };