Skip to content

Commit 489e280

Browse files
committed
feat: Added interface file for defines for viewports
1 parent 911a391 commit 489e280

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/*******************************************************************
2+
* @file viewport_panel_names.hpp
3+
* @brief Macro definitions of viewports used by CBasePlayer::ShowViewPortPanel.
4+
* @author Orsell
5+
* @date 07 2025
6+
*********************************************************************/
7+
8+
#pragma once
9+
10+
#ifndef VIEWPORT_HPP
11+
#define VIEWPORT_HPP
12+
13+
#define PANEL_ALL "all" // all current panels
14+
#define PANEL_ACTIVE "active" // current active panel
15+
#define PANEL_SCOREBOARD "scores"
16+
#define PANEL_PLAYERDETAILS "playerdetails"
17+
#define PANEL_OVERVIEW "overview"
18+
#define PANEL_CLASS "class"
19+
#define PANEL_TEAM "team"
20+
#define PANEL_SPECGUI "specgui" // passive spectator elements (top/bottom bars)
21+
#define PANEL_SPECMENU "specmenu" // active spectator elements (options menus etc)
22+
#define PANEL_INFO "info"
23+
#define PANEL_NAV_PROGRESS "nav_progress"
24+
#define PANEL_BUYPRESET_MAIN "buypreset_main"
25+
#define PANEL_BUYPRESET_EDIT "buypreset_edit"
26+
#define PANEL_INTRO "intro"
27+
#define PANEL_COMMENTARY_MODELVIEWER "commentary_modelviewer"
28+
#define PANEL_SURVEY "surveypanel"
29+
#define PANEL_RADIAL_MENU "radialmenupanel"
30+
31+
#endif

0 commit comments

Comments
 (0)