public void DrawParameters(NodeParametersPanel nodeParametersPanel) { if (!_isExpanded) { return; } nodeParametersPanel.Draw(BRect); }
public QuestionNodePresenter(INodeView nodeView, NodeData nodeData, ConnectionPointPresenter connectionPointInPresenter, ConnectionPointPresenter connectionPointOutPresenter) : base(nodeView, nodeData, connectionPointInPresenter, connectionPointOutPresenter) { _nodeView = nodeView; var parameter = new NodeParameter("Texture Path") { IsClickable = true }; _nodeParametersPanel = new NodeParametersPanel(new List <NodeParameter> { parameter }); }
public SetBackgroundNodePresenter(SetBackgroundNodeView nodeView, NodeData nodeData, ConnectionPointPresenter connectionPointInPresenter, ConnectionPointPresenter connectionPointOutPresenter) : base(nodeView, nodeData, connectionPointInPresenter, connectionPointOutPresenter) { _nodeView = nodeView; var parameter = new NodeParameter("Texture Path") { IsClickable = true }; parameter.Clicked += OnTextureParameterClicked; _nodeParametersPanel = new NodeParametersPanel(new List <NodeParameter> { parameter }); }
protected void DrawParameters(NodeParametersPanel nodeParametersPanel) { _nodeView.DrawParameters(nodeParametersPanel); }
public void DrawParameters(NodeParametersPanel nodeParametersPanel) { _nodeView.DrawParameters(nodeParametersPanel); }