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
|
2017-01-16 15:06:12 +01:00
|
|
|
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);
|
|
|
|
}
|
2017-01-16 03:15:07 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
2017-01-16 15:06:12 +01:00
|
|
|
Windows::repaintVisibleChatWidgets(Channel *channel)
|
2017-01-16 03:15:07 +01:00
|
|
|
{
|
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
|
|
|
}
|