[apps] Improve the drawing of boxes (variable and toolbox)

Change-Id: If5cc51c33e994b09cea9c873502e238c28a43608
This commit is contained in:
Émilie Feral
2016-11-14 11:19:00 +01:00
parent 5b0ad58ae3
commit e4cf865dde
3 changed files with 3 additions and 1 deletions

View File

@@ -65,7 +65,7 @@ void NodeNavigationController::Stack::resetStack() {
/* NodeNavigationController */
NodeNavigationController::NodeNavigationController() :
StackViewController(nullptr, &m_listViewController, true),
StackViewController(nullptr, &m_listViewController, true, KDColorWhite, Palette::BoxTitleBackgroundColor, Palette::BoxTitleBackgroundColor),
m_listViewController(NodeListViewController(this))
{
}

View File

@@ -10,6 +10,7 @@ public:
constexpr static KDColor CellBackgroundColor = KDColor(0xFCFCFC);
constexpr static KDColor FocusCellBackgroundColor = KDColor(0xBFD3EB);
constexpr static KDColor DesactiveTextColor = KDColor(0x646464);
constexpr static KDColor BoxTitleBackgroundColor = KDColor(0x656976);
};
#endif

View File

@@ -5,3 +5,4 @@ constexpr KDColor Palette::BackgroundColor;
constexpr KDColor Palette::CellBackgroundColor;
constexpr KDColor Palette::FocusCellBackgroundColor;
constexpr KDColor Palette::DesactiveTextColor;
constexpr KDColor Palette::BoxTitleBackgroundColor;