MCPcopy Create free account
hub / github.com/ErrorFlynn/ytdlp-interface / show_queue

Method show_queue

ytdlp-interface/gui.cpp:1835–1853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1833
1834
1835void GUI::show_queue(bool freeze_redraw)
1836{
1837 if(freeze_redraw)
1838 SendMessage(hwnd, WM_SETREDRAW, FALSE, 0);
1839 const auto px {nana::API::screen_dpi(true) >= 144};
1840 change_field_attr("Bottom", "weight", 298 - 240 * expcol.collapsed() - px);
1841 auto &plc {get_place()};
1842 btnq.caption("Show output");
1843 plc.field_display("prog", false);
1844 plc.field_display("separator", true);
1845 plc.collocate();
1846 outbox.highlight(false);
1847 outbox.hide();
1848 overlay.hide();
1849 queue_panel.show();
1850 if(freeze_redraw)
1851 SendMessage(hwnd, WM_SETREDRAW, TRUE, 0);
1852 SendMessage(hwnd, WM_REFRESH, reinterpret_cast<WPARAM>(handle()), 0);
1853}
1854
1855
1856void GUI::show_output()

Callers 1

createMethod · 0.80

Calls 5

collapsedMethod · 0.80
collocateMethod · 0.80
captionMethod · 0.45
highlightMethod · 0.45
showMethod · 0.45

Tested by

no test coverage detected