Beispiel #1
0
void Style::onTileLoaded(bool isNewTile) {
    if (isNewTile) {
        shouldReparsePartialTiles = true;
    }

    emitTileDataChanged();
}
Beispiel #2
0
void Style::onSpriteLoaded(const Sprites& sprites) {
    // Add all sprite images to the SpriteStore object
    spriteStore->setSprites(sprites);

    if (observer) {
        observer->onSpriteStoreLoaded();
    }

    shouldReparsePartialTiles = true;
    emitTileDataChanged();
}
Beispiel #3
0
void Style::onSpriteLoaded() {
    shouldReparsePartialTiles = true;

    emitTileDataChanged();
}
Beispiel #4
0
void Style::onSourceLoaded() {
    emitTileDataChanged();
}
void ResourceLoader::onSpriteLoaded() {
    emitTileDataChanged();
}
void ResourceLoader::onGlyphRangeLoaded() {
    emitTileDataChanged();
}