Wt examples
3.3.5
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
builddir
build
BUILD
wt-3.3.5-rc2
examples
painting
PaintExample.h
Go to the documentation of this file.
1
// This may look like C code, but it's really -*- C++ -*-
2
/*
3
* Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
4
*
5
* See the LICENSE file for terms of use.
6
*/
7
8
#ifndef PAINT_EXAMPLE_H_
9
#define PAINT_EXAMPLE_H_
10
11
#include <
Wt/WContainerWidget
>
12
13
using namespace
Wt
;
14
15
class
ShapesWidget
;
16
17
class
PaintExample
:
public
WContainerWidget
18
{
19
public
:
20
PaintExample
(
WContainerWidget
*root,
bool
showTitle=
true
);
21
22
private
:
23
ShapesWidget
*
shapes_
;
24
25
void
rotateShape(
int
v);
26
void
scaleShape(
int
v);
27
};
28
29
#endif // PAINT_EXAMPLE_H_
ShapesWidget
Definition:
ShapesWidget.h:19
PaintExample::shapes_
ShapesWidget * shapes_
Definition:
PaintExample.h:23
PaintExample
Definition:
PaintExample.h:17
Wt
Wt::WContainerWidget
WContainerWidget
Generated on Sun Nov 22 2015 for
the C++ Web Toolkit (Wt)
by
1.8.9.1