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

« back to all changes in this revision

Viewing changes to src/Fl_Menu.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2010-01-06 22:05:04 UTC
  • mfrom: (5.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100106220504-nwj8m1sa90s760yt
Tags: 1.1.10-2
* src/Makefile: link libfltk.so.1.1 against -lpthread, as fluid now
  otherwise fails to link on the Hurd (with complaints that libfltk.so.1
  contains undefined references to pthread_mutexattr_*).
* debian/source.lintian-overrides: retire per Lintian 2.3.1.  (See #553264.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//
2
 
// "$Id: Fl_Menu.cxx 6043 2008-02-25 13:09:30Z matt $"
 
2
// "$Id: Fl_Menu.cxx 6478 2008-10-19 21:28:06Z matt $"
3
3
//
4
4
// Menu code for the Fast Light Tool Kit (FLTK).
5
5
//
327
327
  if (Wp > W) W = Wp;
328
328
  if (Wtitle > W) W = Wtitle;
329
329
 
330
 
  if (X < scr_x) X = scr_x; if (X > scr_x+scr_w-W) X= scr_x+scr_w-W;
 
330
  if (X < scr_x) X = scr_x; if (X > scr_x+scr_w-W) X = right_edge-W; // X= scr_x+scr_w-W;
331
331
  x(X); w(W);
332
332
  h((numitems ? itemheight*numitems-LEADING : 0)+2*BW+3);
333
333
  if (selected >= 0)
945
945
}
946
946
 
947
947
//
948
 
// End of "$Id: Fl_Menu.cxx 6043 2008-02-25 13:09:30Z matt $".
 
948
// End of "$Id: Fl_Menu.cxx 6478 2008-10-19 21:28:06Z matt $".
949
949
//