Adding a general option button to control mouse zoom direction
Hi, I have just started using gmsh. My use is very simple, I just wanted a decent STL viewer for Linux! It works great and I hope I can find a use for some of the other amazing capability your program has. Anyway, a really trivial change I have made is to invert the sense of the mouse wheel zoom to match what I am used to. That I have done but I thought it would be nice to add a checkbox general option to control it. I can see what I have to do but I note that the optionWindow class contains the following:
#if defined(HAVE_VISUDEV)
Fl_Check_Button *butt[23];
#else
Fl_Check_Button *butt[22];
#endif
So if I want to add a new button it would have to increase those array sizes by 1, change existing occurrences of butt[22] to butt[23] and then use butt[22] for the mouse zoom direction option.
Does that seem reasonable?