mirror-chatterino2/windows.cpp

25 lines
479 B
C++
Raw Normal View History

2017-01-15 16:38:30 +01:00
#include "windows.h"
2017-01-18 21:30:23 +01:00
namespace chatterino {
2017-01-18 04:33:30 +01:00
QMutex Windows::windowMutex;
2017-01-15 16:38:30 +01:00
2017-01-26 04:26:40 +01:00
widgets::MainWindow *Windows::mainWindow(nullptr);
2017-01-15 16:38:30 +01:00
void
Windows::layoutVisibleChatWidgets(Channel *channel)
2017-01-15 16:38:30 +01:00
{
2017-01-26 04:26:40 +01:00
if (Windows::mainWindow != nullptr) {
Windows::mainWindow->layoutVisibleChatWidgets(channel);
}
}
void
Windows::repaintVisibleChatWidgets(Channel *channel)
{
2017-01-26 04:26:40 +01:00
if (Windows::mainWindow != nullptr) {
Windows::mainWindow->repaintVisibleChatWidgets(channel);
}
2017-01-15 16:38:30 +01:00
}
2017-01-18 21:30:23 +01:00
}