1 /*************************************************************************** 2 widgetview.h - Widget view class 3 ------------------- 4 begin : Sat May 3 2003 5 copyright : (C) 2003 by Gabor Torok 6 email : cctorok@yahoo.com 7 ***************************************************************************/ 8 9 /*************************************************************************** 10 * * 11 * This program is free software; you can redistribute it and/or modify * 12 * it under the terms of the GNU General Public License as published by * 13 * the Free Software Foundation; either version 2 of the License, or * 14 * (at your option) any later version. * 15 * * 16 ***************************************************************************/ 17 18 #ifndef WIDGETVIEW_H 19 #define WIDGETVIEW_H 20 #pragma once 21 22 #include "gui.h" 23 #include "widget.h" 24 25 /** 26 *@author Gabor Torok 27 */ 28 29 /// This class lets you draw a widget. 30 class WidgetView { 31 public: 32 WidgetView(); 33 virtual ~WidgetView(); 34 35 /** Draw the widget. */ 36 virtual void drawWidgetContents( Widget *w ) = 0; 37 }; 38 39 #endif 40