AccountSuchen.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. Punkt pos;
  13. Punkt gr;
  14. Animation2D *laden;
  15. TextFeld *accountName;
  16. Knopf *suchen;
  17. AuswahlBox *sortSpalte;
  18. AuswahlBox *sortRichtung;
  19. Knopf *zurück;
  20. TextFeld *seite;
  21. Knopf *vor;
  22. ObjTabelle *liste;
  23. Critical cs;
  24. int auswahl;
  25. double tickVal;
  26. bool sichtbar;
  27. int jetztSeite;
  28. int maxSeite;
  29. unsigned char alpha;
  30. bool rend;
  31. // privat
  32. void lock();
  33. void unlock();
  34. void tabelleLehren( bool überschrift );
  35. public:
  36. // Konstruktor
  37. AccountSuchen();
  38. // Destruktor
  39. ~AccountSuchen();
  40. // nicht constant
  41. void setSichtbar( bool sichtbar );
  42. void thread();
  43. bool detailsKlick( Knopf *zKnopf, MausEreignis &me );
  44. void doPublicMausEreignis( MausEreignis &me );
  45. void doTastaturEreignis( TastaturEreignis &te );
  46. bool tick( double tickVal );
  47. void render( Bild &zRObj );
  48. int getAuswahlAccountId();
  49. };
  50. // Nachrichten
  51. bool accountSuchenDetailsKlick( void *p, void *obj, MausEreignis me );
  52. #endif