mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[shared] Clean class names containing storage
This commit is contained in:
22
apps/shared/values_function_parameter_controller.cpp
Normal file
22
apps/shared/values_function_parameter_controller.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#include "values_function_parameter_controller.h"
|
||||
#include "function_app.h"
|
||||
#include <assert.h>
|
||||
|
||||
namespace Shared {
|
||||
|
||||
const char * ValuesFunctionParameterController::title() {
|
||||
return m_pageTitle;
|
||||
}
|
||||
|
||||
void ValuesFunctionParameterController::viewWillAppear() {
|
||||
FunctionApp * myApp = static_cast<FunctionApp *>(app());
|
||||
myApp->functionStore()->modelForRecord(m_record)->nameWithArgument(m_pageTitle, Function::k_maxNameWithArgumentSize, m_symbol);
|
||||
}
|
||||
|
||||
void ValuesFunctionParameterController::didBecomeFirstResponder() {
|
||||
m_selectableTableView.reloadData();
|
||||
selectCellAtLocation(0, 0);
|
||||
app()->setFirstResponder(&m_selectableTableView);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user