*
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user