mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-23 15:50:49 +01:00
[apps/sequence] Personalize the button "add a function" for sequence app
Change-Id: Ie84757feec57a934c80573ad24b71e868c0d7b81
This commit is contained in:
@@ -3,11 +3,10 @@
|
||||
|
||||
namespace Shared {
|
||||
|
||||
NewFunctionCell::NewFunctionCell() :
|
||||
NewFunctionCell::NewFunctionCell(const char * text) :
|
||||
EvenOddCell(),
|
||||
m_pointerTextView(PointerTextView(KDText::FontSize::Large, nullptr, 0.5f, 0.5f))
|
||||
m_pointerTextView(PointerTextView(KDText::FontSize::Large, text, 0.5f, 0.5f))
|
||||
{
|
||||
m_pointerTextView.setText(text());
|
||||
}
|
||||
|
||||
void NewFunctionCell::reloadCell() {
|
||||
@@ -28,8 +27,4 @@ void NewFunctionCell::layoutSubviews() {
|
||||
m_pointerTextView.setFrame(bounds());
|
||||
}
|
||||
|
||||
const char * NewFunctionCell::text() {
|
||||
return "Ajouter une fonction";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user