Add drawing buttons

This commit is contained in:
abdelrahman committed 2024-01-15 22:36:46 +00:00
1 parent f7449d8014
commit 6d7de03ae8
2 files changed
+26

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#ifndef BUTTON_H
#define BUTTON_H
#include "window.h"
#define BUTTON_WIDTH 100
#define BUTTON_HEIGHT 40
typedef struct button button_t;
struct button {
rect_t rect;
};
void draw_button(const window_t *wnd, const button_t *button);
#endif // !BUTTON_H