MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / CreatePanel

Method CreatePanel

src/render_panel/gr_connected_manager.cpp:135–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133 }
134
135 void GrConnectedManager::CreatePanel() {
136 for (auto& item : connected_info_panel_group_) {
137 delete item.second;
138 }
139 connected_info_panel_group_.clear();
140 const int kMaxCount = 2;
141 for (int index = 0; index < kMaxCount; ++index) {
142 ConnectedInfoSlidingWindow* sliding_window = new ConnectedInfoSlidingWindow(gr_ctx_);
143 connected_info_panel_group_[index] = sliding_window;
144 sliding_window->hide();
145 }
146 }
147}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected