mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(console): implement ResetHighlight
This commit is contained in:
parent
669e093ef2
commit
fb6437f9ff
@ -25,6 +25,7 @@ static HIGHLIGHTSTATE s_highlightState;
|
|||||||
static HLAYER s_layerBackground;
|
static HLAYER s_layerBackground;
|
||||||
static HLAYER s_layerText;
|
static HLAYER s_layerText;
|
||||||
static RECTF s_rect = { 0.0f, 1.0f, 1.0f, 1.0f };
|
static RECTF s_rect = { 0.0f, 1.0f, 1.0f, 1.0f };
|
||||||
|
static RECTF s_hRect = { 0.0f, 0.0f, 1.0f, 1.0f };
|
||||||
static HTEXTFONT s_textFont;
|
static HTEXTFONT s_textFont;
|
||||||
|
|
||||||
static CImVector s_colorArray[] = {
|
static CImVector s_colorArray[] = {
|
||||||
@ -88,7 +89,8 @@ void PaintText(void* param, const RECTF* rect, const RECTF* visible, float elaps
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ResetHighlight() {
|
void ResetHighlight() {
|
||||||
// TODO
|
s_highlightState = HS_NONE;
|
||||||
|
s_hRect = { 0.0f, 0.0f, 0.0f, 0.0f };
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConsoleScreenAnimate(float elapsedSec) {
|
void ConsoleScreenAnimate(float elapsedSec) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user