summaryrefslogtreecommitdiff
path: root/tikzit/src/data/nodestyle.cpp
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-01-04 16:00:52 +0100
committerAleks Kissinger <aleks0@gmail.com>2018-01-04 16:00:52 +0100
commit738ecbd5fad2b46836bfd6a94aeebf165ae2bbca (patch)
treedf04709807cc9ec8481a3ebc7d80ac25e5b2f457 /tikzit/src/data/nodestyle.cpp
parent0421a96749743868554d44585050b1b3d04864d2 (diff)
relocated source code to the root
Diffstat (limited to 'tikzit/src/data/nodestyle.cpp')
-rw-r--r--tikzit/src/data/nodestyle.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/tikzit/src/data/nodestyle.cpp b/tikzit/src/data/nodestyle.cpp
deleted file mode 100644
index 7eca791..0000000
--- a/tikzit/src/data/nodestyle.cpp
+++ /dev/null
@@ -1,32 +0,0 @@
-#include "nodestyle.h"
-
-NodeStyle *noneStyle = new NodeStyle();
-
-NodeStyle::NodeStyle()
-{
- name = "none";
- shape = NodeShape::Circle;
- fillColor = Qt::white;
- strokeColor = Qt::black;
- strokeThickness = 1;
-}
-
-NodeStyle::NodeStyle(QString nm, NodeShape sh, QColor fillCol)
-{
- name = nm;
- shape = sh;
- fillColor = fillCol;
- strokeColor = Qt::black;
- strokeThickness = 1;
-}
-
-NodeStyle::NodeStyle(QString nm, NodeShape sh, QColor fillCol, QColor strokeCol, int strokeThick)
-{
- name = nm;
- shape = sh;
- fillColor = fillCol;
- strokeColor = strokeCol;
- strokeThickness = strokeThick;
-}
-
-bool NodeStyle::isNone() { return name == "none"; }