Skip to content

Commit 11da63d

Browse files
authored
Merge pull request #634 from scratchcpp/llvm_looks_blocks
Implement looks blocks
2 parents 05c4752 + 33193cc commit 11da63d

File tree

12 files changed

+3632
-15
lines changed

12 files changed

+3632
-15
lines changed

include/scratchcpp/textbubble.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
namespace libscratchcpp
99
{
1010

11+
class Thread;
1112
class TextBubblePrivate;
1213

1314
/*! \brief The TextBubble class represents a text bubble created using say or think block. */
@@ -31,8 +32,11 @@ class LIBSCRATCHCPP_EXPORT TextBubble : public Drawable
3132

3233
const std::string &text() const;
3334
virtual void setText(const std::string &text);
35+
virtual void setText(const std::string &text, Thread *owner);
3436
sigslot::signal<const std::string &> &textChanged() const;
3537

38+
Thread *owner() const;
39+
3640
private:
3741
spimpl::unique_impl_ptr<TextBubblePrivate> impl;
3842
};

0 commit comments

Comments
 (0)