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.

44 lines
771 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Defines a window for displaying a single texture within.
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //-----------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================//
  13. #ifndef WNDTEX_H
  14. #define WNDTEX_H
  15. #pragma once
  16. class wndTex : public CStatic
  17. {
  18. public:
  19. wndTex() : m_pTexture(NULL)
  20. {
  21. }
  22. void SetTexture(IEditorTexture *pTex);
  23. inline IEditorTexture *GetTexture(void)
  24. {
  25. return(m_pTexture);
  26. }
  27. protected:
  28. IEditorTexture *m_pTexture;
  29. afx_msg void OnPaint();
  30. DECLARE_MESSAGE_MAP();
  31. };
  32. #endif // WNDTEX_H