Dialog.h 587 B

12345678910111213141516171819202122232425
  1. #pragma once
  2. #include "ReferenceCounter.h"
  3. #include "Thread.h"
  4. namespace Framework
  5. {
  6. class Text;
  7. class Font;
  8. class MultiplChoiceDialog : public virtual ReferenceCounter
  9. {
  10. private:
  11. RCArray<Text>* entrys;
  12. Array<void*>* ids;
  13. public:
  14. DLLEXPORT MultiplChoiceDialog();
  15. DLLEXPORT ~MultiplChoiceDialog();
  16. //! Adds a selection option
  17. DLLEXPORT void addChoice(const char* text, void* id);
  18. //! Shows the dialog and waits for user input
  19. DLLEXPORT void* anzeigen(Font* zFont);
  20. };
  21. } // namespace Framework