Customizable Console - Let's you to to make cool looking applications on terminal. ~ Your Program, Your Style
CMIT
Customizable Console - Let's you to to make cool looking applications on terminal. ~ Your Program, Your Style.
Platform Support
Supports for platforms:
OS
USE
Windows
Limited
Linux
Fully Working
MacOS
Limited
Installation
You can just copy header file in src directory, but if you want all documents, examples and source i used, you can copy git repo.
How To Use
There are couple of functions and attributes you can use. To understand things better we have naming styles. They are separated from original name with underline ('_'). Here are they:
Style
Type
C
Foreground Color
BG
Background Color
S
Text Styles
A
Reset Property
E
ASCII Escape Sequences
c
Functions
R
Cursor Properties
Now let's look at functions we can use.
c_setAttribute
This function gets a parameter (like C, BG or S) and applies it.
c_drawHorizontalLine
This function draws a line on screen.
c_draw_text_box And c_draw_box
These functions draws a box on screen, c_draw_text_box also prints text inside box
c_draw_circle, c_draw_triangle And c_draw_text_triangle
These functions draws different shapes on screen.
Linux only functions
Given functions are linux only:
Use cases
Trying to make game or a visual app with this header file is not recommended, But this library helps you make your terminal app look a bit better, but not like a true visual app. If you're looking for a basic library / header / framework to make a C/C++ GUI app, I prefer you to use WinForms extension for C++.