[Plib-devel] [PATCH] fixes/changes to puAuxList, puListBox, puSlider
Brought to you by:
sjbaker
From: Melchior F. <mf...@us...> - 2006-10-14 08:08:35
|
I'll now try to get my stuff in. :-) It's basically the same patches that I sent shortly before the CVS->SVN discussion, but freshly diffed against plib/SVN, and now accumulated in one patch. Sorry for that, but separating the changes again is now a bit hard, after that long inactivity. I'll refer to the original patches/messages where possible, though. All changes are in my plib copy since a *long* time, as well as in FlightGear's "forked" files (which I would like to abandon once plib is fixed). Remember that puaList was originally a contribution by the FlightGear project. --------------------------------------------------------------------------------- (1) puaList has methods getTopItem() and setTopItem() declared, but not defined. The patch forwards the method calls to the subwidget that is responsible for this feature. http://sourceforge.net/mailarchive/forum.php?thread_id=10437020&forum_id=4479 --------------------------------------------------------------------------------- (2) puaList's initial value isn't respected http://sourceforge.net/mailarchive/forum.php?thread_id=10437021&forum_id=4479 --------------------------------------------------------------------------------- (3) don't allow puListBox to scroll off; automatically remove the slider if all entries fit in the box (enjoy the ASCII graphics in the original message :-) http://sourceforge.net/mailarchive/forum.php?thread_id=10437023&forum_id=4479 --------------------------------------------------------------------------------- (4) puSlider: don't allow the slider handle to become smaller than 10 pixels (a 1 pixel wide slider is hard to grab). m. |