22#include "wx/notebook.h"
27#include "BT_MatML_Base_GUI.h"
28#include "BT_MatML_MatMLInfo_GUI.h"
30#include "BT_MatML_GUI.h"
31#include "BT_MatML_MatMLTreeItemData.h"
32#include "BT_MatML_TreeCtrlSorted.h"
39 GraphDisplay(wxNotebook* parent, wxTextCtrl* graphtextctrl);
40 virtual void OnDraw(wxDC& dc) wxOVERRIDE;
42 wxTextCtrl* m_GraphTextCtrl =
nullptr;
48 wxTextCtrl* m_graphtextctrl;
54 static wxNotebook*
Create(wxWindow* parent, wxTextCtrl*& graphtextctrl,
GraphDisplay*& graphdisplay);
57 void Show(
bool show=
true) {
if (m_GUI !=
nullptr) m_GUI->Show(show); };
58 wxNotebook* get() {
return m_GUI; };
60 void Update(
Graph* element);
62 const wxTreeItemId& ParentId,
64 const wxTreeItemId& PreviousId
69 virtual void OnBumpDown(wxCommandEvent& event) {
event.Skip(); }
70 virtual void OnBumpUp(wxCommandEvent& event) {
event.Skip(); }
88 void OnBumpDown(wxCommandEvent& event);
89 void OnBumpUp(wxCommandEvent& event);
Definition: matml31.hxx:1705
Definition: matml31.hxx:5768
Definition: BT_MatML_Graph_GUI.h:46
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, Graph &Element, const wxTreeItemId &PreviousId)
This set-up the Parent MatML Data into a wxTreeCtrl element and then call on the Children to do the s...
Definition: BT_MatML_Graph_GUI.cpp:137
static wxNotebook * Create(wxWindow *parent, wxTextCtrl *&graphtextctrl, GraphDisplay *&graphdisplay)
Create the GUI for the Graph MatML Data and Info
Definition: BT_MatML_Graph_GUI.cpp:27
Definition: BT_MatML_Graph_GUI.h:76
void SetMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl)
Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived class's ...
Definition: BT_MatML_Graph_GUI.cpp:203
void SetEvtHandlerVar(TreeCtrlSorted *&MatMLTreeCtrl)
Function used to set up this objects member variables which is used in the EventHandler's functions....
Definition: BT_MatML_Graph_GUI.cpp:193
Graph_GUI()
Constructor for the derived class
Definition: BT_MatML_Graph_GUI.cpp:165
virtual ~Graph_GUI()
Destructor for the derived class
Definition: BT_MatML_Graph_GUI.cpp:184
Definition: BT_MatML_Graph_GUI.h:37
Definition: BT_MatML_Base_GUI.h:163
Definition: BT_MatML_TreeCtrlSorted.h:19
Contains the GUI and GUI associated classes. OnInit() calls the creation of the MaterialFrame GUI
Definition: BT_MatML_App.h:39