MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / CreateAuthorsLabels

Method CreateAuthorsLabels

Source/Editor/Windows/AboutDialog.cs:95–121  ·  view source on GitHub ↗

Generates authors labels. The top element that this labels should be put under. The created control

(Control topParentControl)

Source from the content-addressed store, hash-verified

93 /// <param name="topParentControl">The top element that this labels should be put under.</param>
94 /// <returns>The created control</returns>
95 private Control CreateAuthorsLabels(Control topParentControl)
96 {
97 var authors = new List<string>(new[]
98 {
99 "Wojciech Figat",
100 "Tomasz Juszczak",
101 "Damian Korczowski",
102 "Michał Winiarski",
103 "Stefan Brandmair",
104 "Lukáš Jech",
105 "Jean-Baptiste Perrier",
106 "Chandler Cox",
107 "Ari Vuollet",
108 "Vincent Saarmann",
109 "Michael Salvini",
110 });
111 authors.Sort();
112 var authorsLabel = new Label(4, topParentControl.Bottom + 20, Width - 8, 70)
113 {
114 Text = "People who made it:\n" + string.Join(", ", authors),
115 HorizontalAlignment = TextAlignment.Near,
116 VerticalAlignment = TextAlignment.Near,
117 Wrapping = TextWrapping.WrapWords,
118 Parent = this
119 };
120 return authorsLabel;
121 }
122
123 /// <summary>
124 /// Generates 3rdParty software and other licenses labels.

Callers

nothing calls this directly

Calls 2

SortMethod · 0.45
JoinMethod · 0.45

Tested by

no test coverage detected