hrev47457 adds 2 changesets to branch 'master' old head: c1986edd36c20ac0ede82b8b359de70f0edce05d new head: ba88ee2be48a04f50109d1e01808ba074cb5d885 overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=ba88ee2+%5Ec1986ed ---------------------------------------------------------------------------- 425871d: Update BWindow::Zoom() docs ba88ee2: Allow ol's to show numbers [ John Scipione <jscipione@xxxxxxxxx> ] ---------------------------------------------------------------------------- 2 files changed, 25 insertions(+), 8 deletions(-) docs/user/book.css | 2 +- docs/user/interface/Window.dox | 31 ++++++++++++++++++++++++------- ############################################################################ Commit: 425871d3afcdc1d17eb9783277e9926e6538f78f URL: http://cgit.haiku-os.org/haiku/commit/?id=425871d Author: John Scipione <jscipione@xxxxxxxxx> Date: Wed Jul 2 15:01:16 2014 UTC Update BWindow::Zoom() docs ---------------------------------------------------------------------------- diff --git a/docs/user/interface/Window.dox b/docs/user/interface/Window.dox index 9cfbe39..7efc81b 100644 --- a/docs/user/interface/Window.dox +++ b/docs/user/interface/Window.dox @@ -1162,8 +1162,12 @@ \brief Move window to \a origin, then resize to \a width and \a height. You may call Zoom() even if the window has the \c B_NOT_ZOOMABLE flag set. - This method may move and resize the window resulting in both the FrameMoved() - and FrameResized() hook methods to be called. + + This method may move and resize the window resulting in both the + FrameMoved() and FrameResized() hook methods to be called. + + You can override this method to change how your window behaves when the + user clicks the zoom button or when Zoom() is called. \param origin The point that the window was moved to. \param width The new width of the window. @@ -1175,13 +1179,26 @@ /*! \fn void BWindow::Zoom() - \brief Resize the window to the minimum of the screen size, the maximum values - set by SetSizeLimits(), and the maximum values set by SetZoomLimits(). + \brief Resize the window to the minimum of the screen size, the maximum + values set by SetSizeLimits(), and the maximum values set by + SetZoomLimits(). You may call Zoom() even if the window has the \c B_NOT_ZOOMABLE flag set. - This method may move and resize the window resulting in both the FrameMoved() - and FrameResized() hook methods to be called. This is the method called when - the user clicks a window's zoom button. + + This is the method called when the user clicks the window's zoom button. + It can also be called programmatically. + + The window dimensions are calculated from the smallest of three rectangles: + -# the screen frame, + -# the rectangle defined by SetZoomLimits(), + -# the rectangle defined by SetSizeLimits(). + + However if the window frame already matches these new dimensions, Zoom() + uses the previous size and location of the window instead. + + This method calls Zoom(BPoint, float, float) to do the actualy zooming. + + \see Zoom(BPoint, float, float); \since BeOS R3 */ ############################################################################ Revision: hrev47457 Commit: ba88ee2be48a04f50109d1e01808ba074cb5d885 URL: http://cgit.haiku-os.org/haiku/commit/?id=ba88ee2 Author: John Scipione <jscipione@xxxxxxxxx> Date: Wed Jul 2 15:11:57 2014 UTC Allow ol's to show numbers ---------------------------------------------------------------------------- diff --git a/docs/user/book.css b/docs/user/book.css index f36943c..720e30b 100644 --- a/docs/user/book.css +++ b/docs/user/book.css @@ -350,7 +350,7 @@ div.contents hr { display: none; } -div.contents ol,ul { +div.contents ul { list-style: none; }