rsx/overlays: Move shader compiling notification to a separate cpp file
This commit is contained in:
@@ -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>());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,21 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "overlays.h"
|
|
||||||
#include "overlay_message.h"
|
|
||||||
#include "overlay_loading_icon.hpp"
|
|
||||||
|
|
||||||
namespace rsx
|
namespace rsx
|
||||||
{
|
{
|
||||||
namespace overlays
|
namespace overlays
|
||||||
{
|
{
|
||||||
static inline void show_shader_compile_notification()
|
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>());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user