| 170 | |
| 171 | private: |
| 172 | void EnableTextfileButton(std::string_view filename, Subdirectory subdir, WidgetID button_widget) |
| 173 | { |
| 174 | this->GetWidget<NWidgetLeaf>(button_widget)->SetDisabled(!FindGameManualFilePath(filename, subdir).has_value()); |
| 175 | } |
| 176 | }; |
| 177 | |
| 178 | static constexpr std::initializer_list<NWidgetPart> _nested_helpwin_widgets = { |
no test coverage detected