[escher] Improve scroller indicator colors

Change-Id: Idc8adadf48cdafe213c71ebf24a40b1f4528e365
This commit is contained in:
Émilie Feral
2017-01-26 09:44:32 +01:00
parent acd51f2ca8
commit 7bbd106cf9
3 changed files with 5 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ public:
ScrollView(View * contentView, KDCoordinate topMargin = 0, KDCoordinate rightMargin = 0,
KDCoordinate bottomMargin = 0, KDCoordinate leftMargin = 0, bool showIndicators = true,
bool colorBackground = true, KDColor backgroundColor = Palette::WallScreen, KDCoordinate indicatorThickness = 10,
KDColor indicatorColor = Palette::GreyMiddle, KDColor backgroundIndicatorColor = Palette::GreyWhite,
KDColor indicatorColor = Palette::GreyDark, KDColor backgroundIndicatorColor = Palette::GreyMiddle,
KDCoordinate indicatorMargin = 14);
void setContentOffset(KDPoint offset);

View File

@@ -20,8 +20,8 @@ public:
KDCoordinate topMargin = 0, KDCoordinate rightMargin = 0, KDCoordinate bottomMargin = 0,
KDCoordinate leftMargin = 0, SelectableTableViewDelegate * delegate = nullptr,
bool showIndicators = true, bool colorBackground = true, KDColor backgroundColor = Palette::WallScreen,
KDCoordinate indicatorThickness = 10, KDColor indicatorColor = Palette::GreyMiddle,
KDColor backgroundIndicatorColor = Palette::GreyWhite, KDCoordinate indicatorMargin = 14);
KDCoordinate indicatorThickness = 10, KDColor indicatorColor = Palette::GreyDark,
KDColor backgroundIndicatorColor = Palette::GreyMiddle, KDCoordinate indicatorMargin = 14);
int selectedRow();
int selectedColumn();

View File

@@ -11,8 +11,8 @@ public:
TableView(TableViewDataSource * dataSource, KDCoordinate topMargin = 0,
KDCoordinate rightMargin = 0, KDCoordinate bottomMargin = 0, KDCoordinate leftMargin = 0,
bool showIndicators = true, bool colorBackground = true, KDColor backgroundColor = Palette::WallScreen,
KDCoordinate indicatorThickness = 10, KDColor indicatorColor = Palette::GreyMiddle,
KDColor backgroundIndicatorColor = Palette::GreyWhite, KDCoordinate indicatorMargin = 14);
KDCoordinate indicatorThickness = 10, KDColor indicatorColor = Palette::GreyDark,
KDColor backgroundIndicatorColor = Palette::GreyMiddle, KDCoordinate indicatorMargin = 14);
virtual void scrollToCell(int i, int j);
TableViewCell * cellAtLocation(int i, int j);