mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-16 20:45:33 -08:00
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:
1 parent
8db8df5791
commit
1f80fa6a7c
24 files changed
+9850
-64
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user