Hasty Badger
Small UI library (a branch of Turbo Badger)
|
TBRendererListener is a listener for TBRenderer. More...
#include <tb_renderer.h>
Public Member Functions | |
virtual void | OnContextLost ()=0 |
Called when the context has been lost and all TBBitmaps need to be deleted. More... | |
virtual void | OnContextRestored ()=0 |
Called when the context has been restored again, and new TBBitmaps can be created again. More... | |
Public Member Functions inherited from tb::TBLinkOf< TBRendererListener > | |
TBRendererListener * | GetPrev () const |
TBRendererListener * | GetNext () const |
Public Member Functions inherited from tb::TBLink | |
bool | IsInList () const |
Return true if the link is currently added to a list. More... | |
Additional Inherited Members | |
Public Attributes inherited from tb::TBLink | |
TBLink * | prev |
TBLink * | next |
TBLinkList * | linklist |
TBRendererListener is a listener for TBRenderer.
|
pure virtual |
Called when the context has been lost and all TBBitmaps need to be deleted.
NOTE: Only do cleanup here. It's not safe to do work on any bitmap since the context is already lost.
Implemented in tb::TBSkin, and tb::TBFontGlyphCache.
|
pure virtual |
Called when the context has been restored again, and new TBBitmaps can be created again.
Implemented in tb::TBSkin, and tb::TBFontGlyphCache.