FXRuler

The new FXRuler widget is a kind of frame that can be placed alongside some other widget to measure the position and size of elements inside that widget. An example of this, from the scribble.cpp test program, is shown below.

There are a number of different options available to modify the appearance and behavior of an FXRuler object:

As of this writing, the FXRuler widget still seems to be under development. For example, there's no way to set the values of the first line, left and right indent values for the RULER_MARKERS option. Furthermore, it does not appear that the RULER_ENGLISH, RULER_NUMBERS or RULER_METRIC options have been implemented at all (which is why they aren't mentioned in the above listing). One should expect that this widget will be developed further for the next major release of FOX.