feat(ui): add ingame overlay (#910)

* feat(overlay): add current time
* feat(overlay): add customization options
* fix(overlay): use local time zone
* fix(overlay): enable by default
* feat(overlay): add position modification
This commit is contained in:
Johann
2023-01-31 00:21:29 +01:00
committed by GitHub
parent 111e4dc19d
commit ef3decba53
5 changed files with 92 additions and 2 deletions

View File

@ -15,10 +15,11 @@ namespace big
{
g_renderer->add_dx_callback(view::gta_data, -1); // -1 highest priority of drawing
g_renderer->add_dx_callback(view::notifications, -2); // second highest priority
g_renderer->add_dx_callback(view::overlay, -3); // 3rd highest priority
g_renderer->add_dx_callback([this]
{
dx_on_tick();
}, -3); // 3rd highest priority
}, -4); // 4th highest priority
g_renderer->add_wndproc_callback([this](HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
{