~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Handle suspend and resume events in PuTTYgen as well.
[sgt/putty]
/
mac
/
macpgen.r
diff --git
a/mac/macpgen.r
b/mac/macpgen.r
index
ea0e25d
..
1c47330
100644
(file)
--- a/
mac/macpgen.r
+++ b/
mac/macpgen.r
@@
-1,4
+1,4
@@
-/* $Id: macpgen.r,v 1.
2 2003/02/15 14:20:43
ben Exp $ */
+/* $Id: macpgen.r,v 1.
5 2003/02/23 13:31:12
ben Exp $ */
/*
* Copyright (c) 1999, 2002 Ben Harris
* All rights reserved.
/*
* Copyright (c) 1999, 2002 Ben Harris
* All rights reserved.
@@
-58,10
+58,10
@@
resource 'pGen' (0, purgeable) {
resource 'SIZE' (-1) {
reserved,
resource 'SIZE' (-1) {
reserved,
-
ignore
SuspendResumeEvents,
+
accept
SuspendResumeEvents,
reserved,
canBackground,
reserved,
canBackground,
-
need
sActivateOnFGSwitch,
+
doe
sActivateOnFGSwitch,
backgroundAndForeground,
dontGetFrontClicks,
ignoreAppDiedEvents,
backgroundAndForeground,
dontGetFrontClicks,
ignoreAppDiedEvents,
@@
-448,8
+448,8
@@
resource 'DLOG' (wKey, "key", purgeable) {
noGrowDocProc,
invisible,
goAway,
noGrowDocProc,
invisible,
goAway,
- w
About,
/* RefCon -- identifies the window to PuTTY */
- w
About,
/* DITL ID */
+ w
Key,
/* RefCon -- identifies the window to PuTTY */
+ w
Key,
/* DITL ID */
"untitled",
staggerParentWindowScreen
};
"untitled",
staggerParentWindowScreen
};
@@
-460,8
+460,19
@@
resource 'dlgx' (wKey, "key", purgeable) {
}
};
}
};
+#define cProgress 129
+
resource 'DITL' (wKey, "key", purgeable) {
{
resource 'DITL' (wKey, "key", purgeable) {
{
+ { 13, 13, 33, 227 },
+ Button { enabled, "Generate" },
+ { 46, 13, 12, 227 },
+ Control { enabled, cProgress },
}
};
}
};
+resource 'CNTL' (cProgress) {
+ { 46, 13, 12, 227 },
+ 0, visible, 0, 0,
+ kControlProgressBarProc, 0, ""
+};
\ No newline at end of file