galaxy
1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
Windows.cpp
Go to the documentation of this file.
1
7
8
#include "
Windows.hpp
"
9
10
#ifdef GALAXY_WIN_PLATFORM
11
12
#include <Windows.h>
13
14
namespace
galaxy
15
{
16
namespace
platform
17
{
18
void
configure_terminal() noexcept
19
{
20
HANDLE handle = GetStdHandle(STD_OUTPUT_HANDLE);
21
DWORD mode = 0;
22
23
if
(handle !=
nullptr
)
24
{
25
GetConsoleMode(handle, &mode);
26
SetConsoleMode(handle, mode |= ENABLE_VIRTUAL_TERMINAL_PROCESSING);
27
}
28
}
29
}
// namespace platform
30
}
// namespace galaxy
31
32
#endif
Windows.hpp
galaxy
Timer.hpp galaxy.
Definition
Async.hpp:17
galaxy
src
galaxy
platform
specific
Windows.cpp
Generated on Sat Mar 1 2025 14:49:36 for galaxy by
1.12.0