TBackend

Ancestors

TPersistent
   |
TNotifiablePersistent
   |
TThreadPersistent

Description

The TBackend class is the base class for all back-end classes. It defines the bare minimum functionality required to implement a new back-end class. It provides simplified management of surface (re-)allocation and deallocation by implementing ChangeSize in a convenient way. New back-ends shall implement the abstract protected methods InitializeSurface and FinalizeSurface.

It also implements the necessary Assign method for switching back-ends while preserving the surface's contents.

 

Reference

Methods Properties Events
In TBackend:
Assign Bits OnChanging
ChangeSize
Changing
Clear
Create
Destroy
Empty
FinalizeSurface
InitializeSurface
In TThreadPersistent:
Lock LockCount
Unlock
In TNotifiablePersistent:
BeginUpdate UpdateCount OnChange
Changed
EndUpdate