History log of /haiku/src/kits/interface/ChannelControl.cpp
Revision Date Author Comments
# 0b421b80 01-Aug-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

ChannelControl: Implemented SetLimitLabelsFor().
Implemented without testing how it's done on BeOS.
Moreover, I have no idea if, when and where these labels should be drawn.


# 1f424632 11-Jun-2014 John Scipione <jscipione@gmail.com>

Style fixes to IK, focus on docs


# a8e3f157 02-May-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Applied (part of) a patch by Kaliber, attached to ticket #5875. Thanks!
Will commit the rest later.


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


# a0b1d631 15-Feb-2009 Stephan Aßmus <superstippi@gmx.de>

Added layout friendly constructor to this base class.


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


# 18108ef7 18-Mar-2007 Jérôme Duval <korli@users.berlios.de>

applied minimums to values computations
implemented SetLimitsFor() and GetLimitsFor()


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


# 789b86ec 17-Mar-2007 Jérôme Duval <korli@users.berlios.de>

don't send a message on mouse down and mouve moved
correctly set "be:channel_changed"
correctly set "be:current_channel" with SetCurrentChannel()
correctly set "be:value"


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


# f4fc3d62 05-Jun-2006 Jérôme Duval <korli@users.berlios.de>

* fixed some more GetSupportedSuites implementations
* fixed some local variables names
* fixed the case of some message attribute names


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


# 57735c40 22-May-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

fixed BChannelControl::SetLimits()


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


# 1fdb18f7 14-Mar-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

BChannelControl::GetPreferredSize() is a pure virtual

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


# 24ab95ee 02-Feb-2006 Jérôme Duval <korli@users.berlios.de>

fixes ChannelSlider::Draw when Label() is NULL
fixes a bit preferred size, still needs work


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


# 5040785e 11-Mar-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

BChannelControl::SetAllValue() didn't take limits into account. Horizontal sliders now at least are drawn correctly, even if they don't work well. Added a temporary visual hint of where's the bitmap frame. Enhanced a bit the drawing of the groove.


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


# 7730601a 08-Mar-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented Get/SetLimits() and fixed scripting stuff


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


# a85419ee 06-Mar-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

That wasn't my day, obviously.


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


# 20c7c2f9 07-Mar-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Testing BChannelSlider showed that BChannelControl's implementation had some issues:
1. StuffValues returned B_BAD_INDEX for legal values. Fixed.
2. SetAllValue was needed. Implemented.
3. The constructor used memset() to initialize an array of int32 to 100. YUCK! That's a novice mistake (and that's my fault, obviously). Fixed.


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


# 016e74b2 07-Mar-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed a crash on exit (Attached views are deleted automatically), finished some missing stuff, corrected some issues.


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


# 2c323083 03-Mar-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented BChannelControl's InvokeChannel and Archive(). Actually this code was sitting somewhere on my hard driver for some time already...


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


# 859c5ac3 03-Feb-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented Archive() and unarchiving constructor. Removed bad linefeeds.


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


# fd873802 02-Feb-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented some more BChannelControl methods. It's almost fully functional. BChannelSlider won't crash if ThumbFor() returns NULL.


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


# 422c0791 01-Feb-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Applied our style guide as someone (cough! *** Axel *** cough!) bugged me (correctly) about it :)


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


# 976f53a9 01-Feb-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed warnings. Maximum initial values are 100 (One should always print values in decimal, not hex). Implemented GetSupportedSuites().


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


# 1c3a6ab0 01-Feb-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented a couple of methods. Most are tested, even if not thoroughly.


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


# 08c97b50 14-Jan-2005 Axel Dörfler <axeld@pinc-software.de>

Added empty implementation of missing BChannelControl class.


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


# 0b421b8025a1da938c3689ae67c58d5a58c8542f 01-Aug-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

ChannelControl: Implemented SetLimitLabelsFor().
Implemented without testing how it's done on BeOS.
Moreover, I have no idea if, when and where these labels should be drawn.


# 1f424632be5dcad5b81a23080eb205ab6471cd7b 11-Jun-2014 John Scipione <jscipione@gmail.com>

Style fixes to IK, focus on docs


