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

textwidget.h

Blame
  • textwidget.h 387 B
    #ifndef TEXTWIDGET_H
    #define TEXTWIDGET_H
    #include "widget.h"
    
    class Palya;
    
    class TextWidget : public Widget{
    protected:
        std::string content;
        int kezdo_hossz;
        int kezdo_mag;
    public:
        TextWidget(Palya* _p, int _x, int _y, int _w, int _h, std::string _content);
        ~TextWidget();
        void set_text(std::string vmi);
        void draw() override;
    };
    
    #endif