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.

51 lines
1.3 KiB

  1. //====== Copyright � 1996-2005, Valve Corporation, All rights reserved. =======
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef IRONSIGHTDIALOG_H
  7. #define IRONSIGHTDIALOG_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "vgui_controls/Frame.h"
  12. #include "cs_shareddefs.h"
  13. #ifdef IRONSIGHT
  14. //-----------------------------------------------------------------------------
  15. // Purpose: Handles selection of IronSight mode on/off
  16. //-----------------------------------------------------------------------------
  17. class CIronSightDialog : public vgui::Frame
  18. {
  19. DECLARE_CLASS_SIMPLE( CIronSightDialog, vgui::Frame );
  20. public:
  21. CIronSightDialog(vgui::Panel *parent);
  22. ~CIronSightDialog();
  23. virtual void OnClose( void );
  24. //virtual void OnCommand( const char *command );
  25. virtual void OnMessage( const KeyValues *pParams, vgui::VPANEL fromPanel );
  26. vgui::Slider *m_pSliderPosX;
  27. vgui::Slider *m_pSliderPosY;
  28. vgui::Slider *m_pSliderPosZ;
  29. Vector m_vecPosBackup;
  30. vgui::Slider *m_pSliderRotX;
  31. vgui::Slider *m_pSliderRotY;
  32. vgui::Slider *m_pSliderRotZ;
  33. Vector m_vecRotBackup;
  34. vgui::Slider *m_pSliderFOV;
  35. vgui::Slider *m_pSliderPivotForward;
  36. vgui::Slider *m_pSliderLooseness;
  37. vgui::TextEntry *m_pSchemaText;
  38. };
  39. #endif //IRONSIGHT
  40. #endif //IRONSIGHTDIALOG_H