1
0
Fork 0
flightgear/src/GUI
david 7599f0ec8c Patch from Julian Foad:
When the scroll bar slider is dragged, the list scrolls only far
enough to see all items; only the arrow buttons can scroll it so far
that the last item goes to the top of the view.
     Fix scroll bar proportional size: was wrong when the list was only
a little longer than the visible area.
     Minor fixes such as "delete files[i];" -> "delete[] files[i];"
(where the item being deleted is an array of characters) and removal of
global variables.
     Smooth scrolling when dragging the slider: one item at a time,
rather than one tenth of the list at a time.
     Fix a bug that would have occurred if instantiated with arrows=2.
     Sort properties primarily by name and then by numerical index
order, rather than a simple ASCII string order.  E.g. "js[1]", "js[2]",
"js[10]" rather than "js[1]", "js[10]", "js[2]".
     Avoid crashing if the selected property path does not exist;
display an empty list instead.  This cannot happen when the property
picker is working properly, but did happen due to missing indices prior
to this patch, and could happen if the user is allowed to type a
pathname, as in the http and telnet interfaces.
     Fix truncation of strings to PUSTRING_MAX: was wrong when string
length was exactly 80.
     Fix: move the scroll bar to the top each time a new list is
displayed.  It was left at its previous position, while the top of the
new list was displayed, not corresponding to the slider.
     Use getDisplayName instead of duplicated code: gives a better
decision on whether to display the index, and avoids invalid property
paths being generated which would previously crash find_props().
     Replace unnecessary node lookups by name with direct access: tidier
and more efficient.  E.g. "getValueTypeString
(node->getNode(name.c_str()))" -> "getValueTypeString (child)".
2002-09-07 12:35:06 +00:00
..
.cvsignore -Removed .cvsignore from itself, since .cvsignore is now in the CVS 2001-12-12 04:15:23 +00:00
apt_dlg.cxx Jim Wilson: 2002-04-19 15:48:27 +00:00
apt_dlg.hxx Norman Vine has split up the GUI code into more managable/logical sections. 2001-01-08 20:55:16 +00:00
gui.cxx Erik Hofman: 2002-09-05 21:58:24 +00:00
gui.h Erik Hofman: 2002-08-25 22:53:38 +00:00
gui_funcs.cxx Removed unused cur_view_fdm variable as suggested by Bernie Bright. 2002-08-31 19:48:28 +00:00
gui_local.cxx Patches from Norm Vine to improve framerate and add a new 2002-04-07 15:24:32 +00:00
gui_local.hxx Updated mouse gui tweaks and Jim's nifty new external view controls. 2001-11-12 20:57:08 +00:00
Makefile.am Tidy up the autoconf/automake configuration a bit. 2002-08-25 19:40:04 +00:00
mouse.cxx Mac OS X fixes and MSVC warning fixes from Jonathan Polley. 2002-05-10 23:35:06 +00:00
net_dlg.cxx Major property-manager rewrite, using const char * throughout 2002-03-19 17:12:13 +00:00
net_dlg.hxx MSVC fixes. 2001-03-21 23:10:15 +00:00
prop_picker.cxx Patch from Julian Foad: 2002-09-07 12:35:06 +00:00
prop_picker.hxx Patch from Julian Foad: 2002-09-07 12:35:06 +00:00
sgVec3Slider.cxx Norman's fix to make the help system start on Win32. 2002-08-29 21:00:22 +00:00
sgVec3Slider.hxx Norman's fix to make the help system start on Win32. 2002-08-29 21:00:22 +00:00
trackball.c Norman Vine has split up the GUI code into more managable/logical sections. 2001-01-08 20:55:16 +00:00
trackball.h Norman Vine has split up the GUI code into more managable/logical sections. 2001-01-08 20:55:16 +00:00