VN System improved.
This commit is contained in:
@@ -37,6 +37,17 @@ namespace Dawn {
|
||||
struct FontMeasure *info
|
||||
) = 0;
|
||||
|
||||
/**
|
||||
* Fonts need to be initialized before they can actually be used, but I
|
||||
* really want to keep things kind-of non-blocking, so for the time being
|
||||
* this hack works around it, fonts can decide to return false if they are
|
||||
* not "ready for buffering", and the item intending to use the font is
|
||||
* required to decide when it should actually request buffering.
|
||||
*
|
||||
* @return True if ready for buffering, otherwise false.
|
||||
*/
|
||||
virtual bool_t isReady() = 0;
|
||||
|
||||
/**
|
||||
* Returns the texture that is used for a given font.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user