Slider.h 677 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include "Zeichnung.h"
  3. namespace Framework
  4. {
  5. class Slider : public ZeichnungHintergrund
  6. {
  7. private:
  8. float value;
  9. public:
  10. DLLEXPORT Slider();
  11. DLLEXPORT ~Slider();
  12. DLLEXPORT void setValue(float value);
  13. DLLEXPORT float getValue() const;
  14. //! Processes a mouse event. Called automatically by the framework.
  15. //! \param me The event
  16. DLLEXPORT void doMausEreignis(MausEreignis& me, bool userRet) override;
  17. //! Draws the drawing into a specific image
  18. //! \param zRObj The image to draw into
  19. DLLEXPORT void render(Bild& zRObj) override;
  20. };
  21. } // namespace Framework