#include <WordWidget.h>
Definition at line 13 of file WordWidget.h.
§ WordWidget()
WordWidget::WordWidget |
( |
Wt::WContainerWidget * |
parent = 0 | ) |
|
Definition at line 13 of file WordWidget.C.
14 WContainerWidget(parent)
16 addStyleClass(
"wordcontainer");
§ guess()
bool WordWidget::guess |
( |
wchar_t |
c | ) |
|
Definition at line 32 of file WordWidget.C.
36 for(
unsigned int i = 0; i <
word_.size(); ++i) {
§ init()
void WordWidget::init |
( |
const std::wstring & |
word | ) |
|
Definition at line 19 of file WordWidget.C.
26 for(
unsigned int i = 0; i <
word_.size(); ++i) {
27 WText *c =
new WText(
"-",
this);
§ won()
§ word()
std::wstring WordWidget::word |
( |
| ) |
const |
|
inline |
§ displayedLetters_
unsigned WordWidget::displayedLetters_ |
|
private |
§ word_
std::wstring WordWidget::word_ |
|
private |
§ wordLetters_
std::vector<Wt::WText *> WordWidget::wordLetters_ |
|
private |
The documentation for this class was generated from the following files:
- /build/witty-8LS0oe/witty-3.3.6+dfsg/examples/hangman/WordWidget.h
- /build/witty-8LS0oe/witty-3.3.6+dfsg/examples/hangman/WordWidget.C