#include <MessageLayout.hpp>
|
| | MessageLayout (MessagePtr message_) |
| |
| | ~MessageLayout () |
| |
| const Message * | getMessage () |
| |
| const MessagePtr & | getMessagePtr () const |
| |
| int | getHeight () const |
| |
| int | getWidth () const |
| |
| bool | layout (int width, float scale_, MessageElementFlags flags) |
| |
| void | paint (QPainter &painter, int width, int y, int messageIndex, Selection &selection, bool isLastReadMessage, bool isWindowFocused, bool isMentions) |
| |
| void | invalidateBuffer () |
| |
| void | deleteBuffer () |
| |
| void | deleteCache () |
| |
| const MessageLayoutElement * | getElementAt (QPoint point) |
| |
| int | getLastCharacterIndex () const |
| |
| int | getFirstMessageCharacterIndex () const |
| |
| int | getSelectionIndex (QPoint position) |
| |
| void | addSelectionText (QString &str, uint32_t from=0, uint32_t to=UINT32_MAX, CopyMode copymode=CopyMode::Everything) |
| |
| bool | isDisabled () const |
| |
| bool | isReplyable () const |
| |
◆ MessageLayout()
| chatterino::MessageLayout::MessageLayout |
( |
MessagePtr |
message_ | ) |
|
◆ ~MessageLayout()
| chatterino::MessageLayout::~MessageLayout |
( |
| ) |
|
◆ addSelectionText()
| void chatterino::MessageLayout::addSelectionText |
( |
QString & |
str, |
|
|
uint32_t |
from = 0, |
|
|
uint32_t |
to = UINT32_MAX, |
|
|
CopyMode |
copymode = CopyMode::Everything |
|
) |
| |
◆ deleteBuffer()
| void chatterino::MessageLayout::deleteBuffer |
( |
| ) |
|
◆ deleteCache()
| void chatterino::MessageLayout::deleteCache |
( |
| ) |
|
◆ getElementAt()
◆ getFirstMessageCharacterIndex()
| int chatterino::MessageLayout::getFirstMessageCharacterIndex |
( |
| ) |
const |
◆ getHeight()
| int chatterino::MessageLayout::getHeight |
( |
| ) |
const |
◆ getLastCharacterIndex()
| int chatterino::MessageLayout::getLastCharacterIndex |
( |
| ) |
const |
◆ getMessage()
| const Message * chatterino::MessageLayout::getMessage |
( |
| ) |
|
◆ getMessagePtr()
| const MessagePtr & chatterino::MessageLayout::getMessagePtr |
( |
| ) |
const |
◆ getSelectionIndex()
| int chatterino::MessageLayout::getSelectionIndex |
( |
QPoint |
position | ) |
|
◆ getWidth()
| int chatterino::MessageLayout::getWidth |
( |
| ) |
const |
◆ invalidateBuffer()
| void chatterino::MessageLayout::invalidateBuffer |
( |
| ) |
|
◆ isDisabled()
| bool chatterino::MessageLayout::isDisabled |
( |
| ) |
const |
◆ isReplyable()
| bool chatterino::MessageLayout::isReplyable |
( |
| ) |
const |
◆ layout()
◆ paint()
| void chatterino::MessageLayout::paint |
( |
QPainter & |
painter, |
|
|
int |
width, |
|
|
int |
y, |
|
|
int |
messageIndex, |
|
|
Selection & |
selection, |
|
|
bool |
isLastReadMessage, |
|
|
bool |
isWindowFocused, |
|
|
bool |
isMentions |
|
) |
| |
◆ flags
The documentation for this class was generated from the following files: