|
Drag[en]gine Script Module DragonScript 1.35
|
Styled text document updater. More...
Classes | |
| interface | Updater |
| Updater. More... | |
Public Member Functions | |
| void | addUpdater (Updater updater) |
| Add updater. | |
| void | dispose () |
| Dispose of styled text document updater. | |
| StyledTextDocumentUpdater | new () |
| Create styled text document. | |
| void | removeAllUpdater () |
| Remove all updaters. | |
| void | removeUpdater (Updater updater) |
| Remove updater. | |
| void | update (float elapsed) |
| Update elements. | |
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.
Referenced by removeUpdater().
| void Dragengine.Utils.StyledText.StyledTextDocumentUpdater.dispose | ( | ) |
| StyledTextDocumentUpdater Dragengine.Utils.StyledText.StyledTextDocumentUpdater.new | ( | ) |
Create styled text document.
Referenced by Dragengine.Utils.StyledText.StyledTextDocumentUpdater.Updater.update().
| void Dragengine.Utils.StyledText.StyledTextDocumentUpdater.removeAllUpdater | ( | ) |
Remove all updaters.
Referenced by update().
| void Dragengine.Utils.StyledText.StyledTextDocumentUpdater.removeUpdater | ( | Updater | updater | ) |
| void Dragengine.Utils.StyledText.StyledTextDocumentUpdater.update | ( | float | elapsed | ) |
Update elements.
References removeAllUpdater(), removeUpdater(), and update().
Referenced by update().