|
gltk
0.3
a C++ widget library built on GLUT
|
Widget of simple Shape. More...
#include <shape.hh>
Public Types | |
| enum | Predefined { UP_TRIANGLE, DOWN_TRIANGLE, LEFT_TRIANGLE, RIGHT_TRIANGLE } |
| available predefined shapes More... | |
Public Member Functions | |
| Shape (Predefined shape, int width, int height) | |
| initialize with a shape and sizes | |
| Shape::Shape | ( | Predefined | shape, |
| int | width, | ||
| int | height | ||
| ) |
initialize with a shape and sizes
| shape | select a predefined shape |
| width | default width |
| height | default height |