Browse Source

anime => image component

Odilitime 5 years ago
parent
commit
e0d755da69
  1. 8
      src/graphics/components/MultiComponent.cpp

8
src/graphics/components/MultiComponent.cpp

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
#include "DocumentComponent.h"
#include "TabbedComponent.h"
#include "AnimeComponent.h"
#include "ImageComponent.h"
#include "InputComponent.h"
#include "../opengl/Shader.h"
@ -339,9 +339,9 @@ void MultiComponent::renderComponentType(std::string str, std::shared_ptr<Compon @@ -339,9 +339,9 @@ void MultiComponent::renderComponentType(std::string str, std::shared_ptr<Compon
} else if (str =="input") {
InputComponent *inputComponent = dynamic_cast<InputComponent*>(component.get());
inputComponent->render();
} else if (str =="anime") {
AnimeComponent *animeComponent = dynamic_cast<AnimeComponent*>(component.get());
animeComponent->render();
} else if (str =="image") {
ImageComponent *imageComponent = dynamic_cast<ImageComponent*>(component.get());
imageComponent->render();
} else if (str =="box") {
//AnimeComponent *animeComponent = dynamic_cast<AnimeComponent*>(component.get());
//if (!animeComponent) {

Loading…
Cancel
Save