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

Function print

MyGUIEngine/include/MyGUI_Align.h:143–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 }
142
143 std::string print() const
144 {
145 std::string result;
146
147 if (mValue & Left)
148 {
149 if (mValue & Right)
150 result = "HStretch";
151 else
152 result = "Left";
153 }
154 else if (mValue & Right)
155 result = "Right";
156 else
157 result = "HCenter";
158
159 if (mValue & Top)
160 {
161 if (mValue & Bottom)
162 result += " VStretch";
163 else
164 result += " Top";
165 }
166 else if (mValue & Bottom)
167 result += " Bottom";
168 else
169 result += " VCenter";
170
171 return result;
172 }
173
174 friend std::ostream& operator<<(std::ostream& _stream, const Align& _value)
175 {

Callers 7

printMethod · 0.50
CountLinesInFolderFunction · 0.50
count_lines.pyFile · 0.50
print_filteredFunction · 0.50
mainFunction · 0.50
printMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected