summaryrefslogtreecommitdiffhomepage
path: root/dev/Mod/CoreGfx/TextMgr.h
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2025-02-20 12:32:38 +0100
committerAmlal <amlal.elmahrouss@icloud.com>2025-02-20 12:38:04 +0100
commit7d2a7e7cab23b8217498866615a3719e5d3980ee (patch)
tree75b87af3d8be10f29f2d5c69af17a9455c90df73 /dev/Mod/CoreGfx/TextMgr.h
parentaa8a096ad429640e752d69a89c572da35493d4c0 (diff)
NeOS: Namespace change from 'Kernel' to 'NeOS'
ADD: Start defining the Workstation's HPFS (High-Performance File System) Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Mod/CoreGfx/TextMgr.h')
-rw-r--r--dev/Mod/CoreGfx/TextMgr.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev/Mod/CoreGfx/TextMgr.h b/dev/Mod/CoreGfx/TextMgr.h
index 27b182ee..a3c1af24 100644
--- a/dev/Mod/CoreGfx/TextMgr.h
+++ b/dev/Mod/CoreGfx/TextMgr.h
@@ -13,7 +13,7 @@
#define kFontSizeY 8
#define kFontNOFChars 128
-inline const Kernel::UInt8 kFontBitmap[kFontNOFChars][kFontSizeX] = {
+inline const NeOS::UInt8 kFontBitmap[kFontNOFChars][kFontSizeX] = {
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // U+0000 (nul)
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // U+0001
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // U+0002
@@ -145,10 +145,10 @@ inline const Kernel::UInt8 kFontBitmap[kFontNOFChars][kFontSizeX] = {
};
-inline Kernel::Void fb_render_string_for_bitmap(const Kernel::UInt8* bitmap, const Kernel::SizeT& x_sz, const Kernel::SizeT& y_sz, Kernel::Int32& x_dst, Kernel::Int32& y_dst, Kernel::Int32& color)
+inline NeOS::Void fb_render_string_for_bitmap(const NeOS::UInt8* bitmap, const NeOS::SizeT& x_sz, const NeOS::SizeT& y_sz, NeOS::Int32& x_dst, NeOS::Int32& y_dst, NeOS::Int32& color)
{
- Kernel::Int32 x, y;
- Kernel::Int32 set;
+ NeOS::Int32 x, y;
+ NeOS::Int32 set;
x = 0;
y = 0;
@@ -168,9 +168,9 @@ inline Kernel::Void fb_render_string_for_bitmap(const Kernel::UInt8* bitmap, con
}
}
-inline Kernel::Void fb_render_string(const Kernel::Char* text, Kernel::Int32 x_dst, Kernel::Int32 y_dst, Kernel::Int32 color)
+inline NeOS::Void fb_render_string(const NeOS::Char* text, NeOS::Int32 x_dst, NeOS::Int32 y_dst, NeOS::Int32 color)
{
- for (Kernel::SizeT i = 0; text[i] != 0; ++i)
+ for (NeOS::SizeT i = 0; text[i] != 0; ++i)
{
fb_render_string_for_bitmap(&kFontBitmap[text[i]][0], kFontSizeX, kFontSizeY, x_dst, y_dst, color);
y_dst += kFontSizeY;