1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:47:34 +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

22
LibGUI/GLabel.h Normal file
View file

@ -0,0 +1,22 @@
#pragma once
#include "GWidget.h"
#include <AK/AKString.h>
class GLabel final : public GWidget {
public:
explicit GLabel(GWidget* parent);
virtual ~GLabel() override;
String text() const { return m_text; }
void setText(String&&);
private:
virtual void paintEvent(GPaintEvent&) override;
virtual void mouseMoveEvent(GMouseEvent&) override;
virtual const char* class_name() const override { return "GLabel"; }
String m_text;
};