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

Method gui_bottom

ytdlp-interface/gui_bottom.cpp:154–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152
153
154GUI::gui_bottom::gui_bottom(GUI &gui)
155{
156 using namespace nana;
157
158 auto &conf {GUI::conf};
159 pgui = &gui;
160
161 auto prevbot {gui.bottoms.back()};
162 if(prevbot)
163 outpath = prevbot->outpath;
164 else outpath = conf.outpath;
165
166 if(prevbot)
167 {
168 com_chap = prevbot->com_chap;
169 cbsubs = prevbot->cbsubs;
170 cbthumb = prevbot->cbthumb;
171 cbtime = prevbot->cbtime;
172 cbkeyframes = prevbot->cbkeyframes;
173 cbmp3 = prevbot->cbmp3;
174 cbargs = prevbot->cbargs;
175 argset = prevbot->argset;
176 }
177 else
178 {
179 com_chap = conf.com_chap;
180 cbsubs = conf.cbsubs;
181 cbthumb = conf.cbthumb;
182 cbtime = conf.cbtime;
183 cbkeyframes = conf.cbkeyframes;
184 cbmp3 = conf.cbmp3;
185 cbargs = conf.cbargs;
186 argset = conf.argset;
187 }
188}
189
190
191bool GUI::gui_bottom::browse_for_filename()

Callers

nothing calls this directly

Calls 1

backMethod · 0.80

Tested by

no test coverage detected