rsx/overlays: Move shader compiling notification to a separate cpp file

This commit is contained in:
kd-11 2023-02-03 03:24:05 +03:00 committed by kd-11
parent e96fedfefe
commit 2503525016
2 changed files with 21 additions and 13 deletions

View file

@ -0,0 +1,20 @@
#include "stdafx.h"
#include "overlays.h"
#include "overlay_message.h"
#include "overlay_loading_icon.hpp"
namespace rsx
{
namespace overlays
{
void show_shader_compile_notification()
{
queue_message(
localized_string_id::RSX_OVERLAYS_COMPILING_SHADERS,
5'000'000,
{},
message_pin_location::bottom,
std::make_unique<loading_icon24>());
}
}
}

View file

@ -1,21 +1,9 @@
#pragma once
#include "overlays.h"
#include "overlay_message.h"
#include "overlay_loading_icon.hpp"
namespace rsx
{
namespace overlays
{
static inline void show_shader_compile_notification()
{
queue_message(
localized_string_id::RSX_OVERLAYS_COMPILING_SHADERS,
5'000'000,
{},
message_pin_location::bottom,
std::make_unique<loading_icon24>());
}
void show_shader_compile_notification();
}
}