Basic fenster rewrite of the original sfml version, but need to bring back the keyboard controls.

This commit is contained in:
Zed A. Shaw 2025-01-08 12:31:04 -05:00
parent 80ac4cefba
commit 972b432d51
3 changed files with 206 additions and 18 deletions

View file

@ -334,10 +334,10 @@ FENSTER_API int64_t fenster_time(void) {
#ifdef __cplusplus
class Fenster {
public:
struct fenster f;
int64_t now;
public:
Fenster(const int w, const int h, const char *title)
: f{.title = title, .width = w, .height = h} {
this->f.buf = new uint32_t[w * h];