(03-31-2016, 09:34 PM)Abion47 Wrote: It sounds like you've already done most of it, so all that's left is to call ImGui_SetTransCategory at the beginning of your terminal's OnGui function. Make sure that you have #include "helpers/helper_imgui.hps" at the top of your map script. If it still doesn't work, try replacing the spaces in your lang file categories with underscores (none of the SOMA lang files have spaces in the category names, so maybe spaces aren't supported).
So I already have the gui helper, and I am using underscores. What could be the problem?
here's what I have for the terminal:
void computer_bedroom_OnGui(const tString&in asEntityName, float afTimeStep)
{
ImGui_SetTransCategory("computer_bedroom");
//Background
StationGuiBG_Scanlines();
StationGuiBG_Taskbar("theta");
int lActiveApp = StationGui_GetActiveApp(eComputerTerminalApp_MainMenu);
bool bBackButton = true;
switch(lActiveApp)
{
case eComputerTerminalApp_MainMenu:
StationGui_AddApp("Containment Status",true,eComputerTerminalApp_Containment);
StationGui_AddApp("Test Subject #26",false,eComputerTerminalApp_TestSubject);
StationGui_AddApp("Test Subject #37",true,eComputerTerminalApp_TestSubject);
StationGui_MainMenu();
bBackButton = false;
break;
case eComputerTerminalApp_Containment:
StationGui_TextReaderSingle("TerminalLogCaption","TerminalLog");
bBackButton = true;
break;
case eComputerTerminalApp_TestSubject:
StationGui_TextReaderSingle("TestSubjectCaption","TestSubject");
bBackButton = true;
break;
}
StationGui_BackButton(bBackButton);
}