xtd_c - Reference Guide 0.2.0
console.h File Reference
#include "console_color.h"
#include "types.h"

Definition

Contains console definitions.

Go to the source code of this file.

Properties

xtd_console_color xtd_console_get_background_color ()
 Gets the background color of the console. More...
 
void xtd_console_set_background_color (xtd_console_color color)
 Sets the background color of the console. More...
 
int32_t xtd_console_get_buffer_height ()
 Gets the height of the buffer area. More...
 
void xtd_console_set_buffer_height (int32_t height)
 Sets or sets the height of the buffer area. More...
 
int32_t xtd_console_get_buffer_width ()
 Gets the width of the buffer area. More...
 
void xtd_console_set_buffer_width (int32_t width)
 Sets the width of the buffer area. More...
 
bool xtd_console_get_caps_lock ()
 Gets a value indicating whether the CAPS LOCK keyboard toggle is turned on or turned off. More...
 
int32_t xtd_console_get_cursor_left ()
 Gets the column position of the cursor within the buffer area. More...
 
void xtd_console_set_cursor_left (int32_t left)
 Sets the column position of the cursor within the buffer area. More...
 
int32_t xtd_console_get_cursor_size ()
 Gets or sets the height of the cursor within a character cell. More...
 
void xtd_console_set_cursor_size (int32_t size)
 Sets the height of the cursor within a character cell. More...
 
int32_t xtd_console_get_cursor_top ()
 Gets the row position of the cursor within the buffer area. More...
 
void xtd_console_set_cursor_top (int32_t top)
 Sets the row position of the cursor within the buffer area. More...
 
bool xtd_console_get_cursor_visible ()
 Gets a value indicating whether the cursor is visible. More...
 
void xtd_console_set_cursor_visible (bool visible)
 Sets a value indicating whether the cursor is visible. More...
 
xtd_console_color xtd_console_get_foreground_color ()
 Gets the foreground color of the console. More...
 
void xtd_console_set_foreground_color (xtd_console_color color)
 Sets the foreground color of the console. More...
 

Methods

void xtd_console_write (const char *format,...)
 Writes the text representation of the specified list of values to the standard output stream using the specified format information. More...
 
void xtd_console_write_line (const char *format,...)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the standard output stream using the specified format information. More...