OptionsWindow.h 473 B

12345678910111213141516171819
  1. #pragma once
  2. #include <Fenster.h>
  3. #include <Knopf.h>
  4. class OptionsWindow : public Framework::Fenster
  5. {
  6. private:
  7. std::function<void()> onOptionsOpen;
  8. Framework::Knopf* optionsButton;
  9. public:
  10. OptionsWindow(std::function<void()> onOptionsOpen);
  11. ~OptionsWindow();
  12. virtual void doMausEreignis(Framework::MausEreignis& me, bool userRet) override;
  13. virtual bool tick(double time) override;
  14. virtual void render(Framework::Bild& rObj) override;
  15. };