X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin2_src%2FWM%2Finterface.c;h=91396ee697f452afb3f3e8823030bfcbab9c3d3f;hb=94c9ee44d701154379842425b5ee0826995e000e;hp=65632bb1f50b804da7d173b30e26fa019dc4aee7;hpb=43992cf707ec82f8ffd3a1500ad5952640335a6d;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin2_src/WM/interface.c b/Usermode/Applications/axwin2_src/WM/interface.c index 65632bb1..91396ee6 100644 --- a/Usermode/Applications/axwin2_src/WM/interface.c +++ b/Usermode/Applications/axwin2_src/WM/interface.c @@ -19,6 +19,15 @@ tElement *gpInterface_HeaderBar; tElement *gpInterface_TabBar; tElement *gpInterface_TabContent; const char csLogoSmall[] = "base64:///"RESOURCE_LogoSmall_sif; +tApplication *gpInterface_CurrentApp; + +typedef struct sApplicationLink tApplicationLink; + +struct sApplicationLink { + tApplication *App; + tElement *Button; + char Name[]; +}; // === CODE === /** @@ -82,13 +91,23 @@ void Interface_Init(void) void Interface_Update(void) { +// tApplication *app; +// tApplicationLink *lnk; giInterface_Width = giScreenWidth/16; AxWin_SetSize( gpInterface_Sidebar, giInterface_Width ); + + // Scan application list for changes + // - HACK for now, just directly access it +// for( app = gWM_Applications; app; app = app->Next ) +// { +// AxWin_CreateElement(); +// } + + // Update current tab list } void Interface_Render(void) { - Video_FillRect( 0, 0, giInterface_Width, giScreenHeight,