mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 05:40:38 +01:00
[apps] Inline shared/store_parameter_controller.h
This commit is contained in:
@@ -16,18 +16,10 @@ StoreParameterController::StoreParameterController(Responder * parentResponder,
|
||||
{
|
||||
}
|
||||
|
||||
void StoreParameterController::selectXColumn(bool xColumnSelected) {
|
||||
m_xColumnSelected = xColumnSelected;
|
||||
}
|
||||
|
||||
const char * StoreParameterController::title() {
|
||||
return I18n::translate(I18n::Message::ColumnOptions);
|
||||
}
|
||||
|
||||
View * StoreParameterController::view() {
|
||||
return &m_selectableTableView;
|
||||
}
|
||||
|
||||
void StoreParameterController::didBecomeFirstResponder() {
|
||||
selectCellAtLocation(0, 0);
|
||||
app()->setFirstResponder(&m_selectableTableView);
|
||||
@@ -62,10 +54,6 @@ bool StoreParameterController::handleEvent(Ion::Events::Event event) {
|
||||
return false;
|
||||
}
|
||||
|
||||
int StoreParameterController::numberOfRows() {
|
||||
return k_totalNumberOfCell;
|
||||
};
|
||||
|
||||
HighlightCell * StoreParameterController::reusableCell(int index) {
|
||||
assert(index >= 0);
|
||||
assert(index < k_totalNumberOfCell);
|
||||
@@ -73,12 +61,4 @@ HighlightCell * StoreParameterController::reusableCell(int index) {
|
||||
return cells[index];
|
||||
}
|
||||
|
||||
int StoreParameterController::reusableCellCount() {
|
||||
return k_totalNumberOfCell;
|
||||
}
|
||||
|
||||
KDCoordinate StoreParameterController::cellHeight() {
|
||||
return Metric::ParameterCellHeight;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user