Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
CPI_InterfacePart.h
Package: Visual C++视频音频开发实用工程案例精选.rar [view]
Upload User: tuheem
Upload Date: 2007-05-01
Package Size: 21889k
Code Size: 3k
Category:
Multimedia Develop
Development Platform:
Visual C++
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- //
- // Player verbs
- //
- // - This will contain all the verbs (commands) for the player - the verb handlers
- // are also capable of returning it's skin def name and it's legacy skin def name
- //
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- //
- typedef void (*wp_Part_Destroy_PrivateData)(CP_HINTERFACEPART hPart);
- typedef void (*wp_Part_Draw)(CP_HINTERFACEPART hPart, CPs_DrawContext* pContext);
- typedef void (*wp_Part_onMouseIn)(CP_HINTERFACEPART hPart);
- typedef void (*wp_Part_onMouseOut)(CP_HINTERFACEPART hPart);
- typedef void (*wp_Part_onMouseMove)(CP_HINTERFACEPART hPart, const POINTS ptMouse);
- typedef void (*wp_Part_onMouseButton_LDown)(CP_HINTERFACEPART hPart, const POINTS ptMouse);
- typedef void (*wp_Part_onMouseButton_LUp)(CP_HINTERFACEPART hPart, const POINTS ptMouse);
- typedef void (*wp_Part_onMouseButton_RDown)(CP_HINTERFACEPART hPart, const POINTS ptMouse);
- typedef void (*wp_Part_onMouseButton_RUp)(CP_HINTERFACEPART hPart, const POINTS ptMouse);
- typedef void (*wp_Part_onTimer)(CP_HINTERFACEPART hPart);
- typedef void (*wp_Part_onSongChange)(CP_HINTERFACEPART hPart);
- //
- #define CPC_IP_ALIGN_LEFT 0x1
- #define CPC_IP_ALIGN_RIGHT 0x2
- #define CPC_IP_ALIGN_TOP 0x4
- #define CPC_IP_ALIGN_BOTTOM 0x8
- //
- typedef struct _CPs_InterfacePart
- {
- // Methods
- wp_Part_Destroy_PrivateData Destroy_PrivateData;
- wp_Part_Draw Draw;
- // Notifies
- wp_Part_onMouseIn onMouseIn;
- wp_Part_onMouseOut onMouseOut;
- wp_Part_onMouseMove onMouseMove;
- wp_Part_onMouseButton_LDown onMouseButton_LDown;
- wp_Part_onMouseButton_LUp onMouseButton_LUp;
- wp_Part_onMouseButton_RDown onMouseButton_RDown;
- wp_Part_onMouseButton_RUp onMouseButton_RUp;
- wp_Part_onTimer onTimer;
- wp_Part_onSongChange onSongChange;
- // Data
- RECT m_rLocation;
- DWORD m_dwAlign;
- BOOL m_bRectAlignMode;
- RECT m_rPosition;
- POINT m_ptOffset;
- SIZE m_szSize;
- CP_HINTERFACE m_hOwner;
- void* m_pPrivateData;
- // Link to next part
- CP_HINTERFACEPART m_hNext;
- } CPs_InterfacePart;
- //
- //
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- //
- void IP_Invalidate(CP_HINTERFACEPART hPart);
- void IP_Destroy(CP_HINTERFACEPART hPart);
- CP_HINTERFACEPART IP_Create_CommandButton(wp_Verb pfnVerb, CPs_Image_WithState* pImageWS);
- CP_HINTERFACEPART IP_Create_Indicator(const char* pcName);
- //
- ////////////////////////////////////////////////////////////////////////////////