mirror of https://github.com/tongzx/nt5src
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.
20 lines
1.0 KiB
20 lines
1.0 KiB
//-------------------------------------------------------------------------
|
|
// NtlEng.h - support for Native Theme Language runtime graphics engine
|
|
//-------------------------------------------------------------------------
|
|
#ifndef _NTLENG_H_
|
|
#define _NTLENG_H_
|
|
//-------------------------------------------------------------------------
|
|
#include "ntl.h"
|
|
//-------------------------------------------------------------------------
|
|
class INtlEngCallBack // Caller must implement
|
|
{
|
|
public:
|
|
virtual HRESULT CreateImageBrush(HDC hdc, int iPartId, int IStateId,
|
|
int iImageIndex, HBRUSH *phbr) = 0;
|
|
};
|
|
//---------------------------------------------------------------------------
|
|
HRESULT RunNtl(HDC hdc, RECT &rcCaller, HBRUSH hbrBkDefault, DWORD dwOptions,
|
|
int iPartId, int iStateId, BYTE *pbCode, int iCodeLen, INtlEngCallBack *pCallBack);
|
|
//-------------------------------------------------------------------------
|
|
#endif // _NTLENG_H_
|
|
//-------------------------------------------------------------------------
|