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.

60 lines
1.1 KiB

  1. #pragma once
  2. #include "resource.h"
  3. #include "VGuiWnd.h"
  4. // CParticleBrowser dialog
  5. namespace vgui
  6. {
  7. class TextEntry;
  8. class Splitter;
  9. class Button;
  10. }
  11. class CParticleBrowserPanel;
  12. class CParticlePicker;
  13. class CParticleBrowser : public CDialog
  14. {
  15. DECLARE_DYNAMIC(CParticleBrowser)
  16. public:
  17. CParticleBrowser(CWnd* pParent = NULL); // standard constructor
  18. virtual ~CParticleBrowser();
  19. void SetParticleSysName( const char *pParticleName );
  20. void GetParticleSysName( char *pParticleName, int length );
  21. // Dialog Data
  22. enum { IDD = IDD_PARTICLE_BROWSER };
  23. protected:
  24. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  25. virtual BOOL PreTranslateMessage( MSG* pMsg );
  26. DECLARE_MESSAGE_MAP()
  27. public:
  28. afx_msg void OnSize(UINT nType, int cx, int cy);
  29. afx_msg void OnDestroy();
  30. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  31. virtual BOOL OnInitDialog();
  32. void UpdateStatusLine();
  33. void SaveLoadSettings( bool bSave );
  34. void Resize( void );
  35. CVGuiPanelWnd m_VGuiWindow;
  36. CParticlePicker *m_pPicker;
  37. vgui::Button *m_pButtonOK;
  38. vgui::Button *m_pButtonCancel;
  39. vgui::TextEntry *m_pStatusLine;
  40. void Show();
  41. void Hide();
  42. };