css-linux-cheat/include/cstrike/Interfaces/IEngineVGui.h

26 lines
457 B
C++

#pragma once
enum VGuiPanel_t {
PANEL_ROOT = 0,
PANEL_GAMEUIDLL,
PANEL_CLIENTDLL,
PANEL_TOOLS,
PANEL_INGAMESCREENS,
PANEL_GAMEDLL,
PANEL_CLIENTDLL_TOOLS
};
enum PaintMode_t {
PAINT_UIPANELS = (1 << 0),
PAINT_INGAMEPANELS = (1 << 1),
PAINT_CURSOR = (1 << 2)
};
class IEngineVGui {
public:
virtual ~IEngineVGui(void) {};
virtual VPANEL GetPanel(VGuiPanel_t type) = 0;
virtual bool IsGameUIVisible() = 0;
};
extern IEngineVGui* enginevgui;