mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-19 18:53:32 +00:00
fix: Multiplayer Room Overlay
This commit is contained in:
@@ -8,6 +8,8 @@
|
|||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QGridLayout>
|
#include <QGridLayout>
|
||||||
|
#include <set>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#include "citron/multiplayer/state.h"
|
#include "citron/multiplayer/state.h"
|
||||||
#include "citron/multiplayer/chat_room.h"
|
#include "citron/multiplayer/chat_room.h"
|
||||||
@@ -45,6 +47,7 @@ private:
|
|||||||
void UpdatePosition();
|
void UpdatePosition();
|
||||||
void ConnectToRoom();
|
void ConnectToRoom();
|
||||||
void DisconnectFromRoom();
|
void DisconnectFromRoom();
|
||||||
|
void ClearUI();
|
||||||
|
|
||||||
GMainWindow* main_window;
|
GMainWindow* main_window;
|
||||||
QTimer update_timer;
|
QTimer update_timer;
|
||||||
@@ -74,4 +77,7 @@ private:
|
|||||||
bool has_been_moved = false;
|
bool has_been_moved = false;
|
||||||
QPoint drag_start_pos;
|
QPoint drag_start_pos;
|
||||||
QPoint widget_start_pos;
|
QPoint widget_start_pos;
|
||||||
|
|
||||||
|
// State tracking
|
||||||
|
bool is_chat_initialized = false;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user