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:
@@ -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
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user