
* working on windows * minor fix * working on macosx * Oops! I reversed resolution and frequency on macos * working on X11 * working on wayland * update the readme * format the readme Co-authored-by: Carlos Aragones <>
17 lines
343 B
C
17 lines
343 B
C
#pragma once
|
|
|
|
#include <MiniFB_enums.h>
|
|
#include <stdint.h>
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#include <windows.h>
|
|
|
|
|
|
typedef struct {
|
|
HWND window;
|
|
WNDCLASS wc;
|
|
HDC hdc;
|
|
BITMAPINFO *bitmapInfo;
|
|
struct mfb_timer *timer;
|
|
bool mouse_inside;
|
|
} SWindowData_Win;
|