r5sdk/r5dev/windows/console.h
Kawe Mazidjatari dc8a22c05e Windows: move console color init code to separate function
Reserve Console_Init() for actual console init, if code only needs colors (e.g. a console application that already has a console), then they should call Console_ColorInit().
2024-06-01 11:43:10 +02:00

9 lines
263 B
C

#pragma once
void SetConsoleBackgroundColor(COLORREF color);
void FlashConsoleBackground(int nFlashCount, int nFlashInterval, COLORREF color);
bool Console_Init(const bool bAnsiColor, const bool bWarn = true);
bool Console_ColorInit();
bool Console_Shutdown();