Andre Poenitz wrote:
> void InsetCommand::draw(PainterInfo & pi, int x, int y_abs) const
> {
> BufferView const & bv = *pi.base.bv;
> xo_ = x;
> yo_ = y;
> button_.draw(pi, x, y)
> }
>
> still looks nicer. So if the translation could be done in the lower
But it won't compile! ;-)
> levels and the upper levels simply work on a 'everything is doc absolute
> and I am not even aware that LyX uses anything else' base.
>
> This is simpler than having any translation somewhere in the upper level
> as this always raises the question 'are these values already translated
> or not'.
I think that you are both perfectly right. I imagine that doing this change
will be long and boring, but I think it is doable and will pay in the end.
Alfredo