/[xforms]/xforms/demos/demo06.c
ViewVC logotype

Diff of /xforms/demos/demo06.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by leeming, Thu Apr 24 09:35:33 2003 UTC revision 1.4 by leeming, Tue Sep 9 00:28:25 2003 UTC
# Line 21  Line 21 
21    
22    
23  /* A demo of the forms library using light buttons for  /* A demo of the forms library using light buttons for
24     radio buttons and input fields.     radio buttons and input fields.
25  */  */
26    
27  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
# Line 30  Line 30 
30  #include <stdlib.h>  #include <stdlib.h>
31  #include "include/forms.h"  #include "include/forms.h"
32    
33      
34  FL_FORM *form;  FL_FORM *form;
35  FL_OBJECT *but;  FL_OBJECT *but;
36    
# Line 82  main(int argc, char *argv[]) Line 82  main(int argc, char *argv[])
82    while (1)    while (1)
83    {    {
84         do obj = fl_do_forms(); while (obj != but);         do obj = fl_do_forms(); while (obj != but);
85         if (fl_show_question("Do you really want to Quit?",0))         if (fl_show_question("Do you really want to Quit?",0))
86         {         {
87            fl_finish();            fl_finish();
88            exit(0);            exit(0);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26