-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathwindow.h
37 lines (33 loc) · 859 Bytes
/
window.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
#ifndef WINDOW_H
#define WINDOW_H
#include <sstream>
#include <qtextstream.h>
#include <QWidget>
#include <QDebug>
#include <QDesktopWidget>
#include <QPushButton>
#include <QPainter>
#include <QGuiApplication>
#include <QScreen>
#include <QTimer>
//#include "esp.h"
#include "hack.h"
class qWindow : public QWidget
{
Q_OBJECT
public:
explicit qWindow(QWidget *parent = 0);
void drawESPBoxes(std::array<EntityToScreen,64> &entitiesToScreen, QPainter &painter,QPen &pen, QFont &font);
void drawToggleMenu(QPainter &painter, QPen &pen, QFont &font);
void drawHitmarker(float width, QPainter &painter, QPen &pen);
std::array<EntityToScreen,64> entitiesToScreen;
Vector rcsCross;
private:
QPushButton *m_button;
protected:
void paintEvent(QPaintEvent *event);
signals:
public slots:
void callback();
};
#endif // WINDOW_H