ui/wpf/UIwrapper/UIwrapper/graphics.h

Sun, 21 Jan 2024 16:30:18 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 21 Jan 2024 16:30:18 +0100
changeset 0
2483f517c562
permissions
-rw-r--r--

add existing toolkit code

#pragma once

#include "toolkit.h"

typedef void(*UIdrawfunc)(void *gc, void *event, int width, int height);

public ref class DrawEventWrapper {
public:
	UIdrawfunc callback = NULL;
	void *eventdata = NULL;
	void *gc;
	Action<int,int> ^action;

	DrawEventWrapper(void *gc, UIdrawfunc callback, void *eventdata);

	void Callback(int width, int height);
};

mercurial