Constant for unknown disklabel color.

main
Teo Mrnjavac 9 years ago
parent fadfc67015
commit 26c2c08c47

@ -49,6 +49,7 @@ static const QColor NEW_PARTITION_COLORS[ NUM_NEW_PARTITION_COLORS ] =
};
static QColor FREE_SPACE_COLOR = "#777777";
static QColor EXTENDED_COLOR = "#aaaaaa";
static QColor UNKNOWN_DISKLABEL_COLOR = "#4d4151";
static QMap< QString, QColor > s_partitionColorsCache;
@ -61,6 +62,11 @@ QColor freeSpaceColor()
return FREE_SPACE_COLOR;
}
QColor unknownDisklabelColor()
{
return UNKNOWN_DISKLABEL_COLOR;
}
PartitionNode*
_findRootForPartition( PartitionNode* partition )
{

@ -31,6 +31,8 @@ namespace ColorUtils
QColor freeSpaceColor();
QColor unknownDisklabelColor();
QColor colorForPartition( Partition* partition );
/**

Loading…
Cancel
Save