mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
feat(console): add CONSOLELINE class (#120)
This commit is contained in:
parent
9b4e0cfded
commit
9b46d51508
@ -1,6 +1,23 @@
|
|||||||
#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