# a8e3f15774a750d7d35b348d11ecf66fa1b5bfd5 02-May-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Applied (part of) a patch by Kaliber, attached to ticket #5875. Thanks!
Will commit the rest later.


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


# a0b1d631cc1d7640685274e7bc0dcaf19316cdd7 15-Feb-2009 Stephan Aßmus <superstippi@gmx.de>

Added layout friendly constructor to this base class.


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


# 18108ef7ded281e17e76bc6e411062f6355685aa 18-Mar-2007 Jérôme Duval <korli@users.berlios.de>

applied minimums to values computations
implemented SetLimitsFor() and GetLimitsFor()


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


# 789b86ec6c5748d5bcc32eed167ece7369d8c3cf 17-Mar-2007 Jérôme Duval <korli@users.berlios.de>

don't send a message on mouse down and mouve moved
correctly set "be:channel_changed"
correctly set "be:current_channel" with SetCurrentChannel()
correctly set "be:value"


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


# f4fc3d626a425bf59886cd5773fd2f64ff285b10 05-Jun-2006 Jérôme Duval <korli@users.berlios.de>

* fixed some more GetSupportedSuites implementations
* fixed some local variables names
* fixed the case of some message attribute names


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


# 57735c4048befdaa1a6c24ca365bf15cb26b84fd 22-May-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

fixed BChannelControl::SetLimits()


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


# 1fdb18f7dd3f272480bbfbce203cbfb30c072c43 14-Mar-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

BChannelControl::GetPreferredSize() is a pure virtual

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


# 24ab95eee182f4eac5bbbc113779004c672600fd 02-Feb-2006 Jérôme Duval <korli@users.berlios.de>

fixes ChannelSlider::Draw when Label() is NULL
fixes a bit preferred size, still needs work


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


# 5040785e7de27e65e4685476279994f4a00dd08d 11-Mar-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

BChannelControl::SetAllValue() didn't take limits into account. Horizontal sliders now at least are drawn correctly, even if they don't work well. Added a temporary visual hint of where's the bitmap frame. Enhanced a bit the drawing of the groove.


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


# 7730601a59ec8b6bf23764eaddca15b803f48906 08-Mar-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented Get/SetLimits() and fixed scripting stuff


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


# a85419eec39c0a32865a90aeb952d729ee6e7e4c 06-Mar-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

That wasn't my day, obviously.


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


# 20c7c2f958950b9b9e2d5652f7a1b581170ccb3f 07-Mar-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Testing BChannelSlider showed that BChannelControl's implementation had some issues:
1. StuffValues returned B_BAD_INDEX for legal values. Fixed.
2. SetAllValue was needed. Implemented.
3. The constructor used memset() to initialize an array of int32 to 100. YUCK! That's a novice mistake (and that's my fault, obviously). Fixed.


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


# 016e74b2c551552ad3482dd51f0eaec836c0ff3c 07-Mar-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed a crash on exit (Attached views are deleted automatically), finished some missing stuff, corrected some issues.


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


# 2c323083e40bfb0ceaa0a99ab47711dcda4dd6d6 03-Mar-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented BChannelControl's InvokeChannel and Archive(). Actually this code was sitting somewhere on my hard driver for some time already...


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


# 859c5ac301e991b9ad23403b2b00a54b1313bdd5 03-Feb-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented Archive() and unarchiving constructor. Removed bad linefeeds.


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


# fd873802ab24e15b84f9dc3ae7bcffd86b57ab72 02-Feb-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented some more BChannelControl methods. It's almost fully functional. BChannelSlider won't crash if ThumbFor() returns NULL.


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


# 422c07914d12e0fda98061f0766e0346804e4b64 01-Feb-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Applied our style guide as someone (cough! *** Axel *** cough!) bugged me (correctly) about it :)


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


# 976f53a988a233affed1cbc816ce19f67c145658 01-Feb-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed warnings. Maximum initial values are 100 (One should always print values in decimal, not hex). Implemented GetSupportedSuites().


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


# 1c3a6ab02501c0d7873fa725796fb671c9c40d87 01-Feb-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented a couple of methods. Most are tested, even if not thoroughly.


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


# 08c97b50b922693a5e4b8912c4f4ac69a07fd807 14-Jan-2005 Axel Dörfler <axeld@pinc-software.de>

Added empty implementation of missing BChannelControl class.


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