This commit is contained in:
2025-05-13 02:46:21 +03:00
parent 143e16692e
commit 86914b7fcc
610 changed files with 92343 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef WINDOW_PIXEL_MANAGER_H__
#define WINDOW_PIXEL_MANAGER_H__
#include "WindowWin.h"
#include <Windows.h>
namespace LifeCore {
class WindowPixelManager {
public:
WindowPixelManager(WindowWin* wnd, int bpp);
void SetPixels(int width, int height, void* pixels);
private:
WindowWin* window;
BITMAPINFOHEADER bitmapInfo;
BITMAPINFO info;
HWND hwnd;
HDC context;
};
}
#endif