00001 00002 #ifndef LIQDIALOGS_H 00003 #define LIQDIALOGS_H 1 00004 00005 #include "liqcell.h" 00006 #include "liqcell_prop.h" 00007 #include "liqcell_easyrun.h" 00008 00009 00010 // small module describing the dialog boxes available in the system 00011 00012 // MOST ARE NOT DONE YET AND REQUIRE COMPLETION, TIME GOT AWAY FROM ME 00013 00014 00021 //int liqdialog_showmessage(char *key,char *title,char *description,char *bodytext,char *buttonscommadelim); // returns index of the button clicked 00022 00023 00024 // int res = liqdialog_showmessage("hello","this is a dialogbox","put the main body for the dialog here","ok,cancel"); 00025 00026 00027 00028 00029 00036 int liqdialog_showtree(char *key,char *title,char *description,liqcell *data); 00037 00038 00039 // int res = liqdialog_showtree("hello","this is a dialogbox","put the main body for the dialog here",universe); 00040 00041 00042 00043 00050 //int liqdialog_askquestion(char *key,char *title,char *description,char *result,int resultlen); // returns 1 if accepted, 0 if cancelled 00051 00052 00053 00054 00055 00062 //int liqdialog_askcolor(char *key,char *title,char *result,int resultlen); // returns 1 if accepted, 0 if cancelled 00063 00064 00065 00066 #endif