AccountSuchen.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #ifndef AccountSuchen_H
  2. #define AccountSuchen_H
  3. #include <Knopf.h>
  4. #include <Tabelle.h>
  5. #include <AuswahlBox.h>
  6. #include <Animation.h>
  7. #include <Thread.h>
  8. using namespace Framework;
  9. class AccountSuchen : public Thread
  10. {
  11. private:
  12. Schrift *schrift;
  13. Punkt pos;
  14. Punkt gr;
  15. Animation2D *laden;
  16. TextFeld *accountName;
  17. Knopf *suchen;
  18. AuswahlBox *sortSpalte;
  19. AuswahlBox *sortRichtung;
  20. Knopf *zurück;
  21. TextFeld *seite;
  22. Knopf *vor;
  23. ObjTabelle *liste;
  24. Critical cs;
  25. int auswahl;
  26. double tickVal;
  27. bool sichtbar;
  28. int jetztSeite;
  29. int maxSeite;
  30. unsigned char alpha;
  31. bool rend;
  32. // privat
  33. void lock();
  34. void unlock();
  35. void tabelleLehren( bool überschrift );
  36. public:
  37. // Konstruktor
  38. AccountSuchen( Schrift *schrift );
  39. // Destruktor
  40. ~AccountSuchen();
  41. // nicht constant
  42. void setSichtbar( bool sichtbar );
  43. void thread();
  44. bool detailsKlick( Knopf *zKnopf, MausEreignis &me );
  45. void doMausEreignis( MausEreignis &me );
  46. void doTastaturEreignis( TastaturEreignis &te );
  47. bool tick( double tickVal );
  48. void render( Bild &zRObj );
  49. int getAuswahlAccountId();
  50. };
  51. // Nachrichten
  52. bool accountSuchenDetailsKlick( void *p, void *obj, MausEreignis me );
  53. #endif