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.

25 lines
888 B

  1. //========= Copyright � 1996-2013, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=====================================================================================//
  6. #ifndef __SFUICHROMEHTMLIMAGE_H__
  7. #define __SFUICHROMEHTMLIMAGE_H__
  8. #include "scaleformuiimage.h"
  9. //-----------------------------------------------------------------------------
  10. // Purpose: sfuia
  11. //-----------------------------------------------------------------------------
  12. class ScaleformUIChromeHTMLImage : public ScaleformUIImage
  13. {
  14. public:
  15. ScaleformUIChromeHTMLImage( uint64 imageID, const byte* defaultRgba, int defaultWidth, int defaultHeight, ::ImageFormat defaultFormat, SF::GFx::TextureManager* pTextureManager );
  16. bool LoadChromeHTMLImage( const byte* rgba, int width, int height, ::ImageFormat format );
  17. private:
  18. uint64 m_imageID;
  19. };
  20. #endif // __SFUICHROMEHTMLIMAGE_H__