BitmapNotify Class Reference
 
 
 
BitmapNotify Class Reference

#include <bitmap.h>

Inheritance diagram for BitmapNotify:
MaxHeapOperators

Class Description

See also:
Class Bitmap, Class BitmapStorage.

Description:
This class is a callback for notifying bitmaps that their storage has changed, and if any on screen displays need to be refreshed. This is installed as a callback via the method Bitmap::SetNotify().

All methods of this class are implemented by the system.

Public Member Functions

virtual int  Changed (ULONG flags)=0
virtual void  VFBClosed ()

Member Function Documentation

virtual int Changed ( ULONG  flags ) [pure virtual]
Remarks:
This method is called when the storage for the Bitmap has changed.
Parameters:
ULONG flags

One of the following:

BMNOTIFY_FLAG_STORAGE_CHANGE, notifies that the storage (the contents of the bitmap) has changed.

BMNOTIFY_FLAG_FILE_CHANGE, notifies that that bitmap file has changed, probably by an external program. The bitmap should be reloaded. Note that by the time this call is made, the API has already checked to see if the user has set the global preferences asking for these changes to be automatically reloaded.
virtual void VFBClosed ( ) [inline, virtual]
Remarks:
This method is called when Virtual Frame Buffer is closed.
Default Implementation:
{}
{}  // called when VFB is closed