> Not necessarily. We can add Painter::icon() method to the painter interface.

The magic behind InsetInfo is that

1. This inset holds which information to display
2. During InsetInfo::update(), InsetInfo produces the right LyX
structure (text or other insets).
3. These generated text and insets are responsible for screen drawing
and for latex output.

What you were suggesting is to let InsetInfo draw, and produce latex
code by itself. It can certainly be done but some major adjustment to
this inset might be needed.

Bo

Reply via email to