mirror of
https://github.com/libretro/Mesen.git
synced 2025-01-07 17:31:00 +00:00
27 lines
823 B
C++
27 lines
823 B
C++
#pragma once
|
|
#include "stdafx.h"
|
|
#include "../Utilities/SimpleLock.h"
|
|
#include "EmulationSettings.h"
|
|
|
|
class DrawCommand;
|
|
|
|
class DebugHud
|
|
{
|
|
private:
|
|
vector<shared_ptr<DrawCommand>> _commands;
|
|
SimpleLock _commandLock;
|
|
|
|
public:
|
|
DebugHud();
|
|
~DebugHud();
|
|
|
|
void Draw(uint32_t* argbBuffer, OverscanDimensions overscan, uint32_t width, uint32_t frameNumber);
|
|
void ClearScreen();
|
|
|
|
void DrawPixel(int x, int y, int color, int frameCount, int startFrame);
|
|
void DrawLine(int x, int y, int x2, int y2, int color, int frameCount, int startFrame);
|
|
void DrawRectangle(int x, int y, int width, int height, int color, bool fill, int frameCount, int startFrame);
|
|
void DrawScreenBuffer(uint32_t* screenBuffer, int startFrame);
|
|
void DrawString(int x, int y, string text, int color, int backColor, int frameCount, int startFrame);
|
|
};
|