INNER CODE UNIT · C++

e

oxylusengine/Oxylus · OxylusEditor/src/Editor.cpp:371

        auto* e = static_cast<Editor*>(user_data);
        if (!e || !files || !*files) {
          return;
        }

        const auto first_path_cstr = *files;
        const auto first_path_len = std::strlen(first_path_cstr);
        const auto path = std::string(first_path_cstr, first_path_len);
        if (!path.empty())
          e->open_scene(path);
      },
    .title = "Oxylus scene file...",
    .default_path = std::filesystem::current_path(),
    .filters = dialog_filters,
    .multi_select = false,
  });
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…