mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-23 07:40:42 +01:00
[escher] Clean Field and Input class hierarchy:
Class hierarchy: - InputEventHandler - TextInput - EditableField derives from InputEventHandler - LayoutField, TextField and ExpressioField derives from EditableField - TextArea and TextField derives from TextInput
This commit is contained in:
@@ -13,14 +13,14 @@ class VariableBoxController : public StackViewController {
|
||||
public:
|
||||
VariableBoxController(App * pythonDelegate, ScriptStore * scriptStore);
|
||||
void didBecomeFirstResponder() override;
|
||||
void setTextInputCaller(TextInput * textInput);
|
||||
void setSender(InputEventHandler * sender);
|
||||
void viewWillAppear() override;
|
||||
void viewDidDisappear() override;
|
||||
private:
|
||||
class ContentViewController : public ViewController, public SimpleListViewDataSource, public SelectableTableViewDataSource {
|
||||
public:
|
||||
ContentViewController(Responder * parentResponder, App * pythonDelegate, ScriptStore * scriptStore);
|
||||
void setTextInputCaller(TextInput * textInput);
|
||||
void setSender(InputEventHandler * sender);
|
||||
void reloadData();
|
||||
|
||||
void addFunctionAtIndex(const char * functionName, int scriptIndex);
|
||||
@@ -52,7 +52,7 @@ private:
|
||||
ScriptNode m_scriptNodes[k_maxScriptNodesCount];
|
||||
App * m_pythonDelegate;
|
||||
ScriptStore * m_scriptStore;
|
||||
TextInput * m_textInputCaller;
|
||||
InputEventHandler * m_sender;
|
||||
ScriptNodeCell m_leafCells[k_maxNumberOfDisplayedRows];
|
||||
SelectableTableView m_selectableTableView;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user