Added comments

This commit is contained in:
Ole Loots 2013-11-24 22:02:40 +01:00
parent 24e5b2ec16
commit d3c8185eca
2 changed files with 9 additions and 0 deletions

View File

@ -123,6 +123,7 @@ void context_popup(struct gui_window * gw, short x, short y)
const char * data;
FILE * fp_tmpfile;
char cmdline[128];
/* skip first byte, which must hold length of commandline: */
char * tempfile = &cmdline[1];
int err = 0;
char * editor, *lastslash;

View File

@ -26,6 +26,14 @@
# define min(x,y) ((x<y) ? x : y )
#endif
/***
* Display an message box
*
* \param type Valid values: GEMTK_MSG_BOX_CONFIRM, GEMTK_MSG_BOX_ALERT
* \param msg The message / query to display
* \return 0 on "No"
*
*/
short gemtk_msg_box_show(short type, const char * msg)
{
#define GEMTK_MSG_BOX_STR_SIZE 256