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:
parent
e5e295052f
commit
a3c39ea9d6
7 changed files with 62 additions and 8 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue