History log of /haiku/src/kits/interface/SeparatorItem.cpp
Revision Date Author Comments
# db3a9414 06-Mar-2020 X512 <danger_mail@list.ru>

SeparatorItem: support horizontal layout

This is required for BMenuBar based toolbars.

Fixes #15785.

Change-Id: I8d108694b481e408e5c56e23a697c8e7829343dc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2316
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 5d10a74c 04-Mar-2014 John Scipione <jscipione@gmail.com>

BSeparatorItem: Style fix, rename archive to data

... missed it in a few places, trying to make variables names consistent.

Update hrev in docs


# 4479c8fd 04-Mar-2014 John Scipione <jscipione@gmail.com>

Style fixes to BSeparatorItem class.

Mostly meant for documentation with a few other style corrections as well.

Update copyright header.


# 8074fdce 13-Mar-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Set the preferred height of the separator to be always even, since, and center
the horizontal lines which represents it to the actual bounds. Should fix
#5440.


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


# bd57c145 15-Aug-2007 Stephan Aßmus <superstippi@gmx.de>

* setting a different menu color with the menu preflet gives now visually
agreeable results (I hope)


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


# 52924c5e 03-Jan-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Removed different menu separators


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


# 9fcdf0e9 07-Jul-2006 Jérôme Duval <korli@users.berlios.de>

MenuItem::Archive uses BArchivable::Archive
inverted the enable state when initing the BMenu


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


# 9b224ec8 07-Jul-2006 Jérôme Duval <korli@users.berlios.de>

add item frames to BMenu archive
add class names to BMenuItem archives


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


# 44e1f1f9 06-Apr-2006 Axel Dörfler <axeld@pinc-software.de>

The BSeparatorItem is now always diabled, and thus, cannot be selected anymore.
This fixes bug #277.


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


# aaa1e815 15-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

* A separator item obviously has a "" label instead of NULL - this fixes bug #138.
* Made Tracker safe against a NULL item label, anyway.


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


# e6629a65 21-Jun-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Misc cleanups

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


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

Many visual fixes to BMenu. Now it's almost undistinguable from the real thing. SeparatorItems were being drawn too dark. Fixed.


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


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

Implemented separator style 2, courtesy of Olivier Milla


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


# 7ca9166e 31-Dec-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Now BSeparatorItem's Draw() checks the separator type. Implemented separator type "1". Please, someone with a better "artistic" skill than me, feel free to implement separator type "2" and check if the drawing of the others is correct :)


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


# 1b925bd5 30-Dec-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Moved BSeparatorItem`s implementation to its own file. Will split headers later.


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


# 5d10a74cfb0cda1cd6253ac210dc9cea28faf700 04-Mar-2014 John Scipione <jscipione@gmail.com>

BSeparatorItem: Style fix, rename archive to data

... missed it in a few places, trying to make variables names consistent.

Update hrev in docs


# 4479c8fda7c6704266eaf4ca3284b3b4325170aa 04-Mar-2014 John Scipione <jscipione@gmail.com>

Style fixes to BSeparatorItem class.

Mostly meant for documentation with a few other style corrections as well.

Update copyright header.


# 8074fdceb947cee953dc8def452aa1fce2e78f0a 13-Mar-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Set the preferred height of the separator to be always even, since, and center
the horizontal lines which represents it to the actual bounds. Should fix
#5440.


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


# bd57c145be88c15d40eb869978523956a01895a6 15-Aug-2007 Stephan Aßmus <superstippi@gmx.de>

* setting a different menu color with the menu preflet gives now visually
agreeable results (I hope)


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


# 52924c5ef936811b5329e82d983989e1fb10a1e4 03-Jan-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Removed different menu separators


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


# 9fcdf0e92c0881017effddc8c6dafa0ca6d02fbb 07-Jul-2006 Jérôme Duval <korli@users.berlios.de>

MenuItem::Archive uses BArchivable::Archive
inverted the enable state when initing the BMenu


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


# 9b224ec82e0d967df0d7d531566b998f7f2100f7 07-Jul-2006 Jérôme Duval <korli@users.berlios.de>

add item frames to BMenu archive
add class names to BMenuItem archives


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


# 44e1f1f9188132668ad0d64e57d301d3ed52872d 06-Apr-2006 Axel Dörfler <axeld@pinc-software.de>

The BSeparatorItem is now always diabled, and thus, cannot be selected anymore.
This fixes bug #277.


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


# aaa1e815fa0864010b819ad84c7b1b420875db86 15-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

* A separator item obviously has a "" label instead of NULL - this fixes bug #138.
* Made Tracker safe against a NULL item label, anyway.


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


# e6629a65a263e29d80aa43c6c35214f626047028 21-Jun-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Misc cleanups

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


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

Many visual fixes to BMenu. Now it's almost undistinguable from the real thing. SeparatorItems were being drawn too dark. Fixed.


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


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

Implemented separator style 2, courtesy of Olivier Milla


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


# 7ca9166efa317426096426a03a05832eee0a1beb 31-Dec-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Now BSeparatorItem's Draw() checks the separator type. Implemented separator type "1". Please, someone with a better "artistic" skill than me, feel free to implement separator type "2" and check if the drawing of the others is correct :)


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


# 1b925bd5ae865af5243c4e054f0923699f079253 30-Dec-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Moved BSeparatorItem`s implementation to its own file. Will split headers later.


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