removed debug printfs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13406 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -260,15 +260,11 @@ BScrollBar::AttachedToWindow()
|
|||||||
void
|
void
|
||||||
BScrollBar::SetValue(float value)
|
BScrollBar::SetValue(float value)
|
||||||
{
|
{
|
||||||
printf("%s\n", Orientation() == B_HORIZONTAL ? "horizontal" : "vertical");
|
|
||||||
printf("SetValue(%2f ->", value);
|
|
||||||
if (value > fMax)
|
if (value > fMax)
|
||||||
value = fMax;
|
value = fMax;
|
||||||
if (value < fMin)
|
if (value < fMin)
|
||||||
value = fMin;
|
value = fMin;
|
||||||
|
|
||||||
printf("%2f)\n", value);
|
|
||||||
printf("Old value: %2f\n", fValue);
|
|
||||||
if (value != fValue) {
|
if (value != fValue) {
|
||||||
fValue = value;
|
fValue = value;
|
||||||
ValueChanged(fValue);
|
ValueChanged(fValue);
|
||||||
@@ -300,7 +296,6 @@ BScrollBar::Proportion() const
|
|||||||
void
|
void
|
||||||
BScrollBar::ValueChanged(float newValue)
|
BScrollBar::ValueChanged(float newValue)
|
||||||
{
|
{
|
||||||
printf("ValueChanged(%2f)\n", newValue);
|
|
||||||
if (fTarget == NULL)
|
if (fTarget == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user