mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
added define for myself
This commit is contained in:
parent
10850c0ec7
commit
a7fa4160e8
|
@ -247,6 +247,10 @@ win32 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
win32::exists(C:\fourtf) {
|
||||||
|
DEFINES += "OHHEYITSFOURTF"
|
||||||
|
}
|
||||||
|
|
||||||
macx {
|
macx {
|
||||||
INCLUDEPATH += /usr/local/include
|
INCLUDEPATH += /usr/local/include
|
||||||
}
|
}
|
||||||
|
|
|
@ -191,6 +191,7 @@ void MessageLayout::updateBuffer(QPixmap *buffer, int messageIndex, Selection &s
|
||||||
// draw message
|
// draw message
|
||||||
this->container.paintElements(painter);
|
this->container.paintElements(painter);
|
||||||
|
|
||||||
|
#ifdef OHHEYITSFOURTF
|
||||||
// debug
|
// debug
|
||||||
painter.setPen(QColor(255, 0, 0));
|
painter.setPen(QColor(255, 0, 0));
|
||||||
painter.drawRect(buffer->rect().x(), buffer->rect().y(), buffer->rect().width() - 1,
|
painter.drawRect(buffer->rect().x(), buffer->rect().y(), buffer->rect().width() - 1,
|
||||||
|
@ -201,6 +202,7 @@ void MessageLayout::updateBuffer(QPixmap *buffer, int messageIndex, Selection &s
|
||||||
|
|
||||||
painter.drawText(QRectF(1, 1, this->container.width - 3, 1000),
|
painter.drawText(QRectF(1, 1, this->container.width - 3, 1000),
|
||||||
QString::number(++this->bufferUpdatedCount), option);
|
QString::number(++this->bufferUpdatedCount), option);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void MessageLayout::invalidateBuffer()
|
void MessageLayout::invalidateBuffer()
|
||||||
|
|
Loading…
Reference in a new issue