ui/wpf/menu.h

Tue, 11 Jun 2024 21:47:43 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 11 Jun 2024 21:47:43 +0200
changeset 39
ef4e2f560fa5
parent 0
2483f517c562
permissions
-rw-r--r--

fix gtk executing ui_job_finished even if no finish callback was set

/* 
 * 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, UIcallback f, void *udata);



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

#ifdef	__cplusplus
}
#endif

#endif	/* MENU_H */

mercurial