Project

General

Profile

Bug #981 » paint_test_widget.h

Rob Van Dyck, 09/07/2011 06:28 PM

 
#ifndef PAINT_TEST_WIDGET_H_
#define PAINT_TEST_WIDGET_H_

#include <Wt/WPaintedWidget>
#include <Wt/WServer>
#include <Wt/WContainerWidget>

using namespace Wt;


class paint_test_widget : public WPaintedWidget
{
public:
paint_test_widget(WContainerWidget *parent__ = 0);
void set_container_widget(WContainerWidget *container__);
private:
void paintEvent(WPaintDevice *paintDevice__);
int max_heigth_;
int max_width_;
WContainerWidget *container;
};


#endif
(1-1/2)