AccountSuchen.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 : private 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. int ref;
  33. // privat
  34. void lock();
  35. void unlock();
  36. void tabelleLehren( bool überschrift );
  37. public:
  38. // Konstruktor
  39. AccountSuchen( Schrift *schrift );
  40. // Destruktor
  41. ~AccountSuchen();
  42. // nicht constant
  43. void setSichtbar( bool sichtbar );
  44. void thread();
  45. bool detailsKlick( Knopf *zKnopf, MausEreignis &me );
  46. void doMausEreignis( MausEreignis &me );
  47. void doTastaturEreignis( TastaturEreignis &te );
  48. bool tick( double tickVal );
  49. void render( Bild &zRObj );
  50. int getAuswahlAccountId();
  51. // constant
  52. // Reference Counting
  53. AccountSuchen *getThis();
  54. AccountSuchen *release();
  55. };
  56. // Nachrichten
  57. bool accountSuchenDetailsKlick( void *p, void *obj, MausEreignis me );
  58. #endif