diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-12-02 14:20:48 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-12-02 14:29:13 +0100 |
commit | 14770f42df291753a240def91fb488a904a909c1 (patch) | |
tree | c1ef52c408cb365890da4aeb5536256040bb96fd /include/common.h |
Initial commit, set up skeleton with list and button
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h new file mode 100644 index 0000000..3fb4f6f --- /dev/null +++ b/include/common.h @@ -0,0 +1,9 @@ +#ifndef MGUI_COMMON_H +#define MGUI_COMMON_H + +#include <mgl/system/vec.h> +#include <stdbool.h> + +bool mgui_rectangle_contains(mgl_vec2f rectangle_pos, mgl_vec2f rectangle_size, mgl_vec2f point); + +#endif /* MGUI_COMMON_H */ |