Solving issue 735 : "Zooming with mouse wheel should zoom where the mouse is".
The scroll wheel is now used for scrolling the editor's tab content. If you want to change the spin button's/slider's value or combobox entry, press the SHIFT key while using the scroll wheel. This patch also: - reduce the spin buttons size (50px wide, instead of 70px) - reduce the minimum size of the combobox (tool panels can now be narrower before showing the horizontal scrollbar) Note to developers: ------------------- When creating GUI for editor tools, please use the MyComboBox, MyComboBoxText, MySpinButton and MyFileChooserButton derived class only in order to handle the scroll wheel properly (-> #include <guiutils.h>). Known bug: The MyFileChooserButton thas is a FILE_CHOOSER_ACTION_SELECT_FOLDER does not respond correctly to the new behaviour.
This commit is contained in:
@@ -290,26 +290,6 @@ void LCurve::adjusterChanged (Adjuster* a, double newval) {
|
||||
listener->panelChanged (EvLSatLimit, costr);
|
||||
}
|
||||
|
||||
//attempt to hide unused channels
|
||||
/*void LCurve::channel_changed () {
|
||||
|
||||
removeIfThere (this, lcurve, false);
|
||||
removeIfThere (this, acurve, false);
|
||||
removeIfThere (this, bcurve, false);
|
||||
|
||||
if (channel->get_active_row_number()==0)
|
||||
pack_start (*lcurve);
|
||||
else if (channel->get_active_row_number()==1)
|
||||
pack_start (*acurve);
|
||||
else if (method->get_active_row_number()==2)
|
||||
pack_start (*bcurve);
|
||||
|
||||
|
||||
if (listener && enabled->get_active ())
|
||||
listener->panelChanged (EvLabCurvetype, channel->get_active_text ());
|
||||
|
||||
}*/
|
||||
|
||||
void LCurve::colorForValue (double valX, double valY) {
|
||||
|
||||
CurveEditor* ce = curveEditorG->getDisplayedCurve();
|
||||
|
Reference in New Issue
Block a user