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:
parent
305aa25aae
commit
e180e2553a
10 changed files with 33 additions and 33 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue