1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 12:25:06 +00:00

Rename all the LibGUI classes to GClassName.

This commit is contained in:
Andreas Kling 2019-01-20 04:49:48 +01:00
parent a026da47e7
commit b91479d9b9
33 changed files with 623 additions and 581 deletions

42
LibGUI/GWindow.cpp Normal file
View file

@ -0,0 +1,42 @@
#include "GWindow.h"
#include "GEvent.h"
#include "GEventLoop.h"
#include <SharedGraphics/GraphicsBitmap.h>
GWindow::GWindow(int window_id)
: m_window_id(window_id)
{
}
GWindow::~GWindow()
{
}
void GWindow::set_title(String&& title)
{
if (m_title == title)
return;
m_title = move(title);
}
void GWindow::set_rect(const Rect& rect)
{
if (m_rect == rect)
return;
m_rect = rect;
dbgprintf("GWindow::setRect %d,%d %dx%d\n", m_rect.x(), m_rect.y(), m_rect.width(), m_rect.height());
}
void GWindow::event(GEvent& event)
{
}
bool GWindow::is_visible() const
{
return false;
}
void GWindow::close()
{
}