aboutsummaryrefslogtreecommitdiffstats
path: root/libcharconv.h
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-01-25 23:08:40 +0100
committerMattias Andrée <m@maandree.se>2026-01-25 23:08:40 +0100
commitd0caefee7e2a45aebf14a6911021c7af9aed2a9f (patch)
tree72c074eebb678316d6e636767ab29494ef102b30 /libcharconv.h
parentAdd control character representations (diff)
downloadcharconv-d0caefee7e2a45aebf14a6911021c7af9aed2a9f.tar.gz
charconv-d0caefee7e2a45aebf14a6911021c7af9aed2a9f.tar.bz2
charconv-d0caefee7e2a45aebf14a6911021c7af9aed2a9f.tar.xz
Add chess
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libcharconv.h')
-rw-r--r--libcharconv.h45
1 files changed, 43 insertions, 2 deletions
diff --git a/libcharconv.h b/libcharconv.h
index 14627c6..fb8fa60 100644
--- a/libcharconv.h
+++ b/libcharconv.h
@@ -335,6 +335,9 @@ LIBCHARCONV_FUNC_(libcharconv_flipped);
/**
* Overlay characters
+ *
+ * Filled and outlined characters can be combined
+ * to create a mixed, when there is a mixed version
*/
LIBCHARCONV_FUNC_(libcharconv_overlaid);
@@ -391,13 +394,13 @@ LIBCHARCONV_FUNC_(libcharconv_symbols);
LIBCHARCONV_FUNC_(libcharconv_control_characters);
/**
- * Convert characters Xiangqi pieces, with red
+ * Convert characters xiangqi pieces, with red
* as the default colour
*/
LIBCHARCONV_FUNC_(libcharconv_xiangqi_red);
/**
- * Convert characters Xiangqi pieces, with black
+ * Convert characters xiangqi pieces, with black
* as the default colour
*/
LIBCHARCONV_FUNC_(libcharconv_xiangqi_black);
@@ -409,6 +412,44 @@ LIBCHARCONV_FUNC_(libcharconv_xiangqi_black);
*/
LIBCHARCONV_FUNC_(libcharconv_control_character_representations);
+/**
+ * Convert characters xiangqi pieces, with white
+ * as the default colour
+ */
+LIBCHARCONV_FUNC_(libcharconv_chess_white);
+
+/**
+ * Convert characters chess pieces, with black
+ * as the default colour
+ */
+LIBCHARCONV_FUNC_(libcharconv_chess_black);
+
+/**
+ * Convert characters chess pieces, with
+ * neutral colour
+ */
+LIBCHARCONV_FUNC_(libcharconv_chess_neutral);
+
+/**
+ * Rotate characters 45 degrees clockwise
+ */
+LIBCHARCONV_FUNC_(libcharconv_rotated_45deg_cw);
+
+/**
+ * Rotate characters 45 degrees counter-clockwise
+ */
+LIBCHARCONV_FUNC_(libcharconv_rotated_45deg_ccw);
+
+/**
+ * Rotate characters 90 degrees clockwise
+ */
+LIBCHARCONV_FUNC_(libcharconv_rotated_90deg_cw);
+
+/**
+ * Rotate characters 90 degrees counter-clockwise
+ */
+LIBCHARCONV_FUNC_(libcharconv_rotated_90deg_ccw);
+
#undef LIBCHARCONV_FUNC_
#endif