ui/wpf/UIwrapper/UIwrapper/graphics.h

Tue, 03 Oct 2023 14:18:25 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 03 Oct 2023 14:18:25 +0200
branch
newapi
changeset 199
84e0a24bab4a
parent 137
c9b8b9e0cfe8
permissions
-rw-r--r--

add main tabview based on WinUI TabView

#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