History log of /haiku/headers/private/interface/MenuWindow.h
Revision Date Author Comments
# 4898c615 03-May-2013 Jessica Hamilton <jessica.l.hamilton@gmail.com>

BMenu: scroll marked item into view when menu has scrollers attached.

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>


# 3ecf187e 04-Sep-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Made MenuWindow::GetSteps() const.
Increased the scrollers size from 10 to 12, since at high resolutions,
they're really too small.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32932 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4e23bc03 02-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* BMenu now scrolls when you press page up/down, if possible.
* BMenuWindow no longer uses a fixed scroll step - instead, the menu sets it
to the height of its first item.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31389 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4e0c2a79 03-Oct-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Menus can be scrolled also using the mouse wheel

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27844 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9e64a7ed 03-Jan-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed problem with some popup menus (check ticket #1679)
Moved GetMouse() calls near the check for exit conditions.
Reorganized a bit the code, and hopefully simplified it in some places.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23229 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3616859a 05-Jun-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Changed the interaction between BMenuFrame, BMenuScroller and
BMenuWindow. BMenuScroller now is just the scroller button, and it's a
child of BMenuWindow. This simplifies attaching/detaching the
scrollers, and it's also a bit cleaner.
The lower scroller wasn't shown anymore for some reason, and this commit also fixes this problem.
A drawing bug shows up now, though: when scrolling the menu UP, some
spurious lines are drawn over the menu. I wonder if this is an
app_server bug or what.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21326 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c7338938 29-Dec-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Greatly improved scrolling, and simplified the code too. Now scrolling
is done from inside the BMenu::_track() function, and not inside Pulse()
anymore. Patch by Lucasz Zemczak


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19653 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2628e60c 22-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

Moved BMenuWindow, BMenuFrame, and BMenuScroller into the BPrivate namespace.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19360 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 27cc2508 20-Nov-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

First try at menu scrolling, courthesy of Łukasz Zemczak. Works more or less, although a bit buggy

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19343 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4185bd8b 28-Mar-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Hopefully simplified BMenu/BMenuWindow relationship and made it more robust.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16910 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 61ba5a32 29-Jan-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added some code to draw "empty" in empty menus. Not working for the
moment, but committing since it's too late to continue working, and at
least the window is resized correctly...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16142 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a3dff518 04-Jan-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Updated header


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10583 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 92044c24 03-Jan-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Removed the frame parameter from BMenuWindow


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10574 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 446b8c19 27-Dec-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Moved BMenuWindow to its own file


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10536 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4898c615d6c4f72deb9433c784b9e6d84419efb0 03-May-2013 Jessica Hamilton <jessica.l.hamilton@gmail.com>

BMenu: scroll marked item into view when menu has scrollers attached.

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>


# 3ecf187e2a139ce92df3a1664afa3d3cf1f614ef 04-Sep-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Made MenuWindow::GetSteps() const.
Increased the scrollers size from 10 to 12, since at high resolutions,
they're really too small.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32932 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4e23bc03830b81ec305154bcbddfa0792ece17f0 02-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* BMenu now scrolls when you press page up/down, if possible.
* BMenuWindow no longer uses a fixed scroll step - instead, the menu sets it
to the height of its first item.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31389 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4e0c2a797d01708bc3c1a49f2d496dc465f833cf 03-Oct-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Menus can be scrolled also using the mouse wheel

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27844 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9e64a7ed1ba6e91718aeae9a5a32c74ba9ca5421 03-Jan-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed problem with some popup menus (check ticket #1679)
Moved GetMouse() calls near the check for exit conditions.
Reorganized a bit the code, and hopefully simplified it in some places.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23229 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3616859a05eb7c0db11c8dff0259260f3448c944 05-Jun-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Changed the interaction between BMenuFrame, BMenuScroller and
BMenuWindow. BMenuScroller now is just the scroller button, and it's a
child of BMenuWindow. This simplifies attaching/detaching the
scrollers, and it's also a bit cleaner.
The lower scroller wasn't shown anymore for some reason, and this commit also fixes this problem.
A drawing bug shows up now, though: when scrolling the menu UP, some
spurious lines are drawn over the menu. I wonder if this is an
app_server bug or what.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21326 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c7338938468d2b88409ef3ec4c3289d389da693e 29-Dec-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Greatly improved scrolling, and simplified the code too. Now scrolling
is done from inside the BMenu::_track() function, and not inside Pulse()
anymore. Patch by Lucasz Zemczak


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19653 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2628e60cbca2ed49bf7d5704f99eb72bec7e249f 22-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

Moved BMenuWindow, BMenuFrame, and BMenuScroller into the BPrivate namespace.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19360 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 27cc25083edc760e3ce0f2163f5222fa118e7852 20-Nov-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

First try at menu scrolling, courthesy of Łukasz Zemczak. Works more or less, although a bit buggy

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19343 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4185bd8b34afeea08550982b4a93d9a13a508504 28-Mar-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Hopefully simplified BMenu/BMenuWindow relationship and made it more robust.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16910 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 61ba5a32c1377a3a20242991f2ba24bd857b8e97 29-Jan-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added some code to draw "empty" in empty menus. Not working for the
moment, but committing since it's too late to continue working, and at
least the window is resized correctly...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16142 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a3dff518f009319d8efd049ee6e8e901a83d9c68 04-Jan-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Updated header


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10583 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 92044c244df757ab2ee3248f9eb3de856a8ef23f 03-Jan-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Removed the frame parameter from BMenuWindow


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10574 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 446b8c194e9ec252eaac62a62551800b9775b833 27-Dec-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Moved BMenuWindow to its own file


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10536 a95241bf-73f2-0310-859d-f6bbb57e9c96