MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / init

Method init

source/src/init.cpp:909–923  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

907
908std::once_flag init_once;
909void Qi::init()
910{
911 std::call_once(init_once, [] {
912 Qi::screen = System::screenSize();
913 Qi::display_update.start();
914 QiJson::LoadJson();
915
916 Init_Sound();
917
918 Init_Style();
919 if (Qi::set.theme >= Qi::ui.themes.size()) Qi::set.theme = 0;
920
921 QiFn::InitOcr(false);
922#ifdef Q_DRIVER
923 if (Qi::set.driver) QiFn::InitDriver(false);
924#endif
925
926 QiScriptInterpreter::init();

Callers

nothing calls this directly

Calls 6

LoadJsonFunction · 0.85
Init_SoundFunction · 0.85
Init_StyleFunction · 0.85
InitOcrFunction · 0.85
startMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected