Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
hangman.h
- Committer:
- tylerjw
- Date:
- 2012-02-09
- Revision:
- 1:4efaebc256d3
- Parent:
- 0:1521c946a57b
File content as of revision 1:4efaebc256d3:
#ifndef hangman_h
#define hangman_h
#include "bsp.h"
enum HangmanSignals {
START_SIG = 1,
PLAY_SIG,
SELECT_SIG,
FINISHED_SIG,
TERMINATE_SIG,
MAX_PUB_SIG,
BUTTON_SIG,
SCROLL_SIG,
MAX_SIG
};
struct HostEvt : public QEvent {
int scroll_pos; // +1 - up, 0 - nochange, -1 - down
};
enum { MAX_LETTERS = 8 }; // max wrong letters before loosing
extern QActive * const AO_Player; // active object "opaque" pointers
extern QActive * const AO_Host;
#endif