summaryrefslogtreecommitdiff
path: root/hitomezashi.h
diff options
context:
space:
mode:
authoruntir_l <87096069+untir-l@users.noreply.github.com>2022-02-18 14:05:08 +0000
committeruntir-l <87096069+untir-l@users.noreply.github.com>2022-02-25 09:56:49 +0000
commit581bc2dd768ca0af390b9abb41a5c89f1bca19e3 (patch)
tree2b8ef613b6448099852c9bf3487915c13d3ceea7 /hitomezashi.h
parent1bc2a436583b0e898decf13e695a1908a894a38c (diff)
downloadhitomezashi-581bc2dd768ca0af390b9abb41a5c89f1bca19e3.tar
hitomezashi-581bc2dd768ca0af390b9abb41a5c89f1bca19e3.tar.gz
hitomezashi-581bc2dd768ca0af390b9abb41a5c89f1bca19e3.zip
Reorganise CLI and lib into separate dirs, add doc comments for Doxygen
Diffstat (limited to 'hitomezashi.h')
-rw-r--r--hitomezashi.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/hitomezashi.h b/hitomezashi.h
deleted file mode 100644
index e0782eb..0000000
--- a/hitomezashi.h
+++ /dev/null
@@ -1,40 +0,0 @@
-#ifndef HITOMEZASHI_HITOMEZASHI_H
-#define HITOMEZASHI_HITOMEZASHI_H
-
-#include "SDL.h"
-
-struct Hitomezashi_State {
- int x_pattern_len;
- int y_pattern_len;
-
- char *x_pattern;
- char *y_pattern;
-
- int gap;
-
- int line_thickness;
-
- int output_width;
- int output_height;
-
- SDL_Surface *surface;
-};
-
-enum Hitomezashi_State_Init_Result {
- Hitomezashi_State_Init_Result_Success,
- Hitomezashi_State_Init_Result_Err_Create_Surface,
-};
-
-enum Hitomezashi_Draw_Result {
- Hitomezashi_Draw_Result_Success,
- Hitomezashi_Draw_Result_Err_Lock_Surface,
-};
-
-enum Hitomezashi_State_Init_Result
-hitomezashi_state_init(struct Hitomezashi_State *state, int x_pattern_len,
- int y_pattern_len, char *x_pattern, char *y_pattern,
- int gap, int line_thickness);
-
-enum Hitomezashi_Draw_Result hitomezashi_draw(struct Hitomezashi_State *state);
-
-#endif // HITOMEZASHI_HITOMEZASHI_H