mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-30 12:10:03 +02:00
[escher] Change name: pointer->message
Change-Id: I0bd7a7d8da047b03342bec1ff31f29ad7efcc2f6
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user