mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[escher] Clean the ScrollView, TableView and SelectableTableView constructors
This commit is contained in:
committed by
EmilieNumworks
parent
c934eab947
commit
84561a929f
@@ -163,7 +163,7 @@ I18n::Message FloatParameterController::okButtonText() {
|
||||
}
|
||||
|
||||
View * FloatParameterController::loadView() {
|
||||
SelectableTableView * tableView = new SelectableTableView(this, this, 0, 1, Metric::CommonTopMargin, Metric::CommonRightMargin, Metric::CommonBottomMargin, Metric::CommonLeftMargin, this);
|
||||
SelectableTableView * tableView = new SelectableTableView(this, this, this);
|
||||
m_okButton = new ButtonWithSeparator(tableView, okButtonText(), Invocation([](void * context, void * sender) {
|
||||
FloatParameterController * parameterController = (FloatParameterController *) context;
|
||||
parameterController->buttonAction();
|
||||
|
||||
Reference in New Issue
Block a user