/***************************************************************************** * @(#) Ndless - * *****************************************************************************/ #include #include "utils.h" asm(".string \"PRG\"\n"); int main(void) { FILE *outf; int size, inu, ans; ans = show3BtnDialogBox( "3 button Dialog demo", "-----------------------------------\n" "Press one of three buttons below\n" "-----------------------------------" ); if (ans == 0x13f1){ showSimpleDialogBox( "--- 3 button Dialog demo ----", "-----------------------------------\n" "You answer was Yes\n" "-----------------------------------" ); } if (ans == 0x13f2){ showSimpleDialogBox( "--- 3 button Dialog demo ----", "-----------------------------------\n" "You answer was No\n" "-----------------------------------" ); } if (ans == 0x13f0){ showSimpleDialogBox( "--- 3 button Dialog demo ----", "-----------------------------------\n" "You answer was Cancel\n" "-----------------------------------" ); } return 0; }