History log of /haiku/src/kits/interface/OptionPopUp.cpp
Revision Date Author Comments
# 3bcb6981 12-Dec-2014 Adrien Destugues <pulkomandy@gmail.com>

BOptionPopUp: call the superclass AttachedToWindow.

It's ther that the view background color is inherited from the parent.
Fix option popups having a white background eg. in MediaPlayer
preferences.

Thanks to DeadYak for noticing the problem.


# 3d06e082 27-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

BOptionPopUp: move mennu setup to AttachedToWindow

* There is no need to delay this to AllAttached
* Apps may want to override the SetDivider, and doing it as late as
AllAttached can be annoying.

Fixes #10734.


# c278afde 26-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

BOptionPopUp: build fix.


# d47ada16 26-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

BOptionPopUp: don't offset when there is no label.

We add a 8 pixel space between the label and the menu, but we shouldn't
do that when the label is empty. This matches BMenuField behavior.

Fixes part of #10734.


# c8b83b17 12-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

Make disabling BOptionPopUp actually work

* Patch by ttcoder
* Fixes #10735


# 076cb5a7 09-Apr-2014 Cedric Degea <invalid@invalid.com>

BOptionPopUp: check for non-NULL Message(). Fixes #10733

Signed-off-by: John Scipione <jscipione@gmail.com>


# f95b5003 29-Dec-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Style changes, some more error checks, removed ifdeffed broken
behaviour.


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


# 4ac5ee1c 25-Oct-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed BOptionPopUp when used in the layout system.


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


# 510fae5f 25-Oct-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Also add layout-friendly constructor for BOptionPopUp (not yet tested)


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


# 3c5bd344 22-Oct-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Rewrote OptionPopUp.h and OptionControl.h


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


# 0e726a56 22-May-2006 Jérôme Duval <korli@users.berlios.de>

fixed message delivering
record control in media preferences for auich is now working correctly


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


# b5cd88a5 13-Jan-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Small changes, nothing important

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


# 8643b098 23-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

All controls/views now accept NULL arguments for "width" and "height" in GetPreferredSize().


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


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

Small cleanup, added a TODO comment.


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


# eb1086ed 30-Jun-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

A fix for some broken code, adjusted some comments, adjusted copyright notice


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


# d8b4d83d 08-Jan-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Changed a bit the behaviour of BOptionPopUp::SetValue(). We now differ a bit from what R5 does. The old implementation is still there and just ifdeffed out, though.
Added some private unimplemented methods I had forgot, fixed some spelling errors, finished documenting what was missing.


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


# 37a821f6 29-Dec-2003 Stefano Ceccherini <stefano.ceccherini@gmail.com>

BOptionPopUp and its abstract class BOptionControl, completed.


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


# 3bcb69811be906f594939fa43cd8e81018367d1a 12-Dec-2014 Adrien Destugues <pulkomandy@gmail.com>

BOptionPopUp: call the superclass AttachedToWindow.

It's ther that the view background color is inherited from the parent.
Fix option popups having a white background eg. in MediaPlayer
preferences.

Thanks to DeadYak for noticing the problem.


# 3d06e082bc02559f687a52c313e3d70944750e06 27-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

BOptionPopUp: move mennu setup to AttachedToWindow

* There is no need to delay this to AllAttached
* Apps may want to override the SetDivider, and doing it as late as
AllAttached can be annoying.

Fixes #10734.


# c278afdec1198a6e2d369ac6c8fbd9785543de5e 26-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

BOptionPopUp: build fix.


# d47ada16bc9119e74427bfd813a8199c2a410041 26-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

BOptionPopUp: don't offset when there is no label.

We add a 8 pixel space between the label and the menu, but we shouldn't
do that when the label is empty. This matches BMenuField behavior.

Fixes part of #10734.


# c8b83b1708f438fc5a32d8d72a51b35d645fcfca 12-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

Make disabling BOptionPopUp actually work

* Patch by ttcoder
* Fixes #10735


# 076cb5a752404bd6cb98f639ae432cfe88f98c3d 09-Apr-2014 Cedric Degea <invalid@invalid.com>

BOptionPopUp: check for non-NULL Message(). Fixes #10733

Signed-off-by: John Scipione <jscipione@gmail.com>


# f95b5003de1797337507a4468e3c5e18dfe89c8b 29-Dec-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Style changes, some more error checks, removed ifdeffed broken
behaviour.


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


# 4ac5ee1c0176446709448983d5c07bd2a813e4b0 25-Oct-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed BOptionPopUp when used in the layout system.


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


# 510fae5f1da8e378ff8c5942dd1e649d3b6822fb 25-Oct-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Also add layout-friendly constructor for BOptionPopUp (not yet tested)


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


# 3c5bd34432fc63e2b3e2b5c664425543d2fb3cae 22-Oct-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Rewrote OptionPopUp.h and OptionControl.h


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


# 0e726a568446023fb88b9160a9f7a0a85658ff4b 22-May-2006 Jérôme Duval <korli@users.berlios.de>

fixed message delivering
record control in media preferences for auich is now working correctly


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


# b5cd88a5c7aefd98694982f25b4381b7d2417db1 13-Jan-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Small changes, nothing important

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


# 8643b0987c2d6aca25b53fb6d8fa0a126b2b3f1f 23-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

All controls/views now accept NULL arguments for "width" and "height" in GetPreferredSize().


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


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

Small cleanup, added a TODO comment.


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


# eb1086edb68293a93eb54a37c8e05c2591951330 30-Jun-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

A fix for some broken code, adjusted some comments, adjusted copyright notice


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


# d8b4d83df2dc358785cb404cc568755e554755b0 08-Jan-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Changed a bit the behaviour of BOptionPopUp::SetValue(). We now differ a bit from what R5 does. The old implementation is still there and just ifdeffed out, though.
Added some private unimplemented methods I had forgot, fixed some spelling errors, finished documenting what was missing.


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


# 37a821f6cf167900e6df0d7632ab49195c4a4848 29-Dec-2003 Stefano Ceccherini <stefano.ceccherini@gmail.com>

BOptionPopUp and its abstract class BOptionControl, completed.


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