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
24
asloengine/builtin/headers/input_field.hpp
Executable file
24
asloengine/builtin/headers/input_field.hpp
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#pragma once
|
||||
|
||||
#include "text_only_input_field.hpp"
|
||||
#include "../../headers/spriteobject.hpp"
|
||||
|
||||
namespace asloengine
|
||||
{
|
||||
|
||||
class InputField : public TextOnlyInputField, public SpriteObject
|
||||
{
|
||||
|
||||
public:
|
||||
float text_vertical_offset;
|
||||
|
||||
InputField(sf::String _name, sf::Vector2f _size, sf::Font& _font, sf::Texture& _texture, uint _text_size = 30, int _max_length = 999, sf::String _default_text = "");
|
||||
~InputField();
|
||||
|
||||
virtual void draw() override;
|
||||
virtual void on_main_property_update() override;
|
||||
virtual void on_start() override;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue