| 13 | {} |
| 14 | |
| 15 | void SelectionWindow::processIntern() |
| 16 | { |
| 17 | auto selection = EditorModel::get().getSelectionShallowData(); |
| 18 | ImGui::Text("Cells"); |
| 19 | ImGui::PushFont(StyleRepository::get().getLargeFont()); |
| 20 | ImGui::PushStyleColor(ImGuiCol_Text, Const::TextDecentColor); |
| 21 | ImGui::TextUnformatted(StringHelper::format(selection.numCells).c_str()); |
| 22 | ImGui::PopStyleColor(); |
| 23 | ImGui::PopFont(); |
| 24 | |
| 25 | ImGui::Text("Connected cells"); |
| 26 | ImGui::PushFont(StyleRepository::get().getLargeFont()); |
| 27 | ImGui::PushStyleColor(ImGuiCol_Text, Const::TextDecentColor); |
| 28 | ImGui::TextUnformatted(StringHelper::format(selection.numClusterCells).c_str()); |
| 29 | ImGui::PopStyleColor(); |
| 30 | ImGui::PopFont(); |
| 31 | |
| 32 | ImGui::Text("Energy particles"); |
| 33 | ImGui::PushFont(StyleRepository::get().getLargeFont()); |
| 34 | ImGui::PushStyleColor(ImGuiCol_Text, Const::TextDecentColor); |
| 35 | ImGui::TextUnformatted(StringHelper::format(selection.numParticles).c_str()); |
| 36 | ImGui::PopStyleColor(); |
| 37 | ImGui::PopFont(); |
| 38 | } |
| 39 | |
| 40 | bool SelectionWindow::isShown() |
| 41 | { |
nothing calls this directly
no test coverage detected