~ubuntu-branches/ubuntu/karmic/fltk1.1/karmic

« back to all changes in this revision

Viewing changes to src/Fl_Choice.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-05-22 13:57:06 UTC
  • mfrom: (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050522135706-mchag24yf42lu7bu
Tags: 1.1.6-5
* Revert previous change, which seems to have been ineffective for some
  reason, in favor of commenting out the problematic Makefile rule
  altogether.  (Closes: #310151.)
* debian/control: Go back to specifying the URL as part of the
  description rather than via a non-standard field that doesn't seem to
  have caught on.  (Closes: #310240.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//
2
 
// "$Id: Fl_Choice.cxx,v 1.10.2.5.2.16 2004/04/11 04:38:57 easysw Exp $"
 
2
// "$Id: Fl_Choice.cxx,v 1.10.2.5.2.17 2004/04/29 02:47:09 easysw Exp $"
3
3
//
4
4
// Choice widget for the Fast Light Tool Kit (FLTK).
5
5
//
106
106
  color(FL_BACKGROUND2_COLOR);
107
107
}
108
108
 
 
109
int Fl_Choice::value(const Fl_Menu_Item *v) {
 
110
  if (!v) return 0;
 
111
  if (!Fl_Menu_::value(v)) return 0;
 
112
  redraw();
 
113
  return 1;
 
114
}
 
115
 
109
116
int Fl_Choice::value(int v) {
110
117
  if (v < 0 || v >= (size() - 1)) return 0;
111
118
  if (!Fl_Menu_::value(v)) return 0;
152
159
}
153
160
 
154
161
//
155
 
// End of "$Id: Fl_Choice.cxx,v 1.10.2.5.2.16 2004/04/11 04:38:57 easysw Exp $".
 
162
// End of "$Id: Fl_Choice.cxx,v 1.10.2.5.2.17 2004/04/29 02:47:09 easysw Exp $".
156
163
//