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

Diff of /xforms/demos/crossbut.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   * Routines implementing the "crossbutton" class   * Routines implementing the "crossbutton" class
25   *   *
26   *  ob->col1 is the color of the box. ob->col2 is the color of cross   *  ob->col1 is the color of the box. ob->col2 is the color of cross
# Line 90  fl_create_crossbutton(int type, FL_Coord Line 90  fl_create_crossbutton(int type, FL_Coord
90                        FL_Coord h, const char *label)                        FL_Coord h, const char *label)
91  {  {
92       FL_OBJECT *ob;       FL_OBJECT *ob;
93       fl_add_button_class(FL_CROSSBUTTON, draw_crossbutton, 0);       fl_add_button_class(FL_CROSSBUTTON, draw_crossbutton, 0);
94       ob = fl_create_generic_button(FL_CROSSBUTTON, type, x, y,w, h, label);       ob = fl_create_generic_button(FL_CROSSBUTTON, type, x, y,w, h, label);
95       ob->boxtype = FL_NO_BOX;       ob->boxtype = FL_NO_BOX;
96       ob->col2 = FL_BLACK;   /* cross color */       ob->col2 = FL_BLACK;   /* cross color */

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