Hi,

I want to draw a rectangle around different nsIFrame types(images, input field, tables, etc.).

In FF2.0 there was a centeral method nsFrame::PaintSelf were I needed to add just a single line
 nsCSSRendering::DrawDashedSides and everything was painted.

But how does it work in FF3? Is there also such a central place were I can call nsCSSRendering::DrawDashedSides to draw a rectangle around nsIFrames. If not, how can I do it in FF3?

In ff2.0 nsFrame::PaintSelf
http://mxr.mozilla.org/mozilla1.8/source/layout/generic/nsFrame.cpp#929

I'm thankful for any hint.

regards,
max
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to