@@ -1 +1 @@ | |||||
Subproject commit 8d66fbcd2666624a01efa5f90048d7d868064976 | |||||
Subproject commit 12061de4cadc1e04572adcafe8c6cbfdb23cdb5c |
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -17,21 +17,15 @@ | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// DGL Stuff | // DGL Stuff | ||||
#include "App.hpp" | |||||
#include "Application.hpp" | |||||
#include "Window.hpp" | #include "Window.hpp" | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using DGL::App; | |||||
using DGL::Window; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// main entry point | // main entry point | ||||
int main() | int main() | ||||
{ | { | ||||
App app; | |||||
Application app; | |||||
Window win(app); | Window win(app); | ||||
win.setTitle("App"); | win.setTitle("App"); | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -20,11 +20,6 @@ | |||||
#include "StandaloneWindow.hpp" | #include "StandaloneWindow.hpp" | ||||
#include "widgets/ExampleColorWidget.hpp" | #include "widgets/ExampleColorWidget.hpp" | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using DGL::StandaloneWindow; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// main entry point | // main entry point | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -17,7 +17,6 @@ | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// DGL Stuff | // DGL Stuff | ||||
#include "ImageButton.hpp" | |||||
#include "StandaloneWindow.hpp" | #include "StandaloneWindow.hpp" | ||||
#include "widgets/ExampleColorWidget.hpp" | #include "widgets/ExampleColorWidget.hpp" | ||||
#include "widgets/ExampleImagesWidget.hpp" | #include "widgets/ExampleImagesWidget.hpp" | ||||
@@ -32,14 +31,6 @@ | |||||
#include "demo_res/DemoArtwork.cpp" | #include "demo_res/DemoArtwork.cpp" | ||||
#include "images_res/CatPics.cpp" | #include "images_res/CatPics.cpp" | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using DGL::App; | |||||
using DGL::ImageButton; | |||||
using DGL::Line; | |||||
using DGL::Size; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// Single Widget Window | // Single Widget Window | ||||
@@ -49,7 +40,7 @@ template<class WIG> | |||||
class SingleWidgetWindow : public Window | class SingleWidgetWindow : public Window | ||||
{ | { | ||||
public: | public: | ||||
SingleWidgetWindow(App& app) | |||||
SingleWidgetWindow(Application& app) | |||||
: Window(app), | : Window(app), | ||||
fWidget(*this), | fWidget(*this), | ||||
fIsMain(true) | fIsMain(true) | ||||
@@ -59,7 +50,7 @@ public: | |||||
show(); | show(); | ||||
} | } | ||||
SingleWidgetWindow(App& app, Window& parent) | |||||
SingleWidgetWindow(Application& app, Window& parent) | |||||
: Window(app, parent), | : Window(app, parent), | ||||
fWidget(*this), | fWidget(*this), | ||||
fIsMain(false) | fIsMain(false) | ||||
@@ -95,7 +86,7 @@ private: | |||||
int main() | int main() | ||||
{ | { | ||||
App app; | |||||
Application app; | |||||
SingleWidgetWindow<ExampleColorWidget> wColor(app); | SingleWidgetWindow<ExampleColorWidget> wColor(app); | ||||
SingleWidgetWindow<ExampleImagesWidget> wImages(app, wColor); | SingleWidgetWindow<ExampleImagesWidget> wImages(app, wColor); | ||||
SingleWidgetWindow<ExampleRectanglesWidget> wRects(app, wColor); | SingleWidgetWindow<ExampleRectanglesWidget> wRects(app, wColor); | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -23,14 +23,6 @@ | |||||
#include "widgets/ExampleShapesWidget.hpp" | #include "widgets/ExampleShapesWidget.hpp" | ||||
#include "widgets/ExampleTextWidget.hpp" | #include "widgets/ExampleTextWidget.hpp" | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using DGL::Size; | |||||
using DGL::StandaloneWindow; | |||||
using DGL::Widget; | |||||
using DGL::Window; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// SubWidgets | // SubWidgets | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -17,7 +17,6 @@ | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// DGL Stuff | // DGL Stuff | ||||
#include "ImageButton.hpp" | |||||
#include "StandaloneWindow.hpp" | #include "StandaloneWindow.hpp" | ||||
#include "widgets/ExampleColorWidget.hpp" | #include "widgets/ExampleColorWidget.hpp" | ||||
#include "widgets/ExampleImagesWidget.hpp" | #include "widgets/ExampleImagesWidget.hpp" | ||||
@@ -32,14 +31,6 @@ | |||||
#include "demo_res/DemoArtwork.cpp" | #include "demo_res/DemoArtwork.cpp" | ||||
#include "images_res/CatPics.cpp" | #include "images_res/CatPics.cpp" | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using DGL::App; | |||||
using DGL::ImageButton; | |||||
using DGL::Line; | |||||
using DGL::Size; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// Left side tab-like widget | // Left side tab-like widget | ||||
@@ -328,7 +319,7 @@ class DemoWindow : public Window, | |||||
public LeftSideWidget::Callback | public LeftSideWidget::Callback | ||||
{ | { | ||||
public: | public: | ||||
DemoWindow(App& app) | |||||
DemoWindow(Application& app) | |||||
: Window(app), | : Window(app), | ||||
wColor(*this), | wColor(*this), | ||||
wImages(*this), | wImages(*this), | ||||
@@ -429,7 +420,7 @@ private: | |||||
int main() | int main() | ||||
{ | { | ||||
App app; | |||||
Application app; | |||||
DemoWindow win(app); | DemoWindow win(app); | ||||
win.show(); | win.show(); | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -19,11 +19,6 @@ | |||||
#include "StandaloneWindow.hpp" | #include "StandaloneWindow.hpp" | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using DGL::StandaloneWindow; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// Test class | // Test class | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -25,11 +25,6 @@ | |||||
#include "widgets/NanoPerfWidget.hpp" | #include "widgets/NanoPerfWidget.hpp" | ||||
#include "nanovg_res/demo.h" | #include "nanovg_res/demo.h" | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using namespace DGL; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// NanoVG Example Widget | // NanoVG Example Widget | ||||
@@ -98,7 +93,7 @@ protected: | |||||
switch (ev.key) | switch (ev.key) | ||||
{ | { | ||||
case CHAR_ESCAPE: | |||||
case kCharEscape: | |||||
getParentApp().quit(); | getParentApp().quit(); | ||||
break; | break; | ||||
case ' ': | case ' ': | ||||
@@ -137,7 +132,7 @@ private: | |||||
class NanoExampleWindow : public Window | class NanoExampleWindow : public Window | ||||
{ | { | ||||
public: | public: | ||||
NanoExampleWindow(App& app) | |||||
NanoExampleWindow(Application& app) | |||||
: Window(app), | : Window(app), | ||||
fDemo(*this), | fDemo(*this), | ||||
fPerf(*this, NanoPerfWidget::RENDER_FPS, "Frame Time") | fPerf(*this, NanoPerfWidget::RENDER_FPS, "Frame Time") | ||||
@@ -168,7 +163,7 @@ private: | |||||
int main() | int main() | ||||
{ | { | ||||
App app; | |||||
Application app; | |||||
NanoExampleWindow win(app); | NanoExampleWindow win(app); | ||||
win.show(); | win.show(); | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -25,14 +25,6 @@ | |||||
#include "NanoVG.hpp" | #include "NanoVG.hpp" | ||||
#include "widgets/NanoPerfWidget.hpp" | #include "widgets/NanoPerfWidget.hpp" | ||||
#include <cmath> | |||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using namespace DGL; | |||||
using namespace DISTRHO; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// NanoVG Example Widget | // NanoVG Example Widget | ||||
@@ -98,7 +90,7 @@ protected: | |||||
switch (ev.key) | switch (ev.key) | ||||
{ | { | ||||
case CHAR_ESCAPE: | |||||
case kCharEscape: | |||||
getParentApp().quit(); | getParentApp().quit(); | ||||
break; | break; | ||||
case ' ': | case ' ': | ||||
@@ -198,7 +190,7 @@ private: | |||||
class NanoExampleWindow : public Window | class NanoExampleWindow : public Window | ||||
{ | { | ||||
public: | public: | ||||
NanoExampleWindow(App& app) | |||||
NanoExampleWindow(Application& app) | |||||
: Window(app), | : Window(app), | ||||
fDemo(*this), | fDemo(*this), | ||||
fPerf(*this, NanoPerfWidget::RENDER_FPS, "Frame Time") | fPerf(*this, NanoPerfWidget::RENDER_FPS, "Frame Time") | ||||
@@ -227,7 +219,7 @@ private: | |||||
int main() | int main() | ||||
{ | { | ||||
App app; | |||||
Application app; | |||||
NanoExampleWindow win(app); | NanoExampleWindow win(app); | ||||
win.show(); | win.show(); | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -17,7 +17,7 @@ | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// DGL Stuff | // DGL Stuff | ||||
#include "App.hpp" | |||||
#include "Application.hpp" | |||||
#include "Window.hpp" | #include "Window.hpp" | ||||
#include "widgets/ExampleRectanglesWidget.hpp" | #include "widgets/ExampleRectanglesWidget.hpp" | ||||
@@ -40,12 +40,6 @@ typedef QMacCocoaViewContainer QWidgetContainer; | |||||
typedef QWidget QWidgetContainer; | typedef QWidget QWidgetContainer; | ||||
#endif | #endif | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using DGL::App; | |||||
using DGL::Window; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// Qt widget | // Qt widget | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -20,11 +20,6 @@ | |||||
#include "StandaloneWindow.hpp" | #include "StandaloneWindow.hpp" | ||||
#include "widgets/ExampleRectanglesWidget.hpp" | #include "widgets/ExampleRectanglesWidget.hpp" | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using DGL::StandaloneWindow; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// main entry point | // main entry point | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -20,11 +20,6 @@ | |||||
#include "StandaloneWindow.hpp" | #include "StandaloneWindow.hpp" | ||||
#include "widgets/ExampleShapesWidget.hpp" | #include "widgets/ExampleShapesWidget.hpp" | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using DGL::StandaloneWindow; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// main entry point | // main entry point | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -17,17 +17,12 @@ | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// DGL Stuff | // DGL Stuff | ||||
#include "App.hpp" | |||||
#include "Application.hpp" | |||||
#include "CairoWidget.hpp" | #include "CairoWidget.hpp" | ||||
#include "Window.hpp" | #include "Window.hpp" | ||||
#include <cstdio> | #include <cstdio> | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using namespace DGL; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// Background widget (cairo will be painted on top) | // Background widget (cairo will be painted on top) | ||||
@@ -199,7 +194,7 @@ private: | |||||
int main() | int main() | ||||
{ | { | ||||
App app; | |||||
Application app; | |||||
CustomWindow win(app); | CustomWindow win(app); | ||||
win.setSize(300, 300); | win.setSize(300, 300); | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -20,11 +20,6 @@ | |||||
#include "StandaloneWindow.hpp" | #include "StandaloneWindow.hpp" | ||||
#include "widgets/ExampleTextWidget.hpp" | #include "widgets/ExampleTextWidget.hpp" | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using DGL::StandaloneWindow; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// main entry point | // main entry point | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -23,14 +23,6 @@ | |||||
#include "Widget.hpp" | #include "Widget.hpp" | ||||
#include "Window.hpp" | #include "Window.hpp" | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using DGL::IdleCallback; | |||||
using DGL::Rectangle; | |||||
using DGL::Widget; | |||||
using DGL::Window; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// our widget | // our widget | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -29,15 +29,6 @@ | |||||
#include "../images_res/CatPics.hpp" | #include "../images_res/CatPics.hpp" | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using DGL::IdleCallback; | |||||
using DGL::Image; | |||||
using DGL::Rectangle; | |||||
using DGL::Widget; | |||||
using DGL::Window; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// our widget | // our widget | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -23,13 +23,6 @@ | |||||
#include "Widget.hpp" | #include "Widget.hpp" | ||||
#include "Window.hpp" | #include "Window.hpp" | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using DGL::Rectangle; | |||||
using DGL::Widget; | |||||
using DGL::Window; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// our widget | // our widget | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -23,15 +23,6 @@ | |||||
#include "Widget.hpp" | #include "Widget.hpp" | ||||
#include "Window.hpp" | #include "Window.hpp" | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using DGL::Circle; | |||||
using DGL::Triangle; | |||||
using DGL::Rectangle; | |||||
using DGL::Widget; | |||||
using DGL::Window; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// our widget | // our widget | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -22,12 +22,6 @@ | |||||
#include "NanoVG.hpp" | #include "NanoVG.hpp" | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using DGL::NanoWidget; | |||||
using DGL::Window; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// our widget | // our widget | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DISTRHO Plugin Framework (DPF) | * DISTRHO Plugin Framework (DPF) | ||||
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -23,16 +23,6 @@ | |||||
#include "NanoVG.hpp" | #include "NanoVG.hpp" | ||||
#include "../../dpf/distrho/extra/String.hpp" | #include "../../dpf/distrho/extra/String.hpp" | ||||
// ------------------------------------------------------ | |||||
// use namespace | |||||
using DISTRHO::String; | |||||
using DGL::IdleCallback; | |||||
using DGL::NanoVG; | |||||
using DGL::NanoWidget; | |||||
using DGL::Widget; | |||||
using DGL::Window; | |||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||
// get time | // get time | ||||