History log of /haiku/src/kits/interface/MenuPrivate.cpp
Revision Date Author Comments
# e8d4db8e 19-Apr-2016 John Scipione <jscipione@gmail.com>

MenuPrivate: Add SetItemMargins() method


# 61dfdec4 19-Apr-2016 John Scipione <jscipione@gmail.com>

BMenu and friends: style fixes

BMenuBar: style fix: msg => message

MenuPrivate: style fixes

MenuItem: 80 char limit style fix

MenuBar: tiny style fix

Menu: tiny style fix, indentation

Menu: Small refactor

Implement _SetIgnoreHidden() in header
Change on to ignoreHidden
Change on in _SetStickyMode to sticky

_BMCItem_: tiny whitespace style fix

Menu: style fixes, rename msgr => messenger

BMenu: style fix, pointer != NULL

BMenu::Archive rename ret to status

Also check pointer against NULL explicitly

BMenuItem style fixes: rename abbreviation, pointer style


# 35384ab4 20-Feb-2015 John Scipione <jscipione@gmail.com>

MenuPrivate: Add a SetLayout() method to MenuPrivate

that allows you to set the menu_layout of the menu after construction.


# d97b4340 06-May-2013 John Scipione <jscipione@gmail.com>

Style fixes to BMenu and related classes.


# 8abe72fb 06-Nov-2011 John Scipione <jscipione@gmail.com>

Changes the menu key bitmap from CTL to CTRL and SHFT to SHIFT.

This is coming from but does not close #7967

Adds a new (currently unused) Menu key bitmap.

Instead of having a single AltAsCommandKey() method the menus now
show the correct bitmap when you switch between your control,
windows/option, and alt/command keys. This is really not flushed
out yet since it only works when you switch those keys and not
other combinations like say switching the control and caps lock
keys but it is a step in the right direction.

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


# dcc8ae91 01-Aug-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Some cleanups: made the bitmaps static, moved variables around. No functional change.


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


# eac9c545 29-Jul-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

CreateBitmap(): Fail if it can not allocate bitmaps.
In init_interface_kit(), check the return value of MenuPrivate::CreateBitmaps()
and fail on error.


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


# 7a8567e6 30-Jul-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Moved MenuPrivate implementation to its own file. Made MenuPrivate.h
self-contained. Adjusted other files accordingly.


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


# 35384ab4256de4eed68f379980a0a5d881d878c6 20-Feb-2015 John Scipione <jscipione@gmail.com>

MenuPrivate: Add a SetLayout() method to MenuPrivate

that allows you to set the menu_layout of the menu after construction.


# d97b43406038a6398e097939b71908ff490c64ff 06-May-2013 John Scipione <jscipione@gmail.com>

Style fixes to BMenu and related classes.


# 8abe72fb66b36e98eedc463c85cf752651280386 06-Nov-2011 John Scipione <jscipione@gmail.com>

Changes the menu key bitmap from CTL to CTRL and SHFT to SHIFT.

This is coming from but does not close #7967

Adds a new (currently unused) Menu key bitmap.

Instead of having a single AltAsCommandKey() method the menus now
show the correct bitmap when you switch between your control,
windows/option, and alt/command keys. This is really not flushed
out yet since it only works when you switch those keys and not
other combinations like say switching the control and caps lock
keys but it is a step in the right direction.

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


# dcc8ae91187ab85ff9e6fb61992ca8b82c47485f 01-Aug-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Some cleanups: made the bitmaps static, moved variables around. No functional change.


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


# eac9c5450f6f78250eeb4f3a26bd5f053ab18fd4 29-Jul-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

CreateBitmap(): Fail if it can not allocate bitmaps.
In init_interface_kit(), check the return value of MenuPrivate::CreateBitmaps()
and fail on error.


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


# 7a8567e61d42a4c1aa3ecae991ad8dd3b098db44 30-Jul-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Moved MenuPrivate implementation to its own file. Made MenuPrivate.h
self-contained. Adjusted other files accordingly.


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