summaryrefslogtreecommitdiff
path: root/src/view_2d.hpp
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2022-09-21 13:57:31 -0300
committerFrederico Linhares <fred@linhares.blue>2022-09-21 14:33:18 -0300
commit78db82c0dac8db90a3de1004e5428f225947b2b9 (patch)
treef6e6191a7974b2d15b92a9a67fab167bb330ca61 /src/view_2d.hpp
parentdafe4a4335f48ce4098935bdf0333beac2ded2ed (diff)
feat Create View2D
Diffstat (limited to 'src/view_2d.hpp')
-rw-r--r--src/view_2d.hpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/view_2d.hpp b/src/view_2d.hpp
new file mode 100644
index 0000000..0b33380
--- /dev/null
+++ b/src/view_2d.hpp
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2022 Frederico de Oliveira Linhares
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef CANDY_GEAR_VIEW_2D_H
+#define CANDY_GEAR_VIEW_2D_H 1
+
+#include "core.hpp"
+
+extern const struct mrb_data_type cg_view_2d_type;
+
+void
+cg_view_2d_init(mrb_state *mrb);
+
+#endif /* CANDY_GEAR_VIEW_2D_H */