summaryrefslogtreecommitdiff
path: root/BinaryDisplay.cpp
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-06-30 14:35:57 +0930
committerDaniel Jones <admin@danieljon.es>2020-06-30 14:35:57 +0930
commit61a3297b662b1bd8621016c8b5b492dd37bf5675 (patch)
treeb71c302a2a5cf60669ebe987e79f4bc24cf2300a /BinaryDisplay.cpp
parentcad4558e56c8ec39809dd2b1235c6cc09148442b (diff)
downloadfoxlogicgates-61a3297b662b1bd8621016c8b5b492dd37bf5675.tar.gz
foxlogicgates-61a3297b662b1bd8621016c8b5b492dd37bf5675.zip
Functionality: begin implementing binary display
Diffstat (limited to 'BinaryDisplay.cpp')
-rw-r--r--BinaryDisplay.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/BinaryDisplay.cpp b/BinaryDisplay.cpp
new file mode 100644
index 0000000..0e55ba3
--- /dev/null
+++ b/BinaryDisplay.cpp
@@ -0,0 +1,16 @@
+#include "BinaryDisplay.h"
+
+BinaryDisplay::BinaryDisplay(int x_, int y_, int width, int height)
+{
+ x = x_;
+ y = y_;
+ w = width;
+ h = height;
+ set_object_type(Object::BINARYDISPLAY);
+}
+
+void
+BinaryDisplay::update_state()
+{
+ puts("update binary display");
+}