00001 /* 00002 * $Id: rui.h,v 1.1 2004/06/22 05:29:59 joaoluiz Exp $ 00003 * (C) COPYRIGHT 2004, Joao Luiz Elias Campos. 00004 * All Rights Reserved 00005 * Duplication of this program or any part thereof without the express 00006 * written consent of the author is prohibited 00007 */ 00008 00015 #ifndef __rui_h 00016 #define __rui_h 00017 00018 typedef struct UI_State UI_State; 00019 00020 typedef int (*UICallback)(int, ...); 00021 00022 /* Public functions: 00023 */ 00024 UI_State *UIStart(int, char *[]); 00025 void UIFinish(UI_State *); 00026 int UISetCallback(UI_State *, int, UICallback); 00027 void UIDraw(UI_State *); 00028 void UISetDisplacement(UI_State *, int, double *); 00029 00030 #define UI_DISPLAYCEMENT 0 00031 #define UI_NODE_COORD 1 00032 00033 #endif 00034 00035