* Each DataSoure now has a "primary" indicator - this is used to separate

more important DataSources from less important ones.
* Made the popup less crowded based on that info.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25021 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-04-18 12:54:34 +00:00
parent 065e8de0d5
commit 43eda1cd8f
3 changed files with 54 additions and 1 deletions
+42
View File
@@ -196,6 +196,13 @@ DataSource::MultiCPUOnly() const
}
bool
DataSource::Primary() const
{
return false;
}
/*static*/ int32
DataSource::CountSources()
{
@@ -308,6 +315,13 @@ UsedMemoryDataSource::Label() const
}
bool
UsedMemoryDataSource::Primary() const
{
return true;
}
// #pragma mark -
@@ -343,6 +357,13 @@ CachedMemoryDataSource::Label() const
}
bool
CachedMemoryDataSource::Primary() const
{
return true;
}
// #pragma mark -
@@ -682,6 +703,13 @@ CPUUsageDataSource::PerCPU() const
}
bool
CPUUsageDataSource::Primary() const
{
return true;
}
void
CPUUsageDataSource::_SetCPU(int32 cpu)
{
@@ -798,6 +826,13 @@ CPUCombinedUsageDataSource::MultiCPUOnly() const
}
bool
CPUCombinedUsageDataSource::Primary() const
{
return true;
}
// #pragma mark -
@@ -885,6 +920,13 @@ NetworkUsageDataSource::AdaptiveScale() const
}
bool
NetworkUsageDataSource::Primary() const
{
return true;
}
// #pragma mark -