1) Implemented regular button and html4 button with a button renderer.

2) Fixed ProgressMeter to update correctly when attributes change
3) Fixed sample8.html so that it does not over ride the borders of the HTML4 button this
   messed up the active, hover, and disabled states.


git-svn-id: svn://10.0.0.236/trunk@23070 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
evaughan%netscape.com
1999-03-06 19:43:13 +00:00
parent d67b62db13
commit 0615e95ff7
34 changed files with 1169 additions and 923 deletions

View File

@@ -67,6 +67,16 @@ public:
nscoord aInnerWidth,
nscoord aCharWidth) const = 0;
/**
* Determine if the control uses a native widget for rendering
* @param aRequiresWidget is set to PR_TRUE if it has a native widget, PR_FALSE otherwise.
* @returns NS_OK
*/
virtual nsresult RequiresWidget(PRBool &aRequiresWidget) = 0;
NS_IMETHOD GetFont(nsIPresContext* aPresContext,
nsFont& aFont) = 0;
/**
@@ -95,6 +105,8 @@ public:
NS_IMETHOD GetProperty(nsIAtom* aName, nsString& aValue) = 0;
};
#endif