Removed left-over debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38644 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
727c8ba2c9
commit
b98aa3ef8b
@ -141,12 +141,10 @@ SeekSlider::GetPreferredSize(float* _width, float* _height)
|
|||||||
BSize
|
BSize
|
||||||
SeekSlider::MinSize()
|
SeekSlider::MinSize()
|
||||||
{
|
{
|
||||||
printf("SeekSlider::MinSize()\n");
|
|
||||||
BSize size = BSlider::MinSize();
|
BSize size = BSlider::MinSize();
|
||||||
|
|
||||||
BRect unscaledThumbFrame = BSlider::ThumbFrame();
|
BRect unscaledThumbFrame = BSlider::ThumbFrame();
|
||||||
BRect scaledThumbFrame = ThumbFrame();
|
BRect scaledThumbFrame = ThumbFrame();
|
||||||
printf("height: %.1f/%.1f\n", unscaledThumbFrame.Height(), scaledThumbFrame.Height());
|
|
||||||
size.height += scaledThumbFrame.Height() - unscaledThumbFrame.Height();
|
size.height += scaledThumbFrame.Height() - unscaledThumbFrame.Height();
|
||||||
|
|
||||||
return size;
|
return size;
|
||||||
@ -156,12 +154,10 @@ printf("height: %.1f/%.1f\n", unscaledThumbFrame.Height(), scaledThumbFrame.Heig
|
|||||||
BSize
|
BSize
|
||||||
SeekSlider::MaxSize()
|
SeekSlider::MaxSize()
|
||||||
{
|
{
|
||||||
printf("SeekSlider::MaxSize()\n");
|
|
||||||
BSize size = BSlider::MaxSize();
|
BSize size = BSlider::MaxSize();
|
||||||
|
|
||||||
BRect unscaledThumbFrame = BSlider::ThumbFrame();
|
BRect unscaledThumbFrame = BSlider::ThumbFrame();
|
||||||
BRect scaledThumbFrame = ThumbFrame();
|
BRect scaledThumbFrame = ThumbFrame();
|
||||||
printf("height: %.1f/%.1f\n", unscaledThumbFrame.Height(), scaledThumbFrame.Height());
|
|
||||||
size.height += scaledThumbFrame.Height() - unscaledThumbFrame.Height();
|
size.height += scaledThumbFrame.Height() - unscaledThumbFrame.Height();
|
||||||
|
|
||||||
return size;
|
return size;
|
||||||
@ -198,7 +194,6 @@ SeekSlider::SetSymbolScale(float scale)
|
|||||||
{
|
{
|
||||||
if (scale == fScale)
|
if (scale == fScale)
|
||||||
return;
|
return;
|
||||||
printf("SeekSlider::SetSymbolScale(%.1f)\n", scale);
|
|
||||||
|
|
||||||
fScale = scale;
|
fScale = scale;
|
||||||
SetBarThickness(fScale * 15.0);
|
SetBarThickness(fScale * 15.0);
|
||||||
|
Loading…
Reference in New Issue
Block a user