vaxerski / XConsole

XConsole is a Linux-Windows console app library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XConsole

XConsole is a Linux-Windows console app base.

Uses CMake and C++17 (ncurses for UNIX)

Usage

Paste the XConsole/ into your project and #include "XConsole/include.h"

Features

Creates a console window on Linux, allows smooth drawing and refreshing on Windows at any coordinate.

Please note that on Linux the window X and Y are correct, while on Windows the Y is the total amount of lines, usually 9001. (sigh)

RenderSystem

Accessed through a provided g_pRenderSystem pointer.

printAt - Prints a given string at a given coordinate.

Vector2D

normalize - Normalizes the Vector and returns the scale of normalization.

Contributions

Very open! Feel free to contribute, whether it is by making issues or PRs. It's just my side project I do.

About

XConsole is a Linux-Windows console app library.

License:MIT License


Languages

Language:C++ 82.0%Language:CMake 12.4%Language:C 5.5%