2 #include "../global_preferences.h" 3 #include "../apps_container.h" 10 m_selectableTableView(this, this, this)
14 for (
int i = 0; i < I18n::NumberOfLanguages; i++) {
30 return &m_selectableTableView;
50 return I18n::NumberOfLanguages;
58 return &m_cells[index];
62 return I18n::NumberOfLanguages;
66 static_cast<MessageTableCell *
>(cell)->setMessage(I18n::LanguageNames[index]);
int numberOfRows() override
HighlightCell * reusableCell(int index) override
enum Message uint16_t enum Language uint16_t const char * translate(Message m, Language l=(Language) 0)
LanguageController(Responder *parentResponder, KDCoordinate topMargin)
void setLanguage(I18n::Language language)
void willDisplayCellForIndex(HighlightCell *cell, int index) override
const char * title() override
void setMessageFontSize(KDText::FontSize fontSize)
I18n::Language language() const
static constexpr KDCoordinate ParameterCellHeight
void setFirstResponder(Responder *responder)
int reusableCellCount() override
void viewWillAppear() override
bool handleEvent(Ion::Events::Event event) override
KDCoordinate cellHeight() override
void selectCellAtLocation(int i, int j)
static GlobalPreferences * sharedGlobalPreferences()
void didBecomeFirstResponder() override