Add GUI Support
This commit is contained in:
15
include/TessesFramework/SDL2/Views/LabelView.hpp
Normal file
15
include/TessesFramework/SDL2/Views/LabelView.hpp
Normal file
@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#if defined(TESSESFRAMEWORK_ENABLE_SDL2)
|
||||
#include "../GUI.hpp"
|
||||
|
||||
namespace Tesses::Framework::SDL2::Views
|
||||
{
|
||||
class LabelView : public View {
|
||||
protected:
|
||||
virtual void OnDraw(SDL_Renderer* renderer, SDL_Rect& r);
|
||||
public:
|
||||
LabelView();
|
||||
LabelView(std::string text);
|
||||
};
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user