mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 00:32:45 +03:00
feat(console): add CONSOLELINE class
This commit is contained in:
parent
b370d86f7d
commit
eee9cd6d24
@ -1,6 +1,24 @@
|
|||||||
#ifndef CONSOLE_SCREEN_HPP
|
#ifndef CONSOLE_SCREEN_HPP
|
||||||
#define CONSOLE_SCREEN_HPP
|
#define CONSOLE_SCREEN_HPP
|
||||||
|
|
||||||
|
#include "console/Types.hpp"
|
||||||
|
#include <storm/List.hpp>
|
||||||
|
|
||||||
|
class CGxString;
|
||||||
|
|
||||||
|
class CONSOLELINE : public TSLinkedNode<CONSOLELINE> {
|
||||||
|
public:
|
||||||
|
|
||||||
|
// Member variables
|
||||||
|
char* buffer;
|
||||||
|
uint32_t chars;
|
||||||
|
uint32_t charsalloc;
|
||||||
|
uint32_t inputpos;
|
||||||
|
uint32_t inputstart;
|
||||||
|
COLOR_T colorType;
|
||||||
|
CGxString* fontPointer;
|
||||||
|
};
|
||||||
|
|
||||||
void ConsoleScreenAnimate(float elapsedSec);
|
void ConsoleScreenAnimate(float elapsedSec);
|
||||||
|
|
||||||
void ConsoleScreenInitialize(const char* title);
|
void ConsoleScreenInitialize(const char* title);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user