2021-05-07 07:43:57 +00:00
|
|
|
#ifndef EDIT_BOX_H
|
|
|
|
#define EDIT_BOX_H
|
|
|
|
|
2021-05-02 12:14:11 +00:00
|
|
|
#include "../sdlpp/sdlpp.hpp"
|
|
|
|
|
|
|
|
class EditBox : public SDLPP::RectangleRender {
|
|
|
|
public:
|
|
|
|
EditBox(int x, int y, std::shared_ptr<SDLPP::Renderer> renderer);
|
2021-05-07 07:43:57 +00:00
|
|
|
virtual SDLPP::Vec2D<int> getIndexes() const;
|
|
|
|
virtual void visit( SDLPP::Visitor &visitor ) override;
|
2021-05-02 12:14:11 +00:00
|
|
|
private:
|
|
|
|
int _x;
|
|
|
|
int _y;
|
|
|
|
};
|
2021-05-07 07:43:57 +00:00
|
|
|
#endif
|