#include <ddutil.h>
Public Member Functions | |
LPDIRECTDRAWSURFACE7 | GetDDrawSurface () |
BOOL | IsColorKeyed () |
HRESULT | DrawBitmap (HBITMAP hBMP, DWORD dwBMPOriginX=0, DWORD dwBMPOriginY=0, DWORD dwBMPWidth=0, DWORD dwBMPHeight=0) |
HRESULT | DrawBitmap (TCHAR *strBMP, DWORD dwDesiredWidth, DWORD dwDesiredHeight) |
HRESULT | DrawText (HFONT hFont, TCHAR *strText, DWORD dwOriginX, DWORD dwOriginY, COLORREF crBackground, COLORREF crForeground) |
HRESULT | SetColorKey (DWORD dwColorKey) |
DWORD | ConvertGDIColor (COLORREF dwGDIColor) |
HRESULT | Create (LPDIRECTDRAW7 pDD, DDSURFACEDESC2 *pddsd) |
HRESULT | Create (LPDIRECTDRAWSURFACE7 pdds) |
HRESULT | Destroy () |
CSurface () | |
~CSurface () | |
Static Public Member Functions | |
HRESULT | GetBitMaskInfo (DWORD dwBitMask, DWORD *pdwShift, DWORD *pdwBits) |
Private Attributes | |
LPDIRECTDRAWSURFACE7 | m_pdds |
DDSURFACEDESC2 | m_ddsd |
BOOL | m_bColorKeyed |
|
Definition at line 699 of file ddutil.cpp. References m_bColorKeyed, and m_pdds. |
|
Definition at line 712 of file ddutil.cpp. References m_pdds, and SAFE_RELEASE. |
|
Definition at line 953 of file ddutil.cpp. References ConvertGDIColor(), and m_pdds. Referenced by ConvertGDIColor(), and SetColorKey(). |
|
Definition at line 724 of file ddutil.cpp. |
|
Definition at line 747 of file ddutil.cpp. References Create(), m_ddsd, and m_pdds. Referenced by Create(), and CDisplay::ShowBitmap(). |
|
Definition at line 771 of file ddutil.cpp. References m_pdds, and SAFE_RELEASE. |
|
Definition at line 889 of file ddutil.cpp. References DrawBitmap(), and m_pdds. |
|
Definition at line 785 of file ddutil.cpp. References DrawBitmap(), and m_pdds. Referenced by DrawBitmap(), and CDisplay::ShowBitmap(). |
|
Definition at line 848 of file ddutil.cpp. References DrawText(), and m_pdds. Referenced by cGame_Manager::Display_Score(), cGame_Manager::Display_Time(), and DrawText(). |
|
Definition at line 1000 of file ddutil.cpp. References GetBitMaskInfo(). Referenced by GetBitMaskInfo(). |
|
Definition at line 115 of file ddutil.h. References m_pdds. Referenced by CDisplay::Blt(), cGame_Manager::Display(), cSprite_Display_Def::Display(), cBitmap_Display_Def::Display(), cGame_Manager::Display_Score(), cGame_Manager::Display_Time(), and Draw_Line(). |
|
Definition at line 116 of file ddutil.h. References m_bColorKeyed. Referenced by CDisplay::Blt(). |
|
Definition at line 930 of file ddutil.cpp. References ConvertGDIColor(), m_bColorKeyed, m_pdds, and SetColorKey(). Referenced by InitDD(), and SetColorKey(). |
|
Definition at line 112 of file ddutil.h. Referenced by CSurface(), IsColorKeyed(), and SetColorKey(). |
|
Definition at line 111 of file ddutil.h. Referenced by Create(). |
|
Definition at line 110 of file ddutil.h. Referenced by ConvertGDIColor(), Create(), CSurface(), Destroy(), DrawBitmap(), DrawText(), GetDDrawSurface(), SetColorKey(), and ~CSurface(). |