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
00001 #ifndef hangman_h 00002 #define hangman_h 00003 00004 #include "bsp.h" 00005 00006 enum HangmanSignals { 00007 START_SIG = 1, 00008 PLAY_SIG, 00009 SELECT_SIG, 00010 FINISHED_SIG, 00011 TERMINATE_SIG, 00012 MAX_PUB_SIG, 00013 00014 BUTTON_SIG, 00015 SCROLL_SIG, 00016 MAX_SIG 00017 }; 00018 00019 struct HostEvt : public QEvent { 00020 int scroll_pos; // +1 - up, 0 - nochange, -1 - down 00021 }; 00022 00023 enum { MAX_LETTERS = 8 }; // max wrong letters before loosing 00024 00025 extern QActive * const AO_Player; // active object "opaque" pointers 00026 extern QActive * const AO_Host; 00027 00028 #endif
Generated on Wed Jul 13 2022 20:02:05 by
1.7.2