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

Method make_form_bottom

ytdlp-interface/gui_make.cpp:296–825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294
295
296void GUI::make_form_bottom()
297{
298 using namespace nana;
299
300 auto &bottom {bottoms.at("")};
301 auto &plc {get_place()};
302
303 btndl.enabled(false);
304 plc["prog"] << prog;
305 plc["separator"] << separator;
306 plc["expcol"] << expcol;
307 plc["gpopt"] << gpopt;
308 plc["btncopy"] << btncopy;
309 plc["btn_ytfmtlist"] << btn_ytfmtlist;
310 plc["btndl"] << btndl;
311 plc["btnq"] << btnq;
312
313 plc.field_display("prog", false);
314 plc.field_display("separator", true);
315 plc.field_display("btncopy", false);
316 plc.field_display("btncopy_spacer", false);
317 show_btnfmt(false);
318
319 prog.amount(1000);
320 prog.caption("");
321
322 gpopt.size({10, 10}); // workaround for weird caption display bug
323 gpopt.enable_format_caption(true);
324
325 gpopt.div(R"(vert margin=20
326 <weight=25 <l_out weight=122> <weight=15> <l_outpath> > <weight=20>
327 <weight=25
328 <l_rate weight=144> <weight=15> <tbrate weight=45> <weight=15> <com_rate weight=55>
329 <> <cbtime weight=304> <> <cbsubs weight=140>
330 > <weight=20>
331 <weight=25 <l_chap weight=67> <weight=10> <com_chap weight=65> <> <cbkeyframes weight=194> <> <cbthumb weight=152> <> <cbmp3 weight=181>>
332 <weight=20> <weight=24 <cbargs weight=164> <weight=15> <com_args> <weight=10> <btnlabel weight=24> <weight=10> <btnerase weight=24>>
333 )");
334
335 gpopt["l_out"] << l_out;
336 gpopt["l_outpath"] << l_outpath;
337 gpopt["l_rate"] << l_rate;
338 gpopt["tbrate"] << tbrate;
339 gpopt["com_rate"] << com_rate;
340 gpopt["l_chap"] << l_chap;
341 gpopt["cbkeyframes"] << cbkeyframes;
342 gpopt["cbmp3"] << cbmp3;
343 gpopt["com_chap"] << com_chap;
344 gpopt["cbsubs"] << cbsubs;
345 gpopt["cbthumb"] << cbthumb;
346 gpopt["cbtime"] << cbtime;
347 gpopt["cbargs"] << cbargs;
348 gpopt["com_args"] << com_args;
349 gpopt["btnlabel"] << btnlabel;
350 gpopt["btnerase"] << btnerase;
351
352 const auto dpi {API::screen_dpi(true)};
353 if(dpi >= 240)

Callers

nothing calls this directly

Calls 15

findFunction · 0.85
atMethod · 0.80
image_disabledMethod · 0.80
textMethod · 0.80
currentMethod · 0.80
caption_indexMethod · 0.80
dataMethod · 0.80
backMethod · 0.80
propagate_cb_optionsMethod · 0.80
collapsedMethod · 0.80

Tested by

no test coverage detected