1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:57:44 +00:00

Rename CBitmap to CharacterBitmap.

This commit is contained in:
Andreas Kling 2019-01-10 05:41:49 +01:00
parent 305aa25aae
commit e180e2553a
10 changed files with 33 additions and 33 deletions

View file

@ -1,6 +1,6 @@
#include "CheckBox.h"
#include "Painter.h"
#include "CBitmap.h"
#include "CharacterBitmap.h"
#include <cstdio>
CheckBox::CheckBox(Widget* parent)
@ -76,7 +76,7 @@ static const char* checkedBitmap = {
void CheckBox::paintEvent(PaintEvent&)
{
Painter painter(*this);
auto bitmap = CBitmap::createFromASCII(isChecked() ? checkedBitmap : uncheckedBitmap, 11, 11);
auto bitmap = CharacterBitmap::createFromASCII(isChecked() ? checkedBitmap : uncheckedBitmap, 11, 11);
auto textRect = rect();
textRect.setLeft(bitmap->width() + 4);