aboutsummaryrefslogtreecommitdiff
path: root/source2-basehook/Hooks/PaintTraverse.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source2-basehook/Hooks/PaintTraverse.hpp')
-rw-r--r--source2-basehook/Hooks/PaintTraverse.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/source2-basehook/Hooks/PaintTraverse.hpp b/source2-basehook/Hooks/PaintTraverse.hpp
new file mode 100644
index 0000000..5e0fe2a
--- /dev/null
+++ b/source2-basehook/Hooks/PaintTraverse.hpp
@@ -0,0 +1,10 @@
+#pragma once
+#include "../Include.hpp"
+#include "../Source2SDK/ISurface.hpp"
+#include "../Source2SDK/CEngineVGUI.hpp"
+
+typedef void(__fastcall* oPaintTraverse)(void*, IVGuiPaintSurface*, unsigned long long, bool, bool);
+extern oPaintTraverse OriginalPaint;
+
+void __fastcall hkPaintTraverse(void* Panel, IVGuiPaintSurface* Surface, unsigned long long VGuiPanel, bool ForceRepaint, bool AllowForce);
+