Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 1011 vs 1012 for /trunk/Source Code/GUI/GUIConsole.cpp

Diff revisions: vs.
  @@ -165,9 +165,13 @@
165 165 _editBox->setText("");
166 166 }
167 167
168 - printText(Console::OutputEntry(visible ? "Toggling console display: ON"
169 - : "Toggling console display: OFF",
170 - Console::EntryType::Info));
168 + printText(
169 + {
170 + visible ? "Toggling console display: ON"
171 + : "Toggling console display: OFF",
172 + Console::EntryType::Info
173 + }
174 + );
171 175 size_t count = _outputWindow->getItemCount();
172 176 if (count > 0 && visible) {
173 177 _outputWindow->ensureItemIsVisible(count - 1);
  @@ -238,7 +242,12 @@
238 242 }
239 243
240 244 if (!_lastMsg.empty()) {
241 - OutputText(Console::OutputEntry(_lastMsg.c_str(), _lastMsgType));
245 + OutputText(
246 + {
247 + _lastMsg.c_str(),
248 + _lastMsgType
249 + }
250 + );
242 251 _lastMsg.clear();
243 252 }
244 253 }