On Fri, Aug 16, 2002 at 07:59:43PM +0900, Rob Lahaye wrote:

> So the layout is there. I needed to introduce one new param,
> called "int lyxdisplay" in insetgrahpicsParams.h, to handle
> the new LyX display choice selector.

No, you don't need to do this. Convert the setting of the combo box into
the paramters we already have.

IOW set igp.display to e.g. InsetGraphicsParams::MONOCHROME if the combo
current value is "2" or whatever. Shout if you want a further
explanation.

> - rotation: ignore rotation when rotation_angle is zero.

in apply() read the input box and convert it to a double using strToDbl
as you do already. Then do something like "igp.rotate == rotvalue != 0.0;"
to enable it as necessary

regards
john

-- 
"Someone turn off the good idea tap; we're drowning here!"
        - Rusty Russell

Reply via email to