Wt examples 3.1.10
|
00001 // This may look like C code, but it's really -*- C++ -*- 00002 /* 00003 * Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium. 00004 * 00005 * See the LICENSE file for terms of use. 00006 */ 00007 00008 #ifndef PAINT_EXAMPLE_H_ 00009 #define PAINT_EXAMPLE_H_ 00010 00011 #include <Wt/WContainerWidget> 00012 00013 using namespace Wt; 00014 00015 class ShapesWidget; 00016 00017 class PaintExample : public WContainerWidget 00018 { 00019 public: 00020 PaintExample(WContainerWidget *root, bool showTitle=true); 00021 00022 private: 00023 ShapesWidget *shapes_; 00024 00025 void rotateShape(int v); 00026 void scaleShape(int v); 00027 }; 00028 00029 #endif // PAINT_EXAMPLE_H_