Mesen/Core/VideoHud.h
Souryo 850102bbdc Input: Added support for ~20 new peripherals (Incomplete, more fixes/changes to come)
Movies: Rewrote format to support all IO devices and console types
Netplay: Now supports all IO devices and console types
2017-11-19 23:08:23 -05:00

22 lines
694 B
C++

#pragma once
#include "stdafx.h"
#include "EmulationSettings.h"
#include "FrameInfo.h"
struct ControlDeviceState;
class VideoHud
{
private:
static const vector<uint32_t> _gamePads[4];
static const vector<uint32_t> _playIcon;
static const vector<uint32_t> _recordIcon;
void BlendColors(uint32_t* output, uint32_t input);
bool DisplayControllerInput(ControlDeviceState &state, int inputPort, uint8_t *outputBuffer, FrameInfo &frameInfo, OverscanDimensions &overscan, uint32_t displayIndex);
void DrawMovieIcons(uint8_t *outputBuffer, FrameInfo &frameInfo, OverscanDimensions &overscan);
public:
void DrawHud(uint8_t *outputBuffer, FrameInfo frameInfo, OverscanDimensions overscan);
};