|
| EditBox () |
| Default constructor. More...
|
|
| EditBox (const EditBox ©) |
| Copy constructor. More...
|
|
virtual | ~EditBox () |
| Destructor. More...
|
|
EditBox & | operator= (const EditBox &right) |
| Overload of assignment operator. More...
|
|
virtual bool | load (const std::string &pathname) |
| Loads the edit box images and optionally a matching text color. More...
|
|
virtual void | setSize (float width, float height) |
| Changes the size of the edit box. More...
|
|
virtual Vector2u | getSize () const |
| Returns the size of the edit box, unaffected by scaling. More...
|
|
virtual Vector2f | getScaledSize () const |
| Returns the size of the edit box, after the scaling transformation. More...
|
|
virtual std::string | getLoadedPathname () const |
| Returns the pathname that was used to load the edit box. More...
|
|
virtual void | setText (const sf::String &text) |
| Changes the text of the editbox. More...
|
|
virtual sf::String | getText () const |
| Returns the text inside the edit box. This text is not affected by the password character. More...
|
|
virtual void | setTextSize (unsigned int textSize) |
| Changes the character size of the text. More...
|
|
virtual unsigned int | getTextSize () const |
| Returns the character size of the text. More...
|
|
virtual void | setTextFont (const sf::Font &font) |
| Changes the font of the text. More...
|
|
virtual const sf::Font * | getTextFont () const |
| Returns the font of the text. More...
|
|
virtual void | setPasswordChar (char passwordChar= '\0') |
| Sets a password character. More...
|
|
virtual char | getPasswordChar () const |
| Returns the password character. More...
|
|
virtual void | setMaximumCharacters (unsigned int maxChars=0) |
| Change the character limit. More...
|
|
virtual unsigned int | getMaximumCharacters () const |
| Returns the character limit. More...
|
|
virtual void | setBorders (unsigned int leftBorder=0, unsigned int topBorder=0, unsigned int rightBorder=0, unsigned int bottomBorder=0) |
| Changes the border width and border height of the edit box. More...
|
|
virtual void | changeColors (const sf::Color &textColor=sf::Color(0, 0, 0), const sf::Color &selectedTextColor=sf::Color(255, 255, 255), const sf::Color &selectedTextBackgroundColor=sf::Color(10, 110, 255), const sf::Color &selectionPointColor=sf::Color(110, 110, 255)) |
| Changes the colors from the edit box. More...
|
|
virtual void | setTextColor (const sf::Color &textColor) |
| Set the text color that will be used inside the edit box. More...
|
|
virtual void | setSelectedTextColor (const sf::Color &selectedTextColor) |
| Set the text color of the selected text that will be used inside the edit box. More...
|
|
virtual void | setSelectedTextBackgroundColor (const sf::Color &selectedTextBackgroundColor) |
| Set the background color of the selected text that will be used inside the edit box. More...
|
|
virtual const sf::Color & | getTextColor () const |
| Get the text color that is currently being used inside the edit box. More...
|
|
virtual const sf::Color & | getSelectedTextColor () const |
| Get the text color of the selected text that is currently being used inside the edit box. More...
|
|
virtual const sf::Color & | getSelectedTextBackgroundColor () const |
| Get the background color of the selected text that is currently being used inside the edit box. More...
|
|
virtual void | limitTextWidth (bool limitWidth) |
| Should the text width be limited or should you be able to type even if the edit box is full? More...
|
|
virtual void | setSelectionPointPosition (unsigned int charactersBeforeSelectionPoint) |
| Sets the flickering selection point to after a specific character. More...
|
|
| OBJECT () |
| Default constructor. More...
|
|
| OBJECT (const OBJECT ©) |
| Copy constructor. More...
|
|
virtual | ~OBJECT () |
| Destructor. More...
|
|
OBJECT & | operator= (const OBJECT &right) |
| Overload of assignment operator. More...
|
|
virtual void | show () |
| Shows the object. More...
|
|
virtual void | hide () |
| Hides the object. More...
|
|
virtual bool | isVisible () const |
| Returns true when the object is visible. More...
|
|
virtual void | enable () |
| Enables the object. More...
|
|
virtual void | disable () |
| Disables the object. More...
|
|
virtual bool | isEnabled () const |
| Returns true when the object is enabled. More...
|
|
virtual bool | isDisabled () const |
| Returns true when the object is disabled. More...
|
|
virtual bool | isLoaded () const |
| Returns true when the object is loaded successfully. More...
|
|
void | focus () |
| Focus the object. More...
|
|
void | unfocus () |
| Unfocus the object. More...
|
|
void | focusNextObject () |
| Focuses the next object. More...
|
|
virtual bool | isFocused () const |
| Returns true when the object is focused and false otherwise. More...
|
|
virtual ObjectTypes | getObjectType () const |
| Returns the type of the object. More...
|
|
virtual void | moveToFront () |
| Places the object before all other objects. More...
|
|
virtual void | moveToBack () |
| Places the object behind all other objects. More...
|
|
| OBJECT_BORDERS () |
| Default constructor. More...
|
|
virtual Vector4u | getBorders () const |
| Returns the size of the borders as a tgui::Vector4u. More...
|
|