PeriDyno 1.2.1
Loading...
Searching...
No Matches
WNodeGraphics.cpp
Go to the documentation of this file.
1#include "WNodeGraphics.h"
2
3
5{
6 layout = this->setLayout(std::make_unique<Wt::WVBoxLayout>());
7 layout->setContentsMargins(0, 0, 0, 0);
8 this->setMargin(0);
9
10 // add node
11 addPanel = layout->addWidget(std::make_unique<Wt::WPanel>());
12 addPanel->setTitle("Add Node");
13 addPanel->setCollapsible(false);
14
15 // node graphics
16 nodePanel = layout->addWidget(std::make_unique<Wt::WPanel>());
17 nodePanel->setTitleBar(false);
18 nodePanel->setCollapsible(false);
19 nodePanel->setMargin(0);
20}
21
Wt::WVBoxLayout * layout
Wt::WPanel * nodePanel
Wt::WPanel * addPanel