12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- #ifndef TitelLeiste_H
- #define TitelLeiste_H
- #include <Klient.h>
- #include <Knopf.h>
- #include <Fenster.h>
- #include <Bild.h>
- #include <Thread.h>
- using namespace Framework;
- class TitelLeiste : private Thread
- {
- private:
- Knopf *close;
- Knopf *einstellungen;
- Knopf *logout;
- Knopf *accountAnsehen;
- Knopf *spielen;
- Knopf *miniGames;
- Knopf *news;
- Knopf *shop;
- Knopf *editor;
- Bild *closeBild;
- Bild *einstellungenBild;
- Bild *logoutBild;
- TextFeld *info;
- TextFeld *version;
- Fenster *fenster;
- Array< int > *next;
- Critical cs;
- BildZ *goldBild;
- BildZ *silberBild;
- BildZ *kupferBild;
- TextFeld *gold;
- TextFeld *silber;
- TextFeld *kupfer;
- int nextAnzahl;
- bool rend;
- int ref;
- public:
-
- TitelLeiste( Fenster *zNachLogin, Schrift *zSchrift );
-
- ~TitelLeiste();
-
- void setImSpiel( bool imSpiel );
- void setImVideo( bool imVideo );
- bool druckSchließen( MausEreignis &me );
- bool druckEinstellungen( MausEreignis &me );
- bool druckLogout( MausEreignis &me );
- bool druckAccountAnsehen( MausEreignis &me );
- bool druckSpielen( MausEreignis &me );
- bool druckMiniGames( MausEreignis &me );
- bool druckNews( MausEreignis &me );
- bool druckShop( MausEreignis &me );
- bool druckEditor( MausEreignis &me );
- void thread();
- bool tick();
-
- int getSpielenX() const;
-
- TitelLeiste *getThis();
- TitelLeiste *release();
- };
- bool titelLeisteSchließenME( void *p, void *obj, MausEreignis me );
- bool titelLeisteEinstellungenME( void *p, void *obj, MausEreignis me );
- bool titelLeisteLogoutME( void *p, void *obj, MausEreignis me );
- bool titelLeisteAccountAnsehenME( void *p, void *obj, MausEreignis me );
- bool titelLeisteSpielenME( void *p, void *obj, MausEreignis me );
- bool titelLeisteMiniGamesME( void *p, void *obj, MausEreignis me );
- bool titelLeisteNewsME( void *p, void *obj, MausEreignis me );
- bool titelLeisteShopME( void *p, void *obj, MausEreignis me );
- bool titelLeisteEditorME( void *p, void *obj, MausEreignis me );
- #endif
|