MCPcopy Create free account
hub / github.com/chrxh/alien / process

Method process

source/Gui/GenericFileDialog.cpp:28–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void GenericFileDialog::process()
29{
30 if (!ifd::FileDialog::Instance().IsDone("GenericFileDialog", WindowController::get().getContentScaleFactor())) {
31 return;
32 }
33 if (ifd::FileDialog::Instance().HasResult()) {
34 _actionFunc(ifd::FileDialog::Instance().GetResult());
35 }
36 ifd::FileDialog::Instance().Close();
37}

Callers

nothing calls this directly

Calls 4

IsDoneMethod · 0.80
getContentScaleFactorMethod · 0.80
HasResultMethod · 0.80
CloseMethod · 0.45

Tested by

no test coverage detected