Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Terminals.
Hypercube Offline
Member

Posts: 124
Threads: 20
Joined: Sep 2015
Reputation: 1
#3
RE: Terminals.

(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);
}
03-31-2016, 09:51 PM
Find


Messages In This Thread
Terminals. - by Hypercube - 03-31-2016, 09:14 PM
RE: Terminals. - by Abion47 - 03-31-2016, 09:34 PM
RE: Terminals. - by Hypercube - 03-31-2016, 09:51 PM
RE: Terminals. - by Abion47 - 03-31-2016, 10:41 PM
RE: Terminals. - by Hypercube - 03-31-2016, 10:48 PM
RE: Terminals. - by Abion47 - 04-01-2016, 05:58 AM
RE: Terminals. - by Hypercube - 04-01-2016, 10:02 PM
RE: Terminals. - by Abion47 - 04-01-2016, 10:12 PM
RE: Terminals. - by Hypercube - 04-01-2016, 10:15 PM
RE: Terminals. - by Abion47 - 04-01-2016, 10:16 PM
RE: Terminals. - by Hypercube - 04-01-2016, 10:19 PM
RE: Terminals. - by Abion47 - 04-01-2016, 10:21 PM
RE: Terminals. - by Hypercube - 04-01-2016, 10:22 PM
RE: Terminals. - by Abion47 - 04-01-2016, 10:37 PM
RE: Terminals. - by Hypercube - 04-02-2016, 01:25 AM
RE: Terminals. - by Abion47 - 04-02-2016, 05:38 AM
RE: Terminals. - by Hypercube - 04-02-2016, 06:06 AM
RE: Terminals. - by Hypercube - 04-03-2016, 04:05 AM
RE: Terminals. - by Abion47 - 04-02-2016, 11:47 PM
RE: Terminals. - by Hypercube - 04-03-2016, 02:35 AM
RE: Terminals. - by Romulator - 04-03-2016, 03:06 AM
RE: Terminals. - by Abion47 - 04-03-2016, 04:45 AM
RE: Terminals. - by Hypercube - 04-03-2016, 05:57 AM
RE: Terminals. - by Abion47 - 04-04-2016, 07:19 AM
RE: Terminals. - by Hypercube - 04-04-2016, 08:29 AM
RE: Terminals. - by Abion47 - 04-06-2016, 12:33 AM
RE: Terminals. - by Abion47 - 04-06-2016, 06:51 AM
RE: Terminals. - by Hypercube - 04-06-2016, 08:17 AM



Users browsing this thread: 1 Guest(s)