Skip to content
Snippets Groups Projects
Commit 8b398508 authored by Barna Réka Emese's avatar Barna Réka Emese
Browse files

Upload New File

parent e9eff38c
Branches main
No related tags found
No related merge requests found
#ifndef WIDGET_HPP
#define WIDGET_HPP
#include "graphics.hpp"
class Alkalmazas;
class Widget {
protected:
int _x, _y;
int _meret_x, _meret_y;
Alkalmazas* _szulo;
bool _valtozott = true;
public:
Widget(Alkalmazas* szulo, int x, int y, int meret_x, int meret_y);
virtual ~Widget() = default;
virtual bool kivalasztva(int eger_x, int eger_y);
virtual void rajzol() = 0;
virtual void kezel(genv::event ev) = 0;
virtual void rajzolBuffer(genv::canvas& cel);
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment