/[xforms]/xforms/lib/input.c
ViewVC logotype

Diff of /xforms/lib/input.c

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

revision 1.5 by leeming, Thu Apr 24 09:35:34 2003 UTC revision 1.6 by leeming, Tue Sep 9 00:28:25 2003 UTC
# Line 309  draw_input(FL_OBJECT * ob) Line 309  draw_input(FL_OBJECT * ob)
309                                 col, textcol, curscol,                                 col, textcol, curscol,
310                                 ob->lstyle, ob->lsize,   /* Size and style */                                 ob->lstyle, ob->lsize,   /* Size and style */
311                                 /* Cursor position */                                 /* Cursor position */
312                                 sp->no_cursor ? -1 : sp->position,                                       sp->no_cursor ? -1 : sp->position,
313                                 sp->beginrange,  /* selection begin */                                 sp->beginrange,  /* selection begin */
314                                 sp->endrange,    /* Selection range */                                 sp->endrange,    /* Selection range */
315                                 sp->str,                                 sp->str,
# Line 1357  fl_create_input(int type, FL_Coord x, FL Line 1357  fl_create_input(int type, FL_Coord x, FL
1357      sp->input = ob;      sp->input = ob;
1358      sp->field_char = ' ';      sp->field_char = ' ';
1359    
1360      /* can't remember why validated input return is set to RETURN_END      /* can't remember why validated input return is set to RETURN_END
1361         but probably with some reason. Wait until 1.0 to reset it         but probably with some reason. Wait until 1.0 to reset it
1362       */       */
1363      if (ob->type == FL_FLOAT_INPUT || ob->type == FL_INT_INPUT)      if (ob->type == FL_FLOAT_INPUT || ob->type == FL_INT_INPUT)
# Line 2238  make_cursor_visible(FL_OBJECT * ob, SPEC Line 2238  make_cursor_visible(FL_OBJECT * ob, SPEC
2238      }      }
2239  }  }
2240    
2241  int  int
2242  fl_input_changed(FL_OBJECT *obj)  fl_input_changed(FL_OBJECT *obj)
2243  {  {
2244      return (obj && (obj->objclass == FL_INPUT)) ?      return (obj && (obj->objclass == FL_INPUT)) ?
2245             ((SPEC*)(obj->spec))->changed:0;             ((SPEC*)(obj->spec))->changed:0;
2246  }  }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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