mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:27:43 +00:00
LibGUI: Rename GEventLoop.{cpp,h} => GWindowServerConnection
The GEventLoop class is long gone, and the only class in these files is GWindowServerConnection, so let's update the file names. :^)
This commit is contained in:
parent
69883bea6f
commit
8a024a3305
16 changed files with 22 additions and 26 deletions
|
@ -1,10 +1,10 @@
|
|||
#include <LibGUI/GAction.h>
|
||||
#include <LibGUI/GApplication.h>
|
||||
#include <LibGUI/GEventLoop.h>
|
||||
#include <LibGUI/GLabel.h>
|
||||
#include <LibGUI/GMenuBar.h>
|
||||
#include <LibGUI/GPainter.h>
|
||||
#include <LibGUI/GWindow.h>
|
||||
#include <LibGUI/GWindowServerConnection.h>
|
||||
#include <WindowServer/WSAPITypes.h>
|
||||
|
||||
static GApplication* s_the;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <LibC/SharedBuffer.h>
|
||||
#include <LibGUI/GClipboard.h>
|
||||
#include <LibGUI/GEventLoop.h>
|
||||
#include <LibGUI/GWindowServerConnection.h>
|
||||
#include <WindowServer/WSAPITypes.h>
|
||||
|
||||
GClipboard& GClipboard::the()
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <LibGUI/GDesktop.h>
|
||||
#include <LibGUI/GEventLoop.h>
|
||||
#include <LibGUI/GWindowServerConnection.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include <AK/HashMap.h>
|
||||
#include <LibGUI/GAction.h>
|
||||
#include <LibGUI/GEventLoop.h>
|
||||
#include <LibGUI/GMenu.h>
|
||||
#include <LibGUI/GWindowServerConnection.h>
|
||||
|
||||
//#define GMENU_DEBUG
|
||||
|
||||
|
@ -113,7 +113,7 @@ int GMenu::realize_menu()
|
|||
request.menu.enabled = true;
|
||||
request.menu.checkable = false;
|
||||
request.menu.checked = false;
|
||||
|
||||
|
||||
// no shortcut on submenu, make sure this is cleared out
|
||||
request.menu.shortcut_text_length = 0;
|
||||
strcpy(request.menu.shortcut_text, "\0");
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <LibGUI/GEventLoop.h>
|
||||
#include <LibGUI/GMenuBar.h>
|
||||
#include <LibGUI/GWindowServerConnection.h>
|
||||
|
||||
GMenuBar::GMenuBar()
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include <LibGUI/GAction.h>
|
||||
#include <LibGUI/GEventLoop.h>
|
||||
#include <LibGUI/GMenu.h>
|
||||
#include <LibGUI/GMenuItem.h>
|
||||
#include <LibGUI/GWindowServerConnection.h>
|
||||
#include <WindowServer/WSAPITypes.h>
|
||||
|
||||
GMenuItem::GMenuItem(unsigned menu_id, Type type)
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
#include "GWidget.h"
|
||||
#include "GEvent.h"
|
||||
#include "GEventLoop.h"
|
||||
#include "GWindow.h"
|
||||
#include <AK/Assertions.h>
|
||||
#include <AK/JsonObject.h>
|
||||
#include <LibDraw/GraphicsBitmap.h>
|
||||
#include <LibGUI/GAction.h>
|
||||
#include <LibGUI/GApplication.h>
|
||||
#include <LibGUI/GEvent.h>
|
||||
#include <LibGUI/GLayout.h>
|
||||
#include <LibGUI/GMenu.h>
|
||||
#include <LibGUI/GPainter.h>
|
||||
#include <LibDraw/GraphicsBitmap.h>
|
||||
#include <LibGUI/GWidget.h>
|
||||
#include <LibGUI/GWindow.h>
|
||||
#include <LibGUI/GWindowServerConnection.h>
|
||||
#include <unistd.h>
|
||||
|
||||
GWidget::GWidget(GWidget* parent)
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
#include <LibDraw/GraphicsBitmap.h>
|
||||
#include <LibGUI/GApplication.h>
|
||||
#include <LibGUI/GEvent.h>
|
||||
#include <LibGUI/GEventLoop.h>
|
||||
#include <LibGUI/GPainter.h>
|
||||
#include <LibGUI/GWidget.h>
|
||||
#include <LibGUI/GWindow.h>
|
||||
#include <LibGUI/GWindowServerConnection.h>
|
||||
|
||||
//#define UPDATE_COALESCING_DEBUG
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
#include "GEventLoop.h"
|
||||
#include "GEvent.h"
|
||||
#include "GWindow.h"
|
||||
#include <LibC/errno.h>
|
||||
#include <LibC/fcntl.h>
|
||||
#include <LibC/stdio.h>
|
||||
|
@ -17,8 +14,11 @@
|
|||
#include <LibGUI/GApplication.h>
|
||||
#include <LibGUI/GClipboard.h>
|
||||
#include <LibGUI/GDesktop.h>
|
||||
#include <LibGUI/GEvent.h>
|
||||
#include <LibGUI/GMenu.h>
|
||||
#include <LibGUI/GWidget.h>
|
||||
#include <LibGUI/GWindow.h>
|
||||
#include <LibGUI/GWindowServerConnection.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
//#define GEVENTLOOP_DEBUG
|
|
@ -4,7 +4,7 @@ OBJS = \
|
|||
GPainter.o \
|
||||
GButton.o \
|
||||
GCheckBox.o \
|
||||
GEventLoop.o \
|
||||
GWindowServerConnection.o \
|
||||
GLabel.o \
|
||||
GTextBox.o \
|
||||
GScrollBar.o \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue