зеркало из https://github.com/mozilla/pjs.git
Added getPositionAndSize() to nsIBaseWindow.
This commit is contained in:
Родитель
750b953527
Коммит
dafd034c01
|
@ -124,10 +124,17 @@ interface nsIBaseWindow : nsISupports
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Convenience function combining the SetPosition and SetSize into one call.
|
Convenience function combining the SetPosition and SetSize into one call.
|
||||||
|
Also is more efficient than calling both.
|
||||||
*/
|
*/
|
||||||
void setPositionAndSize(in long x, in long y, in long cx, in long cy,
|
void setPositionAndSize(in long x, in long y, in long cx, in long cy,
|
||||||
in boolean fRepaint);
|
in boolean fRepaint);
|
||||||
|
|
||||||
|
/*
|
||||||
|
Convenience function combining the GetPosition and GetSize into one call.
|
||||||
|
Also is more efficient than calling both.
|
||||||
|
*/
|
||||||
|
void getPositionAndSize(out long x, out long y, out long cx, out long cy);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tell the window to repaint itself
|
* Tell the window to repaint itself
|
||||||
* @param aForce - if true, repaint immediately
|
* @param aForce - if true, repaint immediately
|
||||||
|
|
Загрузка…
Ссылка в новой задаче