The TextBubble class represents a text bubble created using say or think block.
More...
#include <scratchcpp/textbubble.h>
The TextBubble class represents a text bubble created using say or think block.
◆ Type
◆ TextBubble() [1/2]
| TextBubble::TextBubble |
( |
| ) |
|
◆ TextBubble() [2/2]
| libscratchcpp::TextBubble::TextBubble |
( |
const TextBubble & | | ) |
|
|
delete |
◆ engine()
| IEngine * Drawable::engine |
( |
| ) |
const |
|
inherited |
◆ isTarget()
| virtual bool libscratchcpp::Drawable::isTarget |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ isTextBubble()
| bool TextBubble::isTextBubble |
( |
| ) |
const |
|
finaloverridevirtual |
◆ layerOrder()
| int Drawable::layerOrder |
( |
| ) |
const |
|
inherited |
Returns the layer number.
◆ layerOrderChanged()
| sigslot::signal< int > & Drawable::layerOrderChanged |
( |
| ) |
const |
|
inherited |
Emits when the layer number changes.
◆ owner()
| Thread * TextBubble::owner |
( |
| ) |
const |
Returns the thread which currently owns the text bubble.
◆ setEngine()
| void Drawable::setEngine |
( |
IEngine * | engine | ) |
|
|
virtualinherited |
◆ setLayerOrder()
| void Drawable::setLayerOrder |
( |
int | newLayerOrder | ) |
|
|
virtualinherited |
◆ setText() [1/2]
| void TextBubble::setText |
( |
const std::string & | text | ) |
|
|
virtual |
Sets the text of the TextBubble.
- Note
- If the text is an empty string, the TextBubble is supposed to be hidden.
◆ setText() [2/2]
| void TextBubble::setText |
( |
const std::string & | text, |
|
|
Thread * | owner ) |
|
virtual |
◆ setType()
| void TextBubble::setType |
( |
Type | type | ) |
|
|
virtual |
◆ text()
| const std::string & TextBubble::text |
( |
| ) |
const |
Returns the text of the TextBubble.
- Note
- If the text is an empty string, the TextBubble is supposed to be hidden.
◆ textChanged()
| sigslot::signal< const std::string & > & TextBubble::textChanged |
( |
| ) |
const |
Emits when the text changes.
◆ type()
Returns the type of the TextBubble (say or think).
◆ typeChanged()
Emits when the type changes.
The documentation for this class was generated from the following files: