MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SetRect

Method SetRect

engine/Poseidon/Game/Chat.cpp:109–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107ChatList::ChatList()
108{
109 SetRows(CHAT_ITEMS_VISIBLE);
110 SetRect(0.05, 0.02, 0.9, 0.02);
111
112 _font = nullptr;
113 _size = 0;
114 _bgColor = PackedColor(Color(0, 0, 0, 0.8));
115 _colors[CCGlobal] = PackedColor(Color(0.8, 0.8, 0.8, 1));
116 _colors[CCSide] = PackedColor(Color(0, 0.9, 0.9, 1));
117 _colors[CCGroup] = PackedColor(Color(0.1, 0.9, 0.2, 1));
118 _colors[CCVehicle] = PackedColor(Color(0.9, 0.8, 0, 1));

Callers 4

InitUIMethod · 0.80
~DisplayMissionMethod · 0.80
DisplayGetReadyMethod · 0.80
~DisplayGetReadyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected