libui/winarea_d2d/area.h

22 lines
591 B
C

// 8 september 2015
#include "../windows/winapi.h"
#include <d2d1.h>
#include <stdint.h>
#include "ui.h"
#include "uipriv.h"
#include "uipriv_windows.h"
extern HINSTANCE hInstance;
extern ATOM registerAreaClass(void);
extern void unregisterAreaClass(void);
extern HWND makeArea(DWORD exstyle, DWORD style, int x, int y, int cx, int cy, HWND parent, uiAreaHandler *ah);
extern HRESULT logLastError(const char *);
extern HRESULT logHRESULT(const char *, HRESULT);
extern HRESULT logMemoryExhausted(const char *);
extern uiDrawContext *newContext(HDC);
extern void areaUpdateScroll(HWND);