Fixed more font stuff, works really really good now.

This commit is contained in:
2023-01-14 23:34:15 -08:00
parent 2e55754c49
commit dbe2409287
16 changed files with 87 additions and 27 deletions

View File

@@ -176,6 +176,10 @@ void VisualNovelTextbox::setLabelPadding(glm::vec2 padding) {
this->updatePositions();
}
glm::vec2 VisualNovelTextbox::getLabelPadding() {
return this->labelPadding;
}
bool_t VisualNovelTextbox::hasRevealedAllCurrentCharacters() {
int32_t quadsTotal = 0;
for(

View File

@@ -113,6 +113,13 @@ namespace Dawn {
*/
void setLabelPadding(glm::vec2 padding);
/**
* Returns the current label padding.
*
* @return The current label padding.
*/
glm::vec2 getLabelPadding();
/**
* Returns true if all of the characters that can be made visible for the
* current textbox size have finished revealing, or false if not.