mirror of
https://github.com/RGBCube/serenity
synced 2025-10-17 17:32:06 +00:00
Move some more classes to the new coding style.
This commit is contained in:
parent
a2ec09bc20
commit
7750e6952b
20 changed files with 113 additions and 114 deletions
|
@ -1,7 +1,7 @@
|
|||
#include "CharacterBitmap.h"
|
||||
|
||||
CharacterBitmap::CharacterBitmap(const char* asciiData, unsigned width, unsigned height)
|
||||
: m_bits(asciiData)
|
||||
CharacterBitmap::CharacterBitmap(const char* ascii_data, unsigned width, unsigned height)
|
||||
: m_bits(ascii_data)
|
||||
, m_size(width, height)
|
||||
{
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ CharacterBitmap::~CharacterBitmap()
|
|||
{
|
||||
}
|
||||
|
||||
RetainPtr<CharacterBitmap> CharacterBitmap::createFromASCII(const char* asciiData, unsigned width, unsigned height)
|
||||
RetainPtr<CharacterBitmap> CharacterBitmap::create_from_ascii(const char* asciiData, unsigned width, unsigned height)
|
||||
{
|
||||
return adopt(*new CharacterBitmap(asciiData, width, height));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue