/*************************************/
/* container_trans.h                 */
/*                                   */
/* header for container transparency */
/*                                   */
/* loïc berthelot    janv 2004       */
/*************************************/


#ifndef _CONTAINER_TRANS_H
#define _CONTAINER_TRANS_H_


#include <windows.h>
#include "../x/scolplugin.h"

//
//$LB (16/12/2003) : usefull for transparent windows
//
#define WS_EX_LAYERED 0x80000 
#define LWA_COLORKEY 1 
#define LWA_ALPHA 2 
typedef DWORD (WINAPI *PSLWA)(HWND, DWORD, BYTE, DWORD);
typedef BOOL  (WINAPI *PGLWA)(HWND,	DWORD*, BYTE*, DWORD*);

#define WN_TRANS_COLOR LWA_COLORKEY
#define WN_TRANS_ALPHA LWA_ALPHA


//$LB (16/12/2003)
int _SETcontainerTransparency (mmachine m);
int _SIMULATEcontainerTransparency (mmachine m);



#endif