JKSV/Include/UI/Element.hpp
2024-12-08 18:26:14 -05:00

16 lines
311 B
C++

#pragma once
#include "SDL.hpp"
namespace UI
{
class Element
{
public:
Element(void) = default;
virtual ~Element() {};
virtual void Update(bool HasFocus) = 0;
virtual void Render(SDL_Texture *Target, bool HasFocus) = 0;
};
} // namespace UI