shadPS4/src/imgui/imgui_layer.h
Vinicius Rangel 60d8f41181
imgui: add layers system
Add video info layer to show fps. Press F10 to toggle it.
2024-09-05 09:35:06 -03:00

17 lines
337 B
C++

// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
namespace ImGui {
class Layer {
public:
virtual ~Layer() = default;
static void AddLayer(Layer* layer);
static void RemoveLayer(Layer* layer);
virtual void Draw() = 0;
};
} // namespace ImGui