>> Well, that's a pity. Look at Captions, Ragged-Line-Breaks, >> LyxMenuSeparators (in the User's guide). They are all painted crappy >> (when moving your mouse around them), because they have no color >> specified and they do not inherit their parent's color. This means >> that the area cannot be cleared prior to redrawing the Inset. > >Can't we convey this information through PainterInfo? > >JMarc >
Oui, How stupid, just didn't look for it in PainterInfo, although I must have seen that it is set in InsetCollapsable. Now, the search for all Insets that suffer from this problem. I also see that there is information passed about whether the parent is deleted (this information isn't always used either if the Inset is open). Then, we might add a selection member to it to pass information about whether we have to paint in a selected state... solving the other problem. Well, that's for tomorrow. Vincent