2015-09-16 22:15:42 -05:00
|
|
|
// 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 *);
|
|
|
|
|
2015-09-17 12:10:38 -05:00
|
|
|
extern uiDrawContext *newContext(ID2D1RenderTarget *);
|
2015-09-16 22:15:42 -05:00
|
|
|
|
|
|
|
extern void areaUpdateScroll(HWND);
|