aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2024-08-10 10:50:47 -0400
committerClyne Sullivan <clyne@bitgloo.com>2024-08-10 10:50:47 -0400
commitcd96a31b3ea11edf26512c33ca599258601c31a0 (patch)
treed5cfbb9b3c936f36a4d30f9b8024e3ef7e27bcd7
parent00f84e3b984904e36cbee502a470003ecd7d09cf (diff)
move library to a folder
-rw-r--r--main.cpp9
-rw-r--r--mbuoy/attr/dimensions.hpp (renamed from attr/dimensions.hpp)0
-rw-r--r--mbuoy/attr/ondraw.hpp (renamed from attr/ondraw.hpp)0
-rw-r--r--mbuoy/attr/position.hpp (renamed from attr/position.hpp)0
-rw-r--r--mbuoy/attr/string.hpp (renamed from attr/string.hpp)0
-rw-r--r--mbuoy/find.hpp (renamed from find.hpp)0
-rw-r--r--mbuoy/port.hpp (renamed from port.hpp)0
-rw-r--r--mbuoy/ui/button.hpp (renamed from ui/button.hpp)12
-rw-r--r--mbuoy/ui/label.hpp (renamed from ui/label.hpp)8
-rw-r--r--mbuoy/view.hpp (renamed from view.hpp)0
10 files changed, 16 insertions, 13 deletions
diff --git a/main.cpp b/main.cpp
index 590f1ed..25c6512 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,6 +1,8 @@
-#include "view.hpp"
-#include "ui/button.hpp"
-#include "ui/label.hpp"
+#include "mbuoy/view.hpp"
+#include "mbuoy/ui/button.hpp"
+#include "mbuoy/ui/label.hpp"
+
+#include <cstdio>
void drawButton(const mbuoy::position& pos, const mbuoy::dimensions& dim)
{
@@ -21,6 +23,7 @@ int main()
mbuoy::dimensions(40, 40),
mbuoy::ondraw(drawButton)>{}
>;
+
test.render();
}
diff --git a/attr/dimensions.hpp b/mbuoy/attr/dimensions.hpp
index 9c1fda9..9c1fda9 100644
--- a/attr/dimensions.hpp
+++ b/mbuoy/attr/dimensions.hpp
diff --git a/attr/ondraw.hpp b/mbuoy/attr/ondraw.hpp
index d0932ef..d0932ef 100644
--- a/attr/ondraw.hpp
+++ b/mbuoy/attr/ondraw.hpp
diff --git a/attr/position.hpp b/mbuoy/attr/position.hpp
index dfb9cc7..dfb9cc7 100644
--- a/attr/position.hpp
+++ b/mbuoy/attr/position.hpp
diff --git a/attr/string.hpp b/mbuoy/attr/string.hpp
index d7e1fcb..d7e1fcb 100644
--- a/attr/string.hpp
+++ b/mbuoy/attr/string.hpp
diff --git a/find.hpp b/mbuoy/find.hpp
index edba06d..edba06d 100644
--- a/find.hpp
+++ b/mbuoy/find.hpp
diff --git a/port.hpp b/mbuoy/port.hpp
index 366f498..366f498 100644
--- a/port.hpp
+++ b/mbuoy/port.hpp
diff --git a/ui/button.hpp b/mbuoy/ui/button.hpp
index 4a0a9f5..c6e5b66 100644
--- a/ui/button.hpp
+++ b/mbuoy/ui/button.hpp
@@ -1,12 +1,12 @@
#ifndef MBUOY_UI_BUTTON_HPP
#define MBUOY_UI_BUTTON_HPP
-#include "attr/dimensions.hpp"
-#include "attr/ondraw.hpp"
-#include "attr/position.hpp"
-#include "attr/string.hpp"
-#include "find.hpp"
-#include "port.hpp"
+#include "../attr/dimensions.hpp"
+#include "../attr/ondraw.hpp"
+#include "../attr/position.hpp"
+#include "../attr/string.hpp"
+#include "../find.hpp"
+#include "../port.hpp"
namespace mbuoy {
diff --git a/ui/label.hpp b/mbuoy/ui/label.hpp
index 9524007..c6cc581 100644
--- a/ui/label.hpp
+++ b/mbuoy/ui/label.hpp
@@ -1,10 +1,10 @@
#ifndef MBUOY_UI_LABEL_HPP
#define MBUOY_UI_LABEL_HPP
-#include "attr/position.hpp"
-#include "attr/string.hpp"
-#include "find.hpp"
-#include "port.hpp"
+#include "../attr/position.hpp"
+#include "../attr/string.hpp"
+#include "../find.hpp"
+#include "../port.hpp"
namespace mbuoy {
diff --git a/view.hpp b/mbuoy/view.hpp
index 29915fd..29915fd 100644
--- a/view.hpp
+++ b/mbuoy/view.hpp