-
Notifications
You must be signed in to change notification settings - Fork 0
/
iups_HugoMachado.h
34 lines (21 loc) · 1.07 KB
/
iups_HugoMachado.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include <iup/iup.h> /* IUP functions*/
#include <iup/iupgl.h> /* IUP functions related to OpenGL (IupGLCanvasOpen,IupGLMakeCurrent and IupGLSwapBuffers) */
#ifdef WIN32
#include <windows.h> /* includes only in MSWindows not in UNIX */
#endif
/* IupSimple open */
void IupSOpen(int* argc, char** argv[]);
/* File selection dialog */
char* IupSelectFile( char* dialog_title, char* file_extension, char* dialog_tip );
/* Create a IUP GL canvas */
Ihandle* IupSGLCanvas(int width, int height, Icallback repaint_cb, Icallback resize_cb);
/* Canvas resize */
void IupCanvasResize( Ihandle* canvas, Ihandle* parent_dialog, int new_width, int new_height );
/* Simple button */
Ihandle* IupSButton(char* image_file, char* tip, Icallback callback);
/* Message bar */
Ihandle* IupSMessageBar(char* initial_message, int height );
/* Simple dialog */
Ihandle* IupSDialog(char* title, Ihandle* content, Icallback exit_cb, char* resize);
// The following functions were added by Hugo
char* IupSelectFileSave( char* title, char* ext, char* tip );