| 1171 | } |
| 1172 | |
| 1173 | void UpdateWindowTab(WindowBase* w, int32_t tabIndex) |
| 1174 | { |
| 1175 | if (w->classification == WindowClass::custom) |
| 1176 | { |
| 1177 | auto& customInfo = GetInfo(static_cast<CustomWindow*>(w)); |
| 1178 | if (tabIndex >= 0 && tabIndex < static_cast<int32_t>(customInfo.Desc.Tabs.size())) |
| 1179 | { |
| 1180 | static_cast<CustomWindow*>(w)->ChangeTab(tabIndex); |
| 1181 | } |
| 1182 | } |
| 1183 | } |
| 1184 | |
| 1185 | void UpdateWidgetText(WindowBase* w, WidgetIndex widgetIndex, std::string_view value) |
| 1186 | { |
no test coverage detected