Added getPositionAndSize() to nsIBaseWindow.

This commit is contained in:
tbogard%aol.net 1999-11-27 02:49:57 +00:00
Родитель 750b953527
Коммит dafd034c01
1 изменённых файлов: 9 добавлений и 2 удалений

Просмотреть файл

@ -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