зеркало из https://github.com/mozilla/pjs.git
Added impl of SetVerticalScrollbar
This commit is contained in:
Родитель
15f6a63ae1
Коммит
32c2bb6ce2
|
@ -787,4 +787,10 @@ NS_METHOD nsBaseWidget::Paint(nsIRenderingContext& aRenderingContext,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_METHOD nsBaseWidget::SetVerticalScrollbar(nsIWidget * aWidget)
|
||||
{
|
||||
mVScrollbar = aWidget;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -86,6 +86,7 @@ public:
|
|||
NS_IMETHOD GetClientBounds(nsRect &aRect);
|
||||
NS_IMETHOD GetBorderSize(PRInt32 &aWidth, PRInt32 &aHeight);
|
||||
NS_IMETHOD Paint(nsIRenderingContext& aRenderingContext, const nsRect& aDirtyRect);
|
||||
NS_IMETHOD SetVerticalScrollbar(nsIWidget * aScrollbar);
|
||||
virtual void ConvertToDeviceCoordinates(nscoord &aX,nscoord &aY) {}
|
||||
protected:
|
||||
|
||||
|
@ -123,6 +124,7 @@ protected:
|
|||
//PRInt32 mWidth;
|
||||
//PRInt32 mHeight;
|
||||
nsRect mBounds;
|
||||
nsIWidget *mVScrollbar;
|
||||
|
||||
// keep the list of children
|
||||
class Enumerator : public nsIBidirectionalEnumerator {
|
||||
|
|
Загрузка…
Ссылка в новой задаче