Add the desktop app loop driver with commit, notify, report and tools modules, and update the quit prompt, task dialog and meter

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-02 12:00:10 -08:00
1 parent 8db8df5791
commit 1f80fa6a7c
24 files changed
+9850 -64

No files matched your search

+5 -5
View File
@@ -53,11 +53,11 @@ unsafe extern "system" fn on_event(
/// Quit was pressed; anything else (Stay, Esc, the close button, a failure to
/// show the box) keeps the app open.
pub fn ask(parent: HWND, prompt: &QuitPrompt) -> bool {
let title = wide(prompt.title);
let heading = wide(prompt.heading);
let message = wide(prompt.message);
let quit = wide(prompt.quit);
let stay = wide(prompt.stay);
let title = wide(&prompt.title);
let heading = wide(&prompt.heading);
let message = wide(&prompt.message);
let quit = wide(&prompt.quit);
let stay = wide(&prompt.stay);
let buttons = [
TASKDIALOG_BUTTON {
nButtonID: ID_QUIT,