#include <ImagesWidget.h>
|
WImage * | image (int index) const |
|
Definition at line 17 of file ImagesWidget.h.
§ ImagesWidget()
ImagesWidget::ImagesWidget |
( |
int |
maxGuesses | ) |
|
Definition at line 14 of file ImagesWidget.C.
16 for (
int i = 0; i <= maxGuesses; ++i) {
17 std::string fname =
"icons/hangman";
18 fname += std::to_string(i) +
".jpg";
19 WImage *theImage = addWidget(cpp14::make_unique<WImage>(fname));
24 theImage->resize(256, 256);
28 WImage *hurray = addWidget(cpp14::make_unique<WImage>(
"icons/hangmanhurray.jpg"));
§ currentImage()
int ImagesWidget::currentImage |
( |
| ) |
const |
|
inline |
§ image()
WImage * ImagesWidget::image |
( |
int |
index | ) |
const |
|
private |
§ showImage()
void ImagesWidget::showImage |
( |
int |
index | ) |
|
§ HURRAY
const int ImagesWidget::HURRAY = -1 |
|
static |
§ image_
§ images_
std::vector<WImage *> ImagesWidget::images_ |
|
private |
The documentation for this class was generated from the following files: