diff options
author | David Robillard <d@drobilla.net> | 2008-08-09 15:39:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-09 15:39:44 +0000 |
commit | dda34ebdfaeeb772097c40666bf345f094077c95 (patch) | |
tree | 6e1f122e3e96b793d2d4bb45602b42ea551403e2 | |
parent | e6a34560fe4e20979bf89fdf890601cd8842305e (diff) | |
download | mda.lv2-dda34ebdfaeeb772097c40666bf345f094077c95.tar.gz mda.lv2-dda34ebdfaeeb772097c40666bf345f094077c95.tar.bz2 mda.lv2-dda34ebdfaeeb772097c40666bf345f094077c95.zip |
Remove GUI stubs (turns out vstgui is actually open source).
git-svn-id: http://svn.drobilla.net/lad/mda-lv2@1330 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | lvz/lvzgui.h | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/lvz/lvzgui.h b/lvz/lvzgui.h deleted file mode 100644 index c28c2a6..0000000 --- a/lvz/lvzgui.h +++ /dev/null @@ -1,85 +0,0 @@ -/* LVZ - A C++ interface for writing LV2 plugins. - * Copyright (C) 2008 Dave Robillard <http://drobilla.net> - * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the Free - * Software Foundation; either version 2 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#ifndef __lvz_gui_h -#define __lvz_gui_h - -#include "audioeffectx.h" - -static const uint32_t kBlackCColor = 0x00000000; - - -class CRect { -public: - CRect(long x=0, long y=0, long w=0, long h=0) - : left(x), top(y), right(x+w), bottom(y+h) - {} - void offset(long x, long y) {} - long left, top, right, bottom; -}; - -class CControl { -public: - CControl(CRect& size) {} - void setDirty(bool dirty) {} - void setValue(float value) {} -}; - -class CPoint { -public: - CPoint(long a_x, long a_y) : x(a_x), y(a_y) {} - long x, y; -}; - -class CFrame { -public: - CFrame(CRect& size, void* ptr, void* editor) {} - void addView(CControl* control) {} -}; - -class CDrawContext { -public: - void setFillColor(uint32_t color) {} - void fillRect(CRect& rect); -}; - -class CBitmap { -public: - CBitmap(long something) {} - - long getWidth() { return 0; } - long getHeight() { return 0; } - - void draw(CDrawContext* context, CRect& rect) {} -}; - -class AEffGUIEditor { -public: - AEffGUIEditor(AudioEffect* eff) : effect(eff), rect(0, 0, 0, 0) {} - void open(void* ptr) {} - - void idle() {} - -protected: - AudioEffect* effect; - CRect rect; - CFrame* frame; -}; - -#endif // __lvz_gui_h - |