BWindow: CenterOnScreen a bit above center

BWindow docs: Document changes to CenterOnScreen()

https://68.media.tumblr.com/d8dff7a17b9d90b41e32c5a2a0312513/tumblr_oj2wg1tmKs1r0f0hfo1_1280.png

Will revert if not appreciated.
This commit is contained in:
John Scipione
2016-12-31 18:06:55 -08:00
parent 879db60ae0
commit a5be1832cc
3 changed files with 59 additions and 4 deletions
+11 -1
View File
@@ -1954,7 +1954,11 @@
/*!
\fn void BWindow::CenterOnScreen()
\brief Centers the window on the screen the window is currently on.
\brief Centers the window on the current screen.
The window is positioned on the screen a bit above center. If you want to
center the window exactly in the middle you'll need to use
BWindow::CenterIn() instead.
\since Haiku R1
*/
@@ -1964,6 +1968,12 @@
\fn void BWindow::CenterOnScreen(screen_id id)
\brief Centers the window on the screen with the passed in \a id.
\param id The screen_id of the screen to center the window in.
The window is positioned on the screen a bit above center. If you want to
center the window exactly in the middle you'll need to use
BWindow::CenterIn() instead.
\since Haiku R1
*/