Changed getVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object

This commit is contained in:
rods@netscape.com
1999-09-30 11:30:04 +00:00
parent 92b681f371
commit ec0a428c96
16 changed files with 50 additions and 34 deletions

View File

@@ -118,7 +118,8 @@ public:
nsFont& aFont);
NS_IMETHOD GetFormContent(nsIContent*& aContent) const;
virtual nscoord GetVerticalInsidePadding(float aPixToTwip,
virtual nscoord GetVerticalInsidePadding(nsIPresContext& aPresContext,
float aPixToTwip,
nscoord aInnerHeight) const;
virtual nscoord GetHorizontalInsidePadding(nsIPresContext& aPresContext,
float aPixToTwip,