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
Terminal doesn't like to show up.
mysteryman141 Offline
Junior Member

Posts: 17
Threads: 9
Joined: Nov 2015
Reputation: 0
#3
RE: Terminal doesn't like to show up.

Working Gui

computer_structurecontrol_1_OnGui

void computer_structurecontrol_1_OnGui(const tString&in asEntityName, float afTimeStep)
{

cImGuiLabelData labelText;
cImGuiLabelData labelNumber;

labelText.mFont.mvSize = cVector2f(50, 50);
labelNumber.mFont.mvSize = cVector2f(50, 50);

//labelNumber.mColorText = cColor(0.9, 0.25, 0.15, 1.0);

ImGui_DoLabelExt("Air Quality", labelText, cVector3f(160, 180, 0));
ImGui_DoLabelExt("86%", labelNumber, cVector3f(220, 230, 0));

}

Non working

security_terminal_OnGui

void security_terminal_OnGui(const tString&in asEntityName, float afTimeStep)
{

cImGuiLabelData labelText;

labelText.mFont.mvSize = cVector2f(50, 50);

ImGui_DoLabelExt("test", labelText, cVector3f(160, 180, 0));

}
11-29-2015, 03:12 AM
Find


Messages In This Thread
RE: Terminal doesn't like to show up. - by mysteryman141 - 11-29-2015, 03:12 AM



Users browsing this thread: 1 Guest(s)