* BControl::SetValue() now calls Invalidate() again - not doing so would

break compatibility a bit too much (as this is a public class).
* Instead, we're now using the same mechanism as in Dano/Zeta, that is,
  we use BControl::SetValueNoUpdate() in the inherited classes.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16183 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-02-01 15:55:46 +00:00
parent 5376b695a4
commit a71c960755
6 changed files with 38 additions and 72 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2001-2005, Haiku Inc.
* Copyright 2001-2006, Haiku Inc.
* Distributed under the terms of the MIT License.
*
* Authors:
@@ -229,7 +229,7 @@ BColorControl::SetValue(int32 value)
fBlueText->SetText(string);
}
BControl::SetValue(value);
BControl::SetValueNoUpdate(value);
// TODO: This causes lot of flickering
Invalidate();