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

Diff of /xforms/demos/fonts.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  /*  /*
24   * Demo, showing the different fonts in different sizes.   * Demo, showing the different fonts in different sizes.
25   * M. Overmars and T.C. Zhao   * M. Overmars and T.C. Zhao
26   */   */
27    
28  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
# Line 46  extern FD_fontsform * create_form_fontsf Line 46  extern FD_fontsform * create_form_fontsf
46  FD_fontsform *ui;  FD_fontsform *ui;
47    
48  void done_cb(FL_OBJECT *obj, long arg)  void done_cb(FL_OBJECT *obj, long arg)
49  {  {
50      fl_finish();      fl_finish();
51      exit(0);      exit(0);
52  }  }
# Line 73  void size_cb(FL_OBJECT *obj, long arg) Line 73  void size_cb(FL_OBJECT *obj, long arg)
73  }  }
74    
75  void addit(const char *str)  void addit(const char *str)
76  {  {
77      fl_add_browser_line(ui->fontobj,str);      fl_add_browser_line(ui->fontobj,str);
78  }  }
79    
80  int  int

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