Commit Graph

7 Commits

Author SHA1 Message Date
Bill Spitzak
add808d7c2 Changes to Fl_Menu_::add() so that you should be able to add to any menu,
including one that was set with menu().  It copies the static menu if
necessary and keeps track of the size of the menu so it can reallocate
the array exactly when necessary.

This should make modifying the items in a menu much more predictable and
usefule.

I don't know if these changes will go cleanly into 2.0.  Probably not.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-19 07:01:24 +00:00
gustavo
4a9596d9da Broken link in docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-05 18:11:57 +00:00
Bill Spitzak
c15a36003d Fixed description of Fl_Menu_::size()
git-svn-id: file:///fltk/svn/fltk/trunk@347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-26 07:14:34 +00:00
Bill Spitzak
8009fef12c Put Fl::grab() into it's own source file. Rewritten as suggested so that
it takes a window pointer, and grab(0) releases.  You can now call grab
repeatedly with the same or different values without it failing.  The old
Fl::grab() and Fl::release() are emulated in inline functions in Fl.H

Added Fl_Menu_::copy(Fl_Menu_Item*), which will be useful for fluid, although
that use is nyi.

Fixes and cleanup to the code for Fl_Menu_::add(...).


git-svn-id: file:///fltk/svn/fltk/trunk@268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-03 08:43:35 +00:00
Michael R Sweet
46f509f7de More image updates, minor typos, etc.
git-svn-id: file:///fltk/svn/fltk/trunk@227 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-14 22:14:01 +00:00
Michael R Sweet
d7b88a3bcc Updated all links so they work between files.
Revision 1.


git-svn-id: file:///fltk/svn/fltk/trunk@219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-13 19:28:54 +00:00
Michael R Sweet
87dd7f0d23 Revised documentation files.
git-svn-id: file:///fltk/svn/fltk/trunk@177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-29 14:21:17 +00:00