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

Diff of /xforms/demos/counter.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 20  Line 20 
20   */   */
21    
22    
23  /*  /*
24   * This is an example of the use of counters.   * This is an example of the use of counters.
25   *   *
26   *  This file is part of xforms package   *  This file is part of xforms package
27   *  T.C. Zhao and M. Overmars   *  T.C. Zhao and M. Overmars
28   */   */
29    
30  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
# Line 74  int Line 74  int
74  main(int argc, char *argv[])  main(int argc, char *argv[])
75  {  {
76     int i;     int i;
77    
78     fl_initialize(&argc, argv, "FormDemo", 0, 0);     fl_initialize(&argc, argv, "FormDemo", 0, 0);
79     create_form_form();     create_form_form();
80     fl_set_object_color(result,FL_FREE_COL1,FL_FREE_COL1);     fl_set_object_color(result,FL_FREE_COL1,FL_FREE_COL1);
81      
82     for (i=0; i<3; i++)     for (i=0; i<3; i++)
83     {     {
84        fl_set_counter_bounds(co[i],0.0,255.0);        fl_set_counter_bounds(co[i],0.0,255.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