Drag[en]gine Script Module DragonScript
1.23
|
Styled text document updater. More...
Classes | |
interface | Updater |
Updater. More... | |
Public Member Functions | |
void | addUpdater (Updater updater) |
Add updater. More... | |
void | dispose () |
Dispose of styled text document updater. More... | |
StyledTextDocumentUpdater | new () |
Create styled text document. More... | |
void | removeAllUpdater () |
Remove all updaters. More... | |
void | removeUpdater (Updater updater) |
Remove updater. More... | |
void | update (float elapsed) |
Update elements. More... | |
Styled text document updater.
Provides support for dynamic content in styled text documents. Updates certain canvas resources if called. To use dynamic content updating create an instance of this class and use it in a call to StyledTextDocument.addToCanvas(). Call update() on regular basis like for example using FrameUpdater or Element.think() .
void Dragengine.Utils.StyledText.StyledTextDocumentUpdater.addUpdater | ( | Updater | updater | ) |
Add updater.
void Dragengine.Utils.StyledText.StyledTextDocumentUpdater.dispose | ( | ) |
Dispose of styled text document updater.
StyledTextDocumentUpdater Dragengine.Utils.StyledText.StyledTextDocumentUpdater.new | ( | ) |
Create styled text document.
void Dragengine.Utils.StyledText.StyledTextDocumentUpdater.removeAllUpdater | ( | ) |
Remove all updaters.
void Dragengine.Utils.StyledText.StyledTextDocumentUpdater.removeUpdater | ( | Updater | updater | ) |
Remove updater.
void Dragengine.Utils.StyledText.StyledTextDocumentUpdater.update | ( | float | elapsed | ) |
Update elements.