| 1109 | } |
| 1110 | |
| 1111 | void BaseWorkspace::OnGetCaptureMonitorName(std::string monitor_name) { |
| 1112 | if (!game_view_) { |
| 1113 | return; |
| 1114 | } |
| 1115 | if (kCaptureAllMonitorsSign == monitor_name) { |
| 1116 | if (monitor_index_map_name_.size() > 0) { |
| 1117 | SendSwitchMonitorMessage(monitor_index_map_name_[0]); |
| 1118 | } |
| 1119 | return; |
| 1120 | } |
| 1121 | game_view_->SetMonitorName(monitor_name); |
| 1122 | } |
| 1123 | |
| 1124 | void BaseWorkspace::InitGameView(const std::shared_ptr<ThunderSdkParams>& params) { |
| 1125 | this->resize(def_window_size_); |
nothing calls this directly
no test coverage detected