ui/wpf/UIwrapper/UIwrapper/graphics.h

Thu, 16 Nov 2017 12:04:10 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 16 Nov 2017 12:04:10 +0100
changeset 146
dd0ae1c62a72
parent 137
c9b8b9e0cfe8
permissions
-rw-r--r--

new icon/image api and pixbuf support in treeview (GTK)

#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