[escher] Change name: pointer->message

Change-Id: I0bd7a7d8da047b03342bec1ff31f29ad7efcc2f6
This commit is contained in:
Émilie Feral
2017-03-16 09:42:22 +01:00
parent 6847ff77d0
commit 1f21251011
121 changed files with 484 additions and 484 deletions

View File

@@ -5,13 +5,13 @@ namespace Shared {
NewFunctionCell::NewFunctionCell(I18n::Message text) :
EvenOddCell(),
m_pointerTextView(PointerTextView(KDText::FontSize::Large, text, 0.5f, 0.5f))
m_messageTextView(MessageTextView(KDText::FontSize::Large, text, 0.5f, 0.5f))
{
}
void NewFunctionCell::reloadCell() {
EvenOddCell::reloadCell();
m_pointerTextView.setBackgroundColor(backgroundColor());
m_messageTextView.setBackgroundColor(backgroundColor());
}
int NewFunctionCell::numberOfSubviews() const {
@@ -20,11 +20,11 @@ int NewFunctionCell::numberOfSubviews() const {
View * NewFunctionCell::subviewAtIndex(int index) {
assert(index == 0);
return &m_pointerTextView;
return &m_messageTextView;
}
void NewFunctionCell::layoutSubviews() {
m_pointerTextView.setFrame(bounds());
m_messageTextView.setFrame(bounds());
}
}