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

« back to all changes in this revision

Viewing changes to test/fonts.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: fonts.cxx,v 1.5.2.3.2.4 2004/04/11 04:39:01 easysw Exp $"
 
2
// "$Id: fonts.cxx,v 1.5.2.3.2.5 2004/09/09 00:55:41 matthiaswm Exp $"
3
3
//
4
4
// Font demo program for the Fast Light Tool Kit (FLTK).
5
5
//
133
133
int main(int argc, char **argv) {
134
134
  Fl::scheme(NULL);
135
135
  create_the_forms();
 
136
#ifdef __APPLE__
 
137
  int i = 0;
 
138
#else
136
139
  int i = fl_choice("Which fonts:","-*","iso8859","All");
 
140
#endif
137
141
  int k = Fl::set_fonts(i ? (i>1 ? "*" : 0) : "-*");
138
142
  for (i = 0; i < k; i++) {
139
143
    int t; const char *name = Fl::get_font_name((Fl_Font)i,&t);
165
169
}
166
170
 
167
171
//
168
 
// End of "$Id: fonts.cxx,v 1.5.2.3.2.4 2004/04/11 04:39:01 easysw Exp $".
 
172
// End of "$Id: fonts.cxx,v 1.5.2.3.2.5 2004/09/09 00:55:41 matthiaswm Exp $".
169
173
//