Loading...
Searching...
No Matches
ml::ChatBubble Class Reference

#include <Malena/Graphics/Controls/ChatBubble.h>

Inheritance diagram for ml::ChatBubble:
[legend]

Public Member Functions

 ChatBubble ()
sf::FloatRect getGlobalBounds () const override
float getHeight () const
sf::Vector2f getPosition () const override
void setMessage (const ChatMessage &msg, float containerWidth)
void setPosition (const sf::Vector2f &pos) override

Protected Member Functions

void draw (sf::RenderTarget &target, sf::RenderStates states) const override

Detailed Description

Definition at line 19 of file ChatBubble.h.

Constructor & Destructor Documentation

◆ ChatBubble()

ml::ChatBubble::ChatBubble ( )

Member Function Documentation

◆ draw()

void ml::ChatBubble::draw ( sf::RenderTarget & target,
sf::RenderStates states ) const
overrideprotected

◆ getGlobalBounds()

sf::FloatRect ml::ChatBubble::getGlobalBounds ( ) const
override

◆ getHeight()

float ml::ChatBubble::getHeight ( ) const
inline

Definition at line 49 of file ChatBubble.h.

◆ getPosition()

sf::Vector2f ml::ChatBubble::getPosition ( ) const
override

◆ setMessage()

void ml::ChatBubble::setMessage ( const ChatMessage & msg,
float containerWidth )

◆ setPosition()

void ml::ChatBubble::setPosition ( const sf::Vector2f & pos)
override

The documentation for this class was generated from the following file: