| 81 | } |
| 82 | |
| 83 | void xg::guide::GuideController::BackgroundObject(const nlohmann::json &config) { |
| 84 | if(!config.is_object()) |
| 85 | return; |
| 86 | auto bg = xg::make_unique<xg::guide::Background>(config); |
| 87 | this->guides.push_back(std::move(bg)); |
| 88 | } |
| 89 | |
| 90 | void xg::guide::GuideController::ImageObject(const nlohmann::json &config) { |
| 91 | if(!config.is_object()) |