Sha256: b7195ee7450fc9f0d9ceae5df62705eae54fefeb1f092670c8beb9ba8e1b18b7
Contents?: true
Size: 1019 Bytes
Versions: 14
Compression:
Stored size: 1019 Bytes
Contents
#pragma once #include <windows.h> #include "..\..\Common\Public\PB_Defines.h" /* Holds a linked list of CPaintMap pointers, each representing a plugin which has registered for paint notification. */ /******************************************************************************/ class CPaintMap { public: int nAppID; // App which has registered HWND hWnd; // Window to watch for paint PBModule *pModule; // Registered module; passed to static callback in plugin so it has a 'this' pointer PAINTCALLBACK *pCallback; // Address of static callback function in DLL CPaintMap *pNext; CPaintMap (int appid, HWND hwnd, PBModule *pmodule, PAINTCALLBACK *pcallback); }; /******************************************************************************/ class CPaintManager { public: CPaintManager (); ~CPaintManager (); // Paint manager takes ownership of map and will delete object itself BOOL AddMap (CPaintMap *pmap); void Clear (void); void Process (HWND hwnd, HDC hdc); private: CPaintMap *pHead; };
Version data entries
14 entries across 14 versions & 1 rubygems