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

Method GetItemSize

src/render_panel/ui/tab_game.cpp:343–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341 }
342
343 QSize TabGame::GetItemSize() {
344 int item_width = 180;
345 int item_height = item_width / (600.0/900.0);
346 return {item_width, item_height};
347 }
348
349 void TabGame::AddItems(const std::vector<TcDBGamePtr>& games) {
350 context_->PostUITask([=, this]() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected