diff options
Diffstat (limited to 'dev/ZKA/Sources')
| -rw-r--r-- | dev/ZKA/Sources/DLLMain.cxx | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/dev/ZKA/Sources/DLLMain.cxx b/dev/ZKA/Sources/DLLMain.cxx index b3bcd48c..c8db0c29 100644 --- a/dev/ZKA/Sources/DLLMain.cxx +++ b/dev/ZKA/Sources/DLLMain.cxx @@ -26,8 +26,19 @@ #include <Modules/CoreCG/WindowRenderer.hxx> #include <KernelKit/Timer.hxx> +/***********************************************************************************/ +/* Returns kernel's version. */ +/***********************************************************************************/ + EXTERN Kernel::Property cKernelVersion; +/***********************************************************************************/ +/* This is an external C symbol. */ +/***********************************************************************************/ + +EXTERN_C Kernel::Void _hal_init_mouse(); +EXTERN_C Kernel::Boolean _hal_draw_mouse(); + namespace Kernel::Detail { /// @brief Filesystem auto formatter, additional checks are also done by the class. @@ -198,8 +209,9 @@ EXTERN_C Kernel::Void ke_dll_entrypoint(Kernel::Void) CGFini(); - auto root_zka_wnd = CG::CGCreateWindow(CG::cWndFlagWindow, "ZKA Setup", "Window", 0, 0, CG::UIAccessibilty::The().Height() - 20, CG::UIAccessibilty::The().Width() - 20); + auto root_zka_wnd = CG::CGCreateWindow(CG::cWndFlagWindow, "ZKA Setup", "Window", 0, 0, 512, 256); + root_zka_wnd->w_sub_type = CG::cWndFlagCloseControlSelect; root_zka_wnd->w_x = 10; root_zka_wnd->w_y = 10; @@ -208,10 +220,10 @@ EXTERN_C Kernel::Void ke_dll_entrypoint(Kernel::Void) /// Now run kernel loop, until no process are running. Kernel::Detail::FilesystemInstaller(); // automatic filesystem creation. - auto root_install_wnd = CG::CGCreateWindow(CG::cWndFlagButton, "Install ZKA.", "Button", 0, 0, 128, 32); + auto root_install_wnd = CG::CGCreateWindow(CG::cWndFlagButtonSelect, "Install Now.", "Button", 0, 0, 128, 32); - root_install_wnd->w_x = 30; - root_install_wnd->w_y = 60; + root_install_wnd->w_x = 512 - 128; + root_install_wnd->w_y = 256 - 32; root_install_wnd->w_needs_repaint = Yes; |
