mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
Constant for unknown disklabel color.
This commit is contained in:
parent
fadfc67015
commit
26c2c08c47
2 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue