MCPcopy Create free account
hub / github.com/MyGUI/mygui / addMessage

Method addMessage

Tools/LayoutEditor/GroupMessage.cpp:20–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 }
19
20 void GroupMessage::addMessage(const MyGUI::UString& _message, MyGUI::LogLevel _type)
21 {
22 if (_type == MyGUI::LogLevel::Error)
23 {
24 for (const auto& errorMessage : mErrorMessages)
25 {
26 if (errorMessage == _message)
27 return;
28 }
29 mErrorMessages.push_back(_message);
30 }
31 else
32 {
33 for (const auto& warningMessage : mWarningMessages)
34 {
35 if (warningMessage == _message)
36 return;
37 }
38 mWarningMessages.push_back(_message);
39 }
40 }
41
42 void GroupMessage::showMessages()
43 {

Callers 3

parseWidgetMethod · 0.80
tryToApplyPropertyMethod · 0.80
notifyActionSkinMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected