source-engine-2018-hl2_src/utils/hlfaceposer/mxbitmapwindow.h
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

35 lines
873 B
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#if !defined( MXBITMAPWINDOW_H )
#define MXBITMAPWINDOW_H
#ifdef _WIN32
#pragma once
#endif
#include "mxBitmapTools.h"
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
class mxBitmapWindow : public mxWindow
{
public:
mxBitmapWindow( mxWindow *parent, int x, int y, int w, int h, int style = 0, const char *bitmap = 0 );
virtual ~mxBitmapWindow ( void );
virtual void setImage( const char *bitmap );
virtual void redraw ();
virtual bool Load( const char *bitmap );
private:
mxbitmapdata_t m_Bitmap;
};
#endif // MXBITMAPWINDOW_H