зеркало из https://github.com/mozilla/pjs.git
More build bustage fixes
This commit is contained in:
Родитель
c9328e028d
Коммит
bb149e358a
|
@ -200,7 +200,7 @@ nsThrobber::~nsThrobber()
|
||||||
|
|
||||||
NS_IMPL_ISUPPORTS(nsThrobber, kIImageObserverIID)
|
NS_IMPL_ISUPPORTS(nsThrobber, kIImageObserverIID)
|
||||||
|
|
||||||
NS_IMETHODIMP
|
nsresult
|
||||||
nsThrobber::Init(nsIWidget* aParent, const nsRect& aBounds, const nsString& aFileNameMask, PRInt32 aNumImages)
|
nsThrobber::Init(nsIWidget* aParent, const nsRect& aBounds, const nsString& aFileNameMask, PRInt32 aNumImages)
|
||||||
{
|
{
|
||||||
mWidth = aBounds.width;
|
mWidth = aBounds.width;
|
||||||
|
@ -216,7 +216,7 @@ nsThrobber::Init(nsIWidget* aParent, const nsRect& aBounds, const nsString& aFil
|
||||||
return LoadThrobberImages(aFileNameMask, aNumImages);
|
return LoadThrobberImages(aFileNameMask, aNumImages);
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
nsresult
|
||||||
nsThrobber::MoveTo(PRInt32 aX, PRInt32 aY)
|
nsThrobber::MoveTo(PRInt32 aX, PRInt32 aY)
|
||||||
{
|
{
|
||||||
NS_PRECONDITION(nsnull != mWidget, "no widget");
|
NS_PRECONDITION(nsnull != mWidget, "no widget");
|
||||||
|
@ -224,28 +224,28 @@ nsThrobber::MoveTo(PRInt32 aX, PRInt32 aY)
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
nsresult
|
||||||
nsThrobber::Show()
|
nsThrobber::Show()
|
||||||
{
|
{
|
||||||
mWidget->Show(PR_TRUE);
|
mWidget->Show(PR_TRUE);
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
nsresult
|
||||||
nsThrobber::Hide()
|
nsThrobber::Hide()
|
||||||
{
|
{
|
||||||
mWidget->Show(PR_FALSE);
|
mWidget->Show(PR_FALSE);
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
nsresult
|
||||||
nsThrobber::Start()
|
nsThrobber::Start()
|
||||||
{
|
{
|
||||||
mRunning = PR_TRUE;
|
mRunning = PR_TRUE;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
nsresult
|
||||||
nsThrobber::Stop()
|
nsThrobber::Stop()
|
||||||
{
|
{
|
||||||
mRunning = PR_FALSE;
|
mRunning = PR_FALSE;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче