1#ifndef _SHOSTPRESENTER_H_
2#define _SHOSTPRESENTER_H_
4#include <interface/SHostPresenter-i.h>
5#include <helper/obj-ref-impl.hpp>
15struct S_UPDATELAYEREDWINDOWINFO;
35 static BOOL SUpdateLayeredWindowIndirect(HWND hWnd,
const S_UPDATELAYEREDWINDOWINFO *pULWInfo);
76 STDMETHOD_(
void,
OnHostResize)(THIS_ SIZE szHost) OVERRIDE;
void UpdateLayerFromRenderTarget(IRenderTarget *pRT, BYTE byAlpha, LPCRECT prcDirty=NULL)
Updates the layer from the render target.
void OnHostPresent(HDC hdc, IRenderTarget *pMemRT, LPCRECT rcDirty, BYTE byAlpha) OVERRIDE
Called to present the host window.
void OnHostResize(SIZE szHost) OVERRIDE
Called when the host window is resized.
SHostPresenter(SHostWnd *pHostWnd)
Constructor for SHostPresenter.
void OnHostCreate() OVERRIDE
Called when the host window is created.
void OnHostDestroy() OVERRIDE
Called when the host window is destroyed.
The main host window class responsible for managing the layout, events, and rendering of SOUI windows...
Interface for rendering target objects.