diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-06 11:56:38 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-06 11:56:38 +0100 |
commit | 11580babbfb1b8ae0acab2400f11d905c35642f5 (patch) | |
tree | 3b26fcd4bf7afe9ff92203468ba7cd95e192d55f /Libraries/LibDraw/CharacterBitmap.cpp | |
parent | 939a605334a71dd8b7af91cdcbe9047281f7b5b9 (diff) | |
download | serenity-11580babbfb1b8ae0acab2400f11d905c35642f5.zip |
LibDraw: Put all classes in the Gfx namespace
I started adding things to a Draw namespace, but it somehow felt really
wrong seeing Draw::Rect and Draw::Bitmap, etc. So instead, let's rename
the library to LibGfx. :^)
Diffstat (limited to 'Libraries/LibDraw/CharacterBitmap.cpp')
-rw-r--r-- | Libraries/LibDraw/CharacterBitmap.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Libraries/LibDraw/CharacterBitmap.cpp b/Libraries/LibDraw/CharacterBitmap.cpp index 2f4c4d5880..d51ff1d080 100644 --- a/Libraries/LibDraw/CharacterBitmap.cpp +++ b/Libraries/LibDraw/CharacterBitmap.cpp @@ -26,6 +26,8 @@ #include "CharacterBitmap.h" +namespace Gfx { + CharacterBitmap::CharacterBitmap(const char* ascii_data, unsigned width, unsigned height) : m_bits(ascii_data) , m_size(width, height) @@ -40,3 +42,5 @@ NonnullRefPtr<CharacterBitmap> CharacterBitmap::create_from_ascii(const char* as { return adopt(*new CharacterBitmap(asciiData, width, height)); } + +} |