MCPcopy Create free account
hub / github.com/OpenImageDebugger/OpenImageDebugger / open_export_dialog

Function open_export_dialog

src/host/ui/export_dialog.cpp:103–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void open_export_dialog(ExportDialogState& st,
104 const std::string& buffer_name,
105 const std::string& last_export_dir) {
106 st.open = true;
107 st.buffer_name = buffer_name;
108 st.user_edited_path = false;
109 st.format = oid::BufferExporter::OutputType::Bitmap;
110 set_path_buf(
111 st.path_buf,
112 default_export_path(
113 last_export_dir, std::getenv("HOME"), buffer_name, st.format));
114}
115
116} // namespace oid::host

Callers 3

mainFunction · 0.85
TESTFunction · 0.85

Calls 2

set_path_bufFunction · 0.85
default_export_pathFunction · 0.85

Tested by 1

TESTFunction · 0.68