MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / Advanced

Function Advanced

src/preferences.cpp:348–360  ·  view source on GitHub ↗

Advanced preferences page

Source from the content-addressed store, hash-verified

346
347/// Advanced preferences page
348void Advanced(wxTreebook *book, Preferences *parent) {
349 auto p = new OptionPage(book, parent, _("Advanced"));
350
351 auto general = p->PageSizer(_("General"));
352
353 auto warning = new wxStaticText(p, wxID_ANY ,_("Changing these settings might result in bugs and/or crashes. Do not touch these unless you know what you're doing."));
354 warning->SetFont(wxFont(12, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD));
355 p->sizer->Fit(p);
356 warning->Wrap(400);
357 general->Add(warning, 0, wxALL, 5);
358
359 p->SetSizerAndFit(p->sizer);
360}
361
362/// Advanced Audio preferences subpage
363void Advanced_Audio(wxTreebook *book, Preferences *parent) {

Callers 1

PreferencesMethod · 0.85

Calls 3

PageSizerMethod · 0.80
SetFontMethod · 0.80
AddMethod · 0.45

Tested by

no test coverage detected