summaryrefslogtreecommitdiffhomepage
path: root/Kernel
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-06-26 13:34:36 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-06-26 13:34:36 +0200
commit5a26f7e56102c69ddf6e4d2a501a074c78e41090 (patch)
tree0a967f8e59e0d367b4b32ba1bef6aac06b958cd6 /Kernel
parent741b054e999020acd0cc2023dc88e587ae9f4cbe (diff)
REMOVE: UIAccessbility::Show, it is rather useless and unsafe here.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/HALKit/AMD64/HalKernelMain.cxx1
-rw-r--r--Kernel/Modules/CoreCG/Accessibility.hxx13
2 files changed, 0 insertions, 14 deletions
diff --git a/Kernel/HALKit/AMD64/HalKernelMain.cxx b/Kernel/HALKit/AMD64/HalKernelMain.cxx
index a37a6e32..da1d32ef 100644
--- a/Kernel/HALKit/AMD64/HalKernelMain.cxx
+++ b/Kernel/HALKit/AMD64/HalKernelMain.cxx
@@ -198,7 +198,6 @@ EXTERN_C void hal_init_platform(
kSyscalls[cShutdownInterrupt].Leak().Leak()->fHooked = true;
kSyscalls[cRebootInterrupt].Leak().Leak()->fHooked = true;
- NewOS::UIAccessibilty::The().Show("RCM", NewOS::UIAccessibilty::The().Width(), NewOS::UIAccessibilty::The().Height());
NewOS::HAL::hal_system_get_cores(kHandoverHeader->f_HardwareTables.f_RsdPtr);
KERNEL_INIT(KeMain());
diff --git a/Kernel/Modules/CoreCG/Accessibility.hxx b/Kernel/Modules/CoreCG/Accessibility.hxx
index fa8791f1..1ad68d4e 100644
--- a/Kernel/Modules/CoreCG/Accessibility.hxx
+++ b/Kernel/Modules/CoreCG/Accessibility.hxx
@@ -34,19 +34,6 @@ namespace NewOS
return the;
}
- Int32 Show(const char* text, int x, int y)
- {
- if (!text || *text == 0)
- return kErrorHeapNotPresent;
-
- // GXDrawText("Sleek", text, cDeviceWidthAlert, x, cDeviceHeightAlert, y);
-
- if (cKTSyncCall)
- return kErrorAsync;
-
- return kErrorSuccess;
- }
-
Int64 Width() noexcept
{
return kHandoverHeader->f_GOP.f_Width;