initialize FinalCut palette earlier;

r05a04_dev
Bryan Biedenkapp 2 months ago
parent 4f92cd373f
commit dc5c833c68

@ -183,6 +183,8 @@ int HostSetup::run(int argc, char** argv)
"Portions Copyright (c) 2015-2021 by Jonathan Naylor, G4KLX and others\r\n" \
">> Modem Setup\r\n");
finalcut::FApplication::setColorTheme<dvmColorTheme>();
// setup the finalcut tui
SetupApplication app{this, argc, argv};
@ -248,7 +250,6 @@ int HostSetup::run(int argc, char** argv)
// show and start the application
setupWnd.show();
finalcut::FApplication::setColorTheme<dvmColorTheme>();
app.resetColors();
app.redraw();
return app.exec();

@ -200,6 +200,8 @@ int main(int argc, char** argv)
::fatal("cannot read the configuration file - %s (%s)", g_iniFile.c_str(), e.message());
}
finalcut::FApplication::setColorTheme<dvmColorTheme>();
// setup the finalcut tui
MonitorApplication app{argc, argv};
@ -234,7 +236,6 @@ int main(int argc, char** argv)
// show and start the application
wnd.show();
finalcut::FApplication::setColorTheme<dvmColorTheme>();
app.resetColors();
app.redraw();

@ -200,6 +200,8 @@ int main(int argc, char** argv)
::fatal("cannot read the configuration file - %s (%s)", g_iniFile.c_str(), e.message());
}
finalcut::FApplication::setColorTheme<dvmColorTheme>();
// setup the finalcut tui
PeerEdApplication app{argc, argv};
@ -215,7 +217,6 @@ int main(int argc, char** argv)
// show and start the application
wnd.show();
finalcut::FApplication::setColorTheme<dvmColorTheme>();
app.resetColors();
app.redraw();

@ -1208,6 +1208,8 @@ int main(int argc, char** argv)
if (!Thread::runAsThread(nullptr, threadNetworkPump))
return EXIT_FAILURE;
finalcut::FApplication::setColorTheme<dvmColorTheme>();
// setup the finalcut tui
SysViewApplication* app = nullptr;
SysViewMainWnd* wnd = nullptr;
@ -1273,7 +1275,6 @@ int main(int argc, char** argv)
// show and start the application
wnd->show();
finalcut::FApplication::setColorTheme<dvmColorTheme>();
app->resetColors();
app->redraw();

@ -200,6 +200,8 @@ int main(int argc, char** argv)
::fatal("cannot read the configuration file - %s (%s)", g_iniFile.c_str(), e.message());
}
finalcut::FApplication::setColorTheme<dvmColorTheme>();
// setup the finalcut tui
TGEdApplication app{argc, argv};
@ -215,7 +217,6 @@ int main(int argc, char** argv)
// show and start the application
wnd.show();
finalcut::FApplication::setColorTheme<dvmColorTheme>();
app.resetColors();
app.redraw();

Loading…
Cancel
Save

Powered by TurnKey Linux.