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

Upload New File

parent 890b7252
No related branches found
No related tags found
No related merge requests found
app.hpp 0 → 100644
#ifndef APP_HPP
#define APP_HPP
#include <vector>
#include "graphics.hpp"
#include "widget.hpp"
class Alkalmazas {
public:
Alkalmazas(int szelesseg, int magassag);
virtual ~Alkalmazas();
void esemenyhurok();
void widgetRegisztral(Widget* w);
virtual void akcio(std::string azonosito) = 0;
// Új függvény a leszármazottak számára
virtual void rajzolFeliratokat() {} // Alapértelmezett üres implementáció
protected: // Változtasd 'protected'-ra, hogy a leszármazottak hozzáférjenek
std::vector<Widget*> widgetek;
int szelesseg;
int magassag;
genv::canvas buffer; // Fontos: a buffer legyen protected
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment