From dda34ebdfaeeb772097c40666bf345f094077c95 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 9 Aug 2008 15:39:44 +0000 Subject: 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 --- lvz/lvzgui.h | 85 ------------------------------------------------------------ 1 file changed, 85 deletions(-) delete mode 100644 lvz/lvzgui.h (limited to 'lvz') 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 - * - * 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 - -- cgit v1.2.1