initial commit

This commit is contained in:
jettis
2024-12-05 20:49:37 +02:00
commit 688def7e01
235 changed files with 3334 additions and 0 deletions

27
NewDialogs/Frame.h Normal file
View File

@@ -0,0 +1,27 @@
#ifndef FRAME
#define FRAME
#include <vector>
using namespace std;
#include <SDL3/SDL.h>
#include "Item.h"
class Frame : public Item {
protected:
vector<Item *> items;
public:
Frame(SDL_Rect pos);
~Frame();
SDL_Surface *getSurface();
void draw();
void addItem(Item *item);
Item *getItem(int i);
bool onMousePress(int x, int y);
void onMouseRelease(int x, int y);
void onMouseMove(int x, int y);
};
#endif