Let us start here, from square one. No, from Zero!

This commit is contained in:
smpn2
2022-09-30 22:45:51 +09:00
parent 14215af0d1
commit b7a60638a4
1005 changed files with 303069 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
#ifndef SPICETOOLS_OVERLAY_WINDOWS_SDVX_SUB_H
#define SPICETOOLS_OVERLAY_WINDOWS_SDVX_SUB_H
#include <optional>
#include <windows.h>
#include <d3d9.h>
#include "overlay/window.h"
namespace overlay::windows {
class SDVXSubScreen : public Window {
public:
SDVXSubScreen(SpiceOverlay *overlay);
void build_content() override;
private:
bool build_texture(IDirect3DSurface9 *surface);
void draw_texture();
std::optional<std::string> status_message = std::nullopt;
IDirect3DDevice9 *device = nullptr;
IDirect3DTexture9 *texture = nullptr;
ImVec2 texture_size;
};
}
#endif // SPICETOOLS_OVERLAY_WINDOWS_SDVX_SUB_H