From afe99d1e06069f522daa3a2845e22b75d3b098aa Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Thu, 14 Dec 2023 20:09:40 +0300 Subject: [PATCH] Moved out include directive for styles from header of RippleAnimation. --- ui/effects/ripple_animation.cpp | 1 + ui/effects/ripple_animation.h | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ui/effects/ripple_animation.cpp b/ui/effects/ripple_animation.cpp index 35cc5bc..3971cc7 100644 --- a/ui/effects/ripple_animation.cpp +++ b/ui/effects/ripple_animation.cpp @@ -10,6 +10,7 @@ #include "ui/painter.h" #include "ui/ui_utility.h" #include "ui/image/image_prepare.h" +#include "styles/style_widgets.h" namespace Ui { diff --git a/ui/effects/ripple_animation.h b/ui/effects/ripple_animation.h index 94a9ca1..47ceb0f 100644 --- a/ui/effects/ripple_animation.h +++ b/ui/effects/ripple_animation.h @@ -6,14 +6,16 @@ // #pragma once -#include "styles/style_widgets.h" - #include namespace Images { struct CornersMaskRef; } // namespace Images +namespace style { +struct RippleAnimation; +} // namespace style + namespace Ui { class RippleAnimation {