Skip to content
Snippets Groups Projects
Select Git revision
  • 38ef7e3bab370f4dc7c1c86e43b3f847fdfc70f4
  • main default protected
2 results

spinbox.hpp

Blame
  • spinbox.hpp 438 B
    #ifndef SPINBOX_HPP
    #define SPINBOX_HPP
    #include "graphics.hpp"
    #include "widget.hpp"
    
    class SpinBox : public Widget
    {
    protected:
        int _min, _max, _num;
        bool _isselected;
    
    public:
        SpinBox(Application* ,int, int, int,int, int);
    
        void draw() override;
        void handle(genv::event) override;
        bool isover(int mouse_x,int mouse_y) override;
        std::string getter() override;
        void draw2();
    
    
    
    
    };
    
    #endif // SPINBOX_HPP