#ifndef WINDOW_H #define WINDOW_H #include "Common.h" #include #include // TODO: This is just a temporary solution. We may move to C# Windows SDK for easier GUI handling in the future. static HWND hwnd; static HDC hdc_mem; static HBITMAP bitmap; static BITMAPINFO bitmap_info; static int window_width; static int window_height; static unsigned char* pixel_buffer; int window_create(const char* title, HINSTANCE hInst, int width, int height); void window_update_pixels(vec4s color, int pixel_x, int pixel_y); void window_refresh_region(int pixel_x, int pixel_y, int region_width, int region_height); #endif // WINDOW_H