#pragma once


namespace TSE
{
    class IResizable;

    class IResizeNotifiable
    {
        public:
        /// @brief gets called, when a Resizable gets resized as an event.
        /// @param width the new width
        /// @param height the new height
        /// @param resizable the resizable that got changed
        virtual void OnResize(float width, float height, IResizable* resizable) = 0;
        virtual ~IResizeNotifiable() = default;
    };
} // namespace TSE
