Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.4 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #if !defined( VGUI_INT_H )
  8. #define VGUI_INT_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "interface.h"
  13. #include <vgui/vgui.h>
  14. namespace vgui
  15. {
  16. class Panel;
  17. }
  18. struct vrect_t;
  19. bool VGui_Startup( CreateInterfaceFn appSystemFactory );
  20. void VGui_Shutdown( void );
  21. void VGui_CreateGlobalPanels( void );
  22. vgui::VPANEL VGui_GetClientDLLRootPanel( void );
  23. vgui::VPANEL VGui_GetFullscreenRootVPANEL( void );
  24. vgui::Panel *VGui_GetFullscreenRootPanel( void );
  25. void VGUI_CreateClientDLLRootPanel( void );
  26. void VGUI_DestroyClientDLLRootPanel( void );
  27. void VGui_PreRender();
  28. void VGui_PostRender();
  29. void VGui_GetPanelList( CUtlVector< vgui::Panel * > &list );
  30. void VGui_GetPanelBounds( int slot, int &x, int &y, int &w, int &h );
  31. // If the engine is inset from the VGui_GetPanelBounds due to splitscreen aspect ratio fixups...
  32. void VGui_GetEngineRenderBounds( int slot, int &x, int &y, int &w, int &h, int &insetX, int &insetY );
  33. void VGui_GetHudBounds( int slot, int &x, int &y, int &w, int &h );
  34. int VGUI_FindSlotForRootPanel( vgui::Panel *pRoot );
  35. void VGui_GetTrueScreenSize( int &w, int &h );
  36. void VGui_OnScreenSizeChanged();
  37. bool VGui_IsSplitScreen();
  38. bool VGui_IsSplitScreenPIP();
  39. bool IsWidescreen( void );
  40. void VGui_OnSplitScreenStateChanged();
  41. #endif // VGUI_INT_H