Added AsloEngine 0.9.0 to Repository
This commit is contained in:
parent
d017dd84b3
commit
881e6c70f2
60 changed files with 2648 additions and 0 deletions
25
asloengine/builtin/headers/text_only_button.hpp
Executable file
25
asloengine/builtin/headers/text_only_button.hpp
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
#pragma once
|
||||
|
||||
#include "../../headers/textobject.hpp"
|
||||
#include "../../headers/clickable.hpp"
|
||||
|
||||
namespace asloengine
|
||||
{
|
||||
|
||||
class TextOnlyButton : public TextObject, public Clickable
|
||||
{
|
||||
|
||||
public:
|
||||
aslosignals::Signal signal_on_clicked;
|
||||
|
||||
TextOnlyButton(sf::String _name, sf::String _text, sf::Font& _font, uint _text_size = 30);
|
||||
virtual ~TextOnlyButton() override;
|
||||
|
||||
virtual void draw() override;
|
||||
virtual void on_main_property_update() override;
|
||||
virtual void on_start() override;
|
||||
virtual void on_update(float delta_time) override;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue