Team Fortress 2 Source Code as on 22/4/2020
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.

25 lines
794 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //=======================================================================================//
  4. #ifndef REPLAYBASEPANEL_H
  5. #define REPLAYBASEPANEL_H
  6. #ifdef _WIN32
  7. #pragma once
  8. #endif
  9. #include "vgui_controls/EditablePanel.h"
  10. //-----------------------------------------------------------------------------
  11. // Purpose: Base panel for replay panels
  12. //-----------------------------------------------------------------------------
  13. class CReplayBasePanel : public vgui::EditablePanel
  14. {
  15. DECLARE_CLASS_SIMPLE( CReplayBasePanel, vgui::EditablePanel );
  16. public:
  17. CReplayBasePanel( Panel *pParent, const char *pName );
  18. void GetPosRelativeToAncestor( Panel *pAncestor, int &nXOut, int &nYOut );
  19. };
  20. #endif // REPLAYBASEPANEL_H