X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin3_src%2FWM%2Fmain.c;h=5a2c35495f8d159f498c95f2feea4baf38f61b9e;hb=e7a76b0d8a0cc6aa77966509780973a6f8216ef7;hp=bf796d7be0278da6ed3ca7d0d442f6ca8c65c1e0;hpb=76e7cd79e42c40a63c4a9a18dc774da2c44fdb6d;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin3_src/WM/main.c b/Usermode/Applications/axwin3_src/WM/main.c index bf796d7b..5a2c3549 100644 --- a/Usermode/Applications/axwin3_src/WM/main.c +++ b/Usermode/Applications/axwin3_src/WM/main.c @@ -9,20 +9,13 @@ #include #include #include -#include #include #include "include/lowlevel.h" // === IMPORTS === extern void Video_Setup(void); extern void WM_Initialise(void); -extern int Renderer_Menu_Init(void); -extern int Renderer_Widget_Init(void); -extern int Renderer_Background_Init(void); -extern int Renderer_Framebuffer_Init(void); -extern int Renderer_RichText_Init(void); extern void WM_Update(void); -extern void WM_Hotkey_Register(int nKeys, uint32_t *Keys, const char *ActionName); // === PROTOTYPES === void ParseCommandline(int argc, char **argv); @@ -63,21 +56,7 @@ int main(int argc, char *argv[]) IPC_Init(); Input_Init(); - Renderer_Menu_Init(); - Renderer_Widget_Init(); - Renderer_Background_Init(); - Renderer_Framebuffer_Init(); - Renderer_RichText_Init(); WM_Initialise(); - - // TODO: Move these to config - uint32_t keys[4]; - keys[0] = KEYSYM_LEFTGUI; keys[1] = KEYSYM_r; - WM_Hotkey_Register(2, keys, "Interface>Run"); - keys[0] = KEYSYM_LEFTGUI; keys[1] = KEYSYM_t; - WM_Hotkey_Register(2, keys, "Interface>Terminal"); - keys[0] = KEYSYM_LEFTGUI; keys[1] = KEYSYM_e; - WM_Hotkey_Register(2, keys, "Interface>TextEdit"); // Spawn interface root if( !gbNoSpawnUI )