X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=Usermode%2FApplications%2Faxwin2_src%2FWM%2Finterface.c;h=630b1f4733683619f2ab23bc912242522b96eefd;hb=c3a2920bab79e0a41b45c74b883367437ab1dd6d;hp=d4ad424f04eb7d0b4ccb4fd662a0839a082cd188;hpb=46f48de954dc7e7a5b30c50ecb851cc26d5c1ce0;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin2_src/WM/interface.c b/Usermode/Applications/axwin2_src/WM/interface.c index d4ad424f..630b1f47 100644 --- a/Usermode/Applications/axwin2_src/WM/interface.c +++ b/Usermode/Applications/axwin2_src/WM/interface.c @@ -6,6 +6,7 @@ * > Main Overarching UI */ #include "common.h" +#include "resources/LogoSmall.sif.res.h" // === GLOBALS == int giInterface_Width = 0; @@ -17,6 +18,7 @@ tElement *gpInterface_MainArea; tElement *gpInterface_HeaderBar; tElement *gpInterface_TabBar; tElement *gpInterface_TabContent; +const char csLogoSmall[] = "base64:///"RESOURCE_LogoSmall_sif; // === CODE === /** @@ -41,9 +43,11 @@ void Interface_Init(void) btn = WM_CreateElement(gpInterface_Sidebar, ELETYPE_BUTTON, ELEFLAG_NOSTRETCH, "SystemMenu"); WM_SetSize(btn, giInterface_Width-4); // TODO: Once image loading is implemented, switch to a logo - #if 0 - text = WM_CreateElement(btn, ELETYPE_IMAGE, ELEFLAG_SCALE); - WM_SetText(text, "asset://LogoSmall.sif"); + #if 1 + //text = WM_CreateElement(btn, ELETYPE_IMAGE, ELEFLAG_SCALE); + text = WM_CreateElement(btn, ELETYPE_IMAGE, 0, "MenuLogo"); + //WM_SetText(text, "file:///LogoSmall.sif"); + WM_SetText(text, csLogoSmall); #else text = WM_CreateElement(btn, ELETYPE_TEXT, 0, NULL); WM_SetText(text, "Acess");