* 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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user