| 140 | |
| 141 | public: |
| 142 | cube_render_node_t(wayfire_cube *cube) : node_t(false) |
| 143 | { |
| 144 | this->cube = cube; |
| 145 | auto w = cube->output->wset()->get_workspace_grid_size().width; |
| 146 | auto y = cube->output->wset()->get_current_workspace().y; |
| 147 | for (int i = 0; i < w; i++) |
| 148 | { |
| 149 | auto node = std::make_shared<wf::workspace_stream_node_t>(cube->output, wf::point_t{i, y}); |
| 150 | workspaces.push_back(node); |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | virtual void gen_render_instances( |
| 155 | std::vector<wf::scene::render_instance_uptr>& instances, |
nothing calls this directly
no test coverage detected