Commit 59d632a3 authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Add documentation

parent 8d92dd6c
......@@ -53,6 +53,7 @@ Blc core is composed of these five modules (one file each):
///Number of gradual colors we can use.
#define BLC_BAR_COLORS_NB 12
///Bright color
#define BLC_BRIGHT 0x8
///Code to be used in text coloring function (color_id).
......@@ -78,12 +79,19 @@ enum BLC_COLORS{
///eprint for info print (stderr) to oppose standard cursor (stdout) usually not used
#define blc_eprint_cursor_position(row, column) eprintf_escape_command("%d;%dH", row, column);
///eprint for info print (stderr) to oppose standard cursor (stdout) usually not used
#define blc_eprint_cursor_up(rows_nb) eprintf_escape_command("%dA", rows_nb);
///eprint for info print (stderr) to oppose standard cursor (stdout) usually not used
#define blc_eprint_cursor_down(rows_nb) eprintf_escape_command("%dB", rows_nb);
///eprint for info print (stderr) to oppose standard cursor (stdout) usually not used
#define blc_eprint_cursor_up_left(rows_nb) eprintf_escape_command("%dF", rows_nb);
///eprint for info print (stderr) to oppose standard cursor (stdout) usually not used
#define blc_eprint_cursor_down_right(rows_nb) eprintf_escape_command("%dE", rows_nb);
///eprint for info print (stderr) to oppose standard cursor (stdout) usually not used
#define blc_eprint_del_end_line() eprintf_escape_command("0K");
///eprint for info print (stderr) to oppose standard cursor (stdout) usually not used
#define blc_eprint_del_end_screen() eprintf_escape_command("0J");
///eprint for info print (stderr) to oppose standard cursor (stdout) usually not used
#define blc_fprint_del_end_line(file) fprintf_escape_command(file, "0K");
///Shortcut to escape directly on stdout
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment