From 0b3a0d0e4ed70904111bfb414d31374b9375ca15 Mon Sep 17 00:00:00 2001 From: Aloshi Date: Sun, 20 Apr 2014 14:23:49 -0500 Subject: [PATCH] Fixed compiling on Linux. --- src/components/AnimatedImageComponent.cpp | 1 - src/components/AnimatedImageComponent.h | 3 +-- src/components/BusyComponent.cpp | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/AnimatedImageComponent.cpp b/src/components/AnimatedImageComponent.cpp index aef223198..1ef4e3073 100644 --- a/src/components/AnimatedImageComponent.cpp +++ b/src/components/AnimatedImageComponent.cpp @@ -1,5 +1,4 @@ #include "AnimatedImageComponent.h" -#include "ImageComponent.h" #include "../Log.h" AnimatedImageComponent::AnimatedImageComponent(Window* window) : GuiComponent(window), mEnabled(false) diff --git a/src/components/AnimatedImageComponent.h b/src/components/AnimatedImageComponent.h index 5d6c988b3..53ffc2dd6 100644 --- a/src/components/AnimatedImageComponent.h +++ b/src/components/AnimatedImageComponent.h @@ -1,6 +1,5 @@ #include "../GuiComponent.h" - -class ImageComponent; +#include "ImageComponent.h" struct AnimationFrame { diff --git a/src/components/BusyComponent.cpp b/src/components/BusyComponent.cpp index 003aa51b8..3416530dc 100644 --- a/src/components/BusyComponent.cpp +++ b/src/components/BusyComponent.cpp @@ -54,5 +54,5 @@ void BusyComponent::onSizeChanged() void BusyComponent::reset() { - mAnimation->reset(); + //mAnimation->reset(); }