ui/wpf/menu.h

Tue, 27 Jan 2015 09:59:32 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 27 Jan 2015 09:59:32 +0100
changeset 82
0cdb8089a29f
parent 81
5eb765a7a793
child 89
9a7e4a335b2b
permissions
-rw-r--r--

added event handler for menus (WPF)

/* 
 * File:   menu.h
 * Author: Olaf
 *
 * Created on 25. Januar 2015, 13:37
 */

#ifndef MENU_H
#define	MENU_H

#include "../ui/menu.h"
#include "toolkit.h"

#ifdef	__cplusplus
extern "C" {
#endif

UI_IMPORT void __stdcall UImenu(char *label);
UI_IMPORT void __stdcall UIsubmenu(char *label);
UI_IMPORT void __stdcall UIsubmenu_end();
UI_IMPORT void __stdcall UImenuitem(char *label, ui_callback f, void *udata);



void ui_menu_callback(UiObject *obj, UiEventData *e);

#ifdef	__cplusplus
}
#endif

#endif	/* MENU_H */

mercurial