Fix a scrolling problem where last item doesn't show in prop_picker.
Removed include for unreferenced header in viewmgr.
Jim Wilson <jimw@kelcomaine.com>
Wrote a major overhaul of the viewer code to make it more flexible
and modular. Contributed many small fixes and bug reports.
+ Contributed the the pui property browser.
+ Contributed to the autopilot.
Jean-Claude Wippler <jcw@equi4.com>
// if non-empty list, adjust the size of the slider...
if (num_files > 1) {
- if ((11.0f/(num_files-1)) < 1) {
- slider->setSliderFraction (11.0f/(num_files-1)) ;
+ if ((11.0f/(num_files)) < 1) {
+ slider->setSliderFraction (11.0f/(num_files)) ;
slider->reveal();
up_arrow->reveal();
down_arrow->reveal();
FG_FINALIZE_PUI_DIALOG( this );
}
-
-
#include <plib/sg.h>
-#include <GUI/sgVec3Slider.hxx> // FIXME: this should NOT be needed
-
#include "viewmgr.hxx"
#include "fg_props.hxx"