Wt examples
4.11.3
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 bv, Herent, 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.h>
12
13
using namespace
Wt
;
14
15
class
ShapesWidget
;
16
17
class
PaintExample
:
public
WContainerWidget
18
{
19
public
:
20
PaintExample
(
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_
PaintExample
Definition:
PaintExample.h:18
PaintExample::shapes_
ShapesWidget * shapes_
Definition:
PaintExample.h:23
ShapesWidget
Definition:
ShapesWidget.h:20
Wt::WContainerWidget
Wt
Generated on Wed Feb 19 2025 for
the C++ Web Toolkit (Wt)
by
1.9.1