commit 4635d73
uint
·
2026-05-07 15:00:19 +0000 UTC
parent 246fde6
fix docs cr->rw, add @return to font_load
2 files changed,
+4,
-2
+2,
-2
1@@ -22,7 +22,7 @@ void draw_clear(uint32_t* dst, int w, int h, uint32_t col);
2 * @param w width of buffer
3 * @param h height of buffer
4 * @param cl cell column
5- * @param cr cell row
6+ * @param rw cell row
7 * @param cw cell width
8 * @param ch cell height
9 * @param bg cell background colour
10@@ -37,7 +37,7 @@ void draw_cell(uint32_t* dst, int w, int h, int cl, int rw, int cw, int ch,
11 * @param w width of buffer
12 * @param h height of buffer
13 * @param cl cell column
14- * @param cr cell row
15+ * @param rw cell row
16 * @param cw cell width
17 * @param ch cell height
18 * @param fg cell foreground colour
+2,
-0
1@@ -22,6 +22,8 @@ typedef struct {
2 * @param f font struct to write info to
3 * @param path font path
4 * @param size size of font
5+ *
6+ * @return 1=success, -1=failed
7 */
8 int font_load(Font* f, const char* path, double size);
9