mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
rsx/overlays: Move shader compiling notification to a separate cpp file
This commit is contained in:
parent
e96fedfefe
commit
2503525016
2 changed files with 21 additions and 13 deletions
|
@ -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>());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue