mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 22:00:28 +01:00
[apps] Graph: all contexts parse x now so no need for a specific one in
graph
This commit is contained in:
@@ -57,7 +57,6 @@ void App::Snapshot::tidy() {
|
||||
|
||||
App::App(Container * container, Snapshot * snapshot) :
|
||||
FunctionApp(container, snapshot, &m_inputViewController),
|
||||
m_xContext('x',((AppsContainer *)container)->globalContext()),
|
||||
m_listController(&m_listFooter, snapshot->functionStore(), &m_listHeader, &m_listFooter),
|
||||
m_listFooter(&m_listHeader, &m_listController, &m_listController, ButtonRowController::Position::Bottom, ButtonRowController::Style::EmbossedGrey),
|
||||
m_listHeader(&m_listStackViewController, &m_listFooter, &m_listController),
|
||||
@@ -79,13 +78,6 @@ InputViewController * App::inputViewController() {
|
||||
return &m_inputViewController;
|
||||
}
|
||||
|
||||
Context * App::localContext() {
|
||||
if (m_tabViewController.activeTab() == 0) {
|
||||
return &m_xContext;
|
||||
}
|
||||
return TextFieldDelegateApp::localContext();
|
||||
}
|
||||
|
||||
const char * App::XNT() {
|
||||
return "x";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user