mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
End of a night's work. Not a very useful state, but this is my branch and
I'll do what I want with it. Anyway, made a start on a Mac display for the terminal emulator, and the enumeration of the global variables that will have to die. Oh, and the licence is now in a TEXT resource -- I just have to work out how to display it... [originally from svn r53]
This commit is contained in:
7
mac.c
7
mac.c
@ -1,4 +1,4 @@
|
||||
/* $Id: mac.c,v 1.1.2.4 1999/02/20 22:10:33 ben Exp $ */
|
||||
/* $Id: mac.c,v 1.1.2.5 1999/02/20 23:55:55 ben Exp $ */
|
||||
/*
|
||||
* mac.c -- miscellaneous Mac-specific routines
|
||||
*/
|
||||
@ -39,6 +39,8 @@ static void mac_closewindow(WindowPtr);
|
||||
static void mac_zoomwindow(WindowPtr, short);
|
||||
static void mac_shutdown(void);
|
||||
|
||||
static void mac_newsession(void);
|
||||
|
||||
int main (int argc, char **argv) {
|
||||
|
||||
mac_startup();
|
||||
@ -230,6 +232,9 @@ static void mac_menucommand(long result) {
|
||||
break;
|
||||
case mFile:
|
||||
switch (item) {
|
||||
case iNew:
|
||||
mac_newsession();
|
||||
break;
|
||||
case iClose:
|
||||
mac_closewindow(FrontWindow());
|
||||
break;
|
||||
|
Reference in New Issue
Block a user