mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Added getPositionAndSize() to nsIBaseWindow.
This commit is contained in:
parent
fc861622a5
commit
53da43affb
@ -124,10 +124,17 @@ interface nsIBaseWindow : nsISupports
|
||||
|
||||
/*
|
||||
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,
|
||||
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
|
||||
* @param aForce - if true, repaint immediately
|
||||
|
Loading…
Reference in New Issue
Block a user