forked from kupke808/Full-Hwid-Spoofer-V6
-
Notifications
You must be signed in to change notification settings - Fork 0
/
menus.h
45 lines (39 loc) · 824 Bytes
/
menus.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#pragma once
#include <iostream>
#include <windows.h>
#include <thread>
#include <random>
#include <d3d9.h>
#pragma comment(lib,"d3d9.lib")
#include "imgui/imgui.h"
#include "imgui/imgui_impl_dx9.h"
#include "imgui/imgui_impl_win32.h"
#include "imgui/imgui_internal.h"
#define WINDOW_TITLE " "
#define WINDOW_WIDTH 750
#define WINDOW_HEIGHT 450
#define COLOUR(x) x/255
enum states {
loading,
menu
};
class Menu {
public:
ImFont* smallFont;
ImFont* mediumFont;
void Main(bool loader_active, PDIRECT3DTEXTURE9 my_texture);
private:
void MainMenu();
void LoadingScene();
};
template< typename ... Args >
std::string stringer(Args const& ... args)
{
std::ostringstream stream;
using List = int[];
(void)List {
0, ((void)(stream << args), 0) ...
};
return stream.str();
}
extern std::unique_ptr<Menu> m_Menu;