Basic fenster rewrite of the original sfml version, but need to bring back the keyboard controls.
This commit is contained in:
parent
80ac4cefba
commit
972b432d51
3 changed files with 206 additions and 18 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue