1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:27:35 +00:00

Throw up some widgets on screen so we can see what they look like.

This commit is contained in:
Andreas Kling 2019-01-11 04:10:07 +01:00
parent e5e295052f
commit a3c39ea9d6
7 changed files with 62 additions and 8 deletions

View file

@ -1,7 +1,6 @@
#include "CheckBox.h"
#include "Painter.h"
#include "CharacterBitmap.h"
#include <cstdio>
CheckBox::CheckBox(Widget* parent)
: Widget(parent)
@ -16,7 +15,7 @@ void CheckBox::setCaption(String&& caption)
{
if (caption == m_caption)
return;
m_caption = std::move(caption);
m_caption = move(caption);
update();
}