| 171 | } |
| 172 | |
| 173 | void GameView::UpdateFullColorState(bool full_color) { |
| 174 | if (!is_main_view_) { |
| 175 | return; |
| 176 | } |
| 177 | if (settings_->IsFullColorEnabled() != full_color) { |
| 178 | settings_->SetFullColorEnabled(full_color); |
| 179 | ctx_->SendAppMessage(MsgClientFloatControllerPanelUpdate{ |
| 180 | .update_type_ = MsgClientFloatControllerPanelUpdate::EUpdate::kFullColorStatus |
| 181 | }); |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | void GameView::RefreshI420Image(const std::shared_ptr<RawImage>& image) { |
| 186 | if (video_widget_->GetDisplayImageFormat() != kRawImageI420) { |
no test coverage detected