summaryrefslogtreecommitdiff
path: root/include/graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/graph.h')
-rw-r--r--include/graph.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/graph.h b/include/graph.h
index 8e09bac..f04bfb5 100644
--- a/include/graph.h
+++ b/include/graph.h
@@ -1,13 +1,18 @@
#ifndef MINO_GRAPH_H
#define MINO_GRAPH_H
#define GRAPH_GLSL(...)"#version 330 core\n"#__VA_ARGS__
+X U32 graph_win_w,graph_win_h;
+
X V graph_init(V);
X V graph_deinit(V);
X V graph_events(V);
X V graph_before(V);
X V graph_after(V);
-X V graph_quad(V);
X U32 graph_ticks(V);
+
+X V graph_quad(vec2,vec2);
+X V graph_quad_xywh(F32,F32,F32,F32);
+
X U32 graph_shader_create(IM C*,IM C*);
X U32 graph_shader_tex;
X V graph_shader_use(U32);