new MessageBox function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2347 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
/*
|
||||
GEOS dialog box functions
|
||||
|
||||
ported to small C on 26.12.1999
|
||||
by Maciej 'YTM/Alliance' Witkowiak
|
||||
10.03.2000 - update
|
||||
by Maciej 'YTM/Elysium' Witkowiak
|
||||
26.12.1999, 10.03.2000, 17.8.2003
|
||||
*/
|
||||
|
||||
#ifndef _GDLGBOX_H
|
||||
@@ -23,6 +22,17 @@ char __fastcall__ DlgBoxGetString(char *myString, char strLength,
|
||||
char __fastcall__ DlgBoxFileSelect(const char *classtxt, char ftype,
|
||||
char *fname);
|
||||
|
||||
/* This is a more general dialog box, works like printf in a window */
|
||||
char MessageBox(char mode, const char *format, ...);
|
||||
|
||||
/* mode argument for MessageBox() */
|
||||
enum {
|
||||
MB_EMPTY=0,
|
||||
MB_OK,
|
||||
MB_OKCANCEL,
|
||||
MB_YESNO,
|
||||
MB_LAST };
|
||||
|
||||
/* Now the command string type */
|
||||
|
||||
typedef void dlgBoxStr;
|
||||
|
||||
Reference in New Issue
Block a user