xtd_c - Reference Guide 0.2.0
console.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include "console_color.h"
8 #include "types.h"
9 
46 
68 void xtd_console_set_buffer_height(int32_t height);
69 
81 
92 void xtd_console_set_buffer_width(int32_t width);
93 
102 
125 void xtd_console_set_cursor_left(int32_t left);
126 
148 void xtd_console_set_cursor_size(int32_t size);
149 
172 void xtd_console_set_cursor_top(int32_t top);
173 
195 void xtd_console_set_cursor_visible(bool visible);
196 
232 void xtd_console_write(const char* format, ...);
233 
242 void xtd_console_write_line(const char* format, ...);
Contains types definitions.
Contains console color definitions.
xtd_console_color xtd_console_get_background_color()
Gets the background color of the console.
int32_t xtd_console_get_buffer_height()
Gets the height of the buffer area.
void xtd_console_set_cursor_visible(bool visible)
Sets a value indicating whether the cursor is visible.
int32_t xtd_console_get_cursor_left()
Gets the column position of the cursor within the buffer area.
int32_t xtd_console_get_cursor_top()
Gets the row position of the cursor within the buffer area.
bool xtd_console_get_cursor_visible()
Gets a value indicating whether the cursor is visible.
void xtd_console_write_line(const char *format,...)
Writes the text representation of the specified list of values, followed by the current line terminat...
void xtd_console_set_cursor_left(int32_t left)
Sets the column position of the cursor within the buffer area.
xtd_console_color xtd_console_get_foreground_color()
Gets the foreground color of the console.
xtd_console_color
Specifies constants that define foreground and background colors for the console. ...
Definition: console_color.h:15
void xtd_console_set_cursor_top(int32_t top)
Sets the row position of the cursor within the buffer area.
int32_t xtd_console_get_buffer_width()
Gets the width of the buffer area.
void xtd_console_set_background_color(xtd_console_color color)
Sets the background color of the console.
void xtd_console_set_buffer_height(int32_t height)
Sets or sets the height of the buffer area.
int32_t xtd_console_get_cursor_size()
Gets or sets the height of the cursor within a character cell.
bool xtd_console_get_caps_lock()
Gets a value indicating whether the CAPS LOCK keyboard toggle is turned on or turned off...
void xtd_console_set_cursor_size(int32_t size)
Sets the height of the cursor within a character cell.
void xtd_console_write(const char *format,...)
Writes the text representation of the specified list of values to the standard output stream using th...
void xtd_console_set_buffer_width(int32_t width)
Sets the width of the buffer area.
void xtd_console_set_foreground_color(xtd_console_color color)
Sets the foreground color of the console.