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

Version Path
rhodes-7.6.0 neon/Helium/HeliumForWindows/Implementation/PBCore/PBCore/Paint.h
rhodes-7.5.1 neon/Helium/HeliumForWindows/Implementation/PBCore/PBCore/Paint.h
rhodes-7.4.1 neon/Helium/HeliumForWindows/Implementation/PBCore/PBCore/Paint.h
rhodes-7.1.17 neon/Helium/HeliumForWindows/Implementation/PBCore/PBCore/Paint.h
rhodes-6.2.0 neon/Helium/HeliumForWindows/Implementation/PBCore/PBCore/Paint.h
rhodes-6.0.11 neon/Helium/HeliumForWindows/Implementation/PBCore/PBCore/Paint.h
rhodes-5.5.18 neon/Helium/HeliumForWindows/Implementation/PBCore/PBCore/Paint.h
rhodes-5.5.17 neon/Helium/HeliumForWindows/Implementation/PBCore/PBCore/Paint.h
rhodes-5.5.15 neon/Helium/HeliumForWindows/Implementation/PBCore/PBCore/Paint.h
rhodes-5.5.0.22 neon/Helium/HeliumForWindows/Implementation/PBCore/PBCore/Paint.h
rhodes-5.5.2 neon/Helium/HeliumForWindows/Implementation/PBCore/PBCore/Paint.h
rhodes-5.5.0.7 neon/Helium/HeliumForWindows/Implementation/PBCore/PBCore/Paint.h
rhodes-5.5.0.3 neon/Helium/HeliumForWindows/Implementation/PBCore/PBCore/Paint.h
rhodes-5.5.0 neon/Helium/HeliumForWindows/Implementation/PBCore/PBCore/Paint.h