Switch to standard indentation of closing braces

This commit is contained in:
Stephen Heumann 2015-09-23 20:56:33 -05:00
parent ab3210adb0
commit ebf5297779
11 changed files with 296 additions and 296 deletions

View File

@ -65,7 +65,7 @@ void DoServerCutText (void) {
/* Potential errors (e.g. out of memory) ignored */
HUnlock(readBufferHndl);
}
}
}
void DoSendClipboard (void) {
static struct clientCutText {
@ -113,5 +113,5 @@ void DoSendClipboard (void) {
end:
DisposeHandle(scrapHandle);
}
}
}

View File

@ -71,5 +71,5 @@ void DoCopyRect (void) {
displayInProgress = FALSE;
NextRect(); /* Prepare for next rect */
}
}

View File

@ -80,5 +80,5 @@ void DoDesktopSize (void) {
displayInProgress = FALSE;
NextRect(); /* Prepare for next rect */
}
}

View File

@ -65,7 +65,7 @@ void HexNextTile (void) {
hexTileHeight = (hexYTileNum == hexYTiles - 1) ?
rectHeight - 16 * (hexYTiles - 1) : 16;
}
}
void HexRawDraw (Point *contentOriginPtr, int rectWidth, int rectHeight) {
unsigned int i, j; /* Loop indices */
@ -173,7 +173,7 @@ void HexRawDraw (Point *contentOriginPtr, int rectWidth, int rectHeight) {
status = hexWaitingForSubencoding; \
bytesNeeded = 1; \
return; \
} while (0)
} while (0)
#define HexDispatch_DrawRect(color, X, Y, width, height) do { \
SetSolidPenPat((color)); \
@ -182,7 +182,7 @@ void HexRawDraw (Point *contentOriginPtr, int rectWidth, int rectHeight) {
drawingRect.h2 = rectX + hexXTileNum * 16 + (X) + (width) - contentOriginPtr->h; \
drawingRect.v2 = rectY + hexYTileNum * 16 + (Y) + (height) - contentOriginPtr->v; \
PaintRect(&drawingRect); \
} while (0)
} while (0)
#define HexDispatch_DrawBackground() \
HexDispatch_DrawRect(hexBackground, 0, 0, hexTileWidth, hexTileHeight)
@ -278,7 +278,7 @@ void HexDispatch (void) {
}
HUnlock(readBufferHndl);
}
}
}
/* Called when we initially get a Hextile rect; set up to process it */
void DoHextileRect (void) {
@ -298,4 +298,4 @@ void DoHextileRect (void) {
/* Set up for Hextile drawing */
srcRect.v1 = 0;
srcRect.h1 = 0;
}
}

View File

@ -95,7 +95,7 @@ void DoPointerEvent (void) {
/* If no modifiers, just send a normal left click. */
if (pointerEventStruct.buttonMask == 0x00)
pointerEventStruct.buttonMask = 0x01;
}
}
if ((myEvent.modifiers & btn1State) == 0x00) /* If 2nd (right) */
pointerEventStruct.buttonMask |= 0x04; /* button is pressed */
@ -309,13 +309,13 @@ void DoCursor (void) {
// fprintf(foo, "%02X", *(bitmask + j));
// if ((j+1) % bitmaskLineBytes == 0)
// fprintf(foo, "\n");
// }
//}
fprintf(foo, "\n");
fclose(foo);
}
}
/***************/
#endif
displayInProgress = FALSE;
NextRect(); /* Prepare for next rect */
}
}

4
raw.cc
View File

@ -314,7 +314,7 @@ void RawDrawLine (void) {
rectHeight--; /* One less line left to draw */
rectY++; /* Rest of rect starts one line below this */
}
}
/* Process rectangle data in raw encoding and write it to screen.
*/
@ -393,4 +393,4 @@ void DoRawRect (void) {
drawingLine = 0; /* Drawing first line of rect */
checkBounds = TRUE; /* Flag to check bounds when drawing 1st line */
HLock(readBufferHndl); /* Lock handle just once for efficiency */
}
}

View File

@ -79,7 +79,7 @@ void VNCRedraw (void) {
(**updateRgnHndl).rgnBBox.v2 - (**updateRgnHndl).rgnBBox.v1);
checkBounds = TRUE;
}
}
#pragma databank 0
/* Change Super Hi-Res display to the specified resolution (640 or 320).
@ -143,7 +143,7 @@ void ChangeResolution(int rez) {
MoveControl(144, 91, GetCtlHandleFromID(newConnWindow, txtTransfers));
MoveWindow(162, 42, newConnWindow);
}
}
}
/* Display the VNC session window, first changing to the appropriate
* resolution (as specified by the user) if necessary.
@ -182,7 +182,7 @@ void InitVNCWindow(void) {
#undef wrNum320
#undef wrNum640
}
}
/* Send a request to the VNC server to update the information for a portion of
* the frame buffer.
@ -208,7 +208,7 @@ void SendFBUpdateRequest (BOOLEAN incremental, unsigned int x, unsigned int y,
TCPIPWriteTCP(hostIpid, &fbUpdateRequest.messageType,
sizeof(fbUpdateRequest), TRUE, FALSE);
/* No error checking here -- Can't respond to one usefully. */
}
}
/* Start responding to a FramebufferUpdate from the server
@ -230,7 +230,7 @@ void DoFBUpdate (void) {
rectHeight = SwapBytes2(dataPtr[4]);
rectEncoding = SwapBytes4(*(unsigned long *)(dataPtr + 5));
HUnlock(readBufferHndl);
}
}
/* The server should never send a color map, since we don't use a mapped
* representation for pixel values. If a malfunctioning server tries to
@ -250,7 +250,7 @@ void DoSetColourMapEntries (void) {
for (; numColors > 0; numColors--) {
DoWaitingReadTCP(6);
}
}
}
/* Here when we're done processing one rectangle and ready to start the next.
@ -285,7 +285,7 @@ void NextRect (void) {
SendFBUpdateRequest(TRUE, contentOriginPtr->h, contentOriginPtr->v,
winWidth, winHeight);
}
}
}
void ConnectedEventLoop (void) {
unsigned char messageType;
@ -353,6 +353,6 @@ void ConnectedEventLoop (void) {
return;
}
}
}
}

View File

@ -131,7 +131,7 @@ void DoConnect (void) {
myEvent.wmTaskMask = 0x001D79FE; /* don't let TaskMaster process keys */
InitMenus(noKB);
vncConnected = TRUE;
}
}
/*******************************************************************
* DisplayConnectStatus - Display modal dialog with status information
@ -171,7 +171,7 @@ void DisplayConnectStatus(char *statusString, BOOLEAN cancelMessage) {
#undef wrNum
#undef cancelStr
}
}
/***********************************************************************
* DisplayConnectStatusFromTool - Can be passed to Marinetti
@ -180,7 +180,7 @@ void DisplayConnectStatus(char *statusString, BOOLEAN cancelMessage) {
#pragma toolparms 1 /* Use tool-style stack model */
void DisplayConnectStatusFromTool (char *statusString) {
DisplayConnectStatus(statusString, TRUE);
}
}
#pragma toolparms 0 /* Use ORCA stack model */
#pragma databank 0 /* Must restore data bank register on exit */
@ -192,7 +192,7 @@ void CloseConnectStatusWindow (void) {
CloseWindow(connectStatusWindowPtr);
connectStatusWindowPtr = NULL;
}
}
}
/***********************************************************************
* ConnectTCPIP - Try to establish a TCP/IP connection through Marinetti
@ -281,7 +281,7 @@ BOOLEAN GetIpid (void)
return FALSE;
#undef baseDisplayNum
}
}
/* Read data, waiting for up to 15 seconds for the data to be ready */
@ -295,7 +295,7 @@ BOOLEAN DoWaitingReadTCP(unsigned long dataLength) {
} while (result == FALSE && TickCount() < stopTime);
return result;
}
}
/* Fix things when TCPIPReadTCP returns less data than it's supposed to */
@ -325,7 +325,7 @@ BOOLEAN ReadFixup (unsigned long requested, unsigned long returned) {
} while (returned < requested);
return TRUE;
}
}
/**********************************************************************
* DoReadTCP() - Issue TCPIPReadTCP() call w/ appropriate parameters
@ -355,7 +355,7 @@ BOOLEAN DoReadTCP (unsigned long dataLength) {
return ReadFixup(dataLength, theRRBuff.rrBuffCount);
return TRUE;
}
}
/**********************************************************************
@ -446,7 +446,7 @@ BOOLEAN DoVNCHandshaking (void) {
#undef connectionFailedAlert
#undef badRFBVersionAlert
#undef badAuthTypeAlert
}
}
/**********************************************************************
* DoDES() - Try to do DES (aka VNC) authentication
@ -586,7 +586,7 @@ BOOLEAN DoDES (void) {
#undef statusFailed
#undef statusTooMany
#undef SwitchBits
}
}
/**********************************************************************
* FinishVNCHandshaking() - Complete VNC protocol initialization
@ -709,7 +709,7 @@ BOOLEAN FinishVNCHandshaking (void) {
return TRUE;
#undef screenTooBigError
}
}
/**********************************************************************
@ -725,4 +725,4 @@ void CloseTCPConnection (void) {
} while (toolerror() == terrSOCKETOPEN);
CloseConnectStatusWindow();
InitCursor();
}
}

View File

@ -97,7 +97,7 @@ char vncPassword[10];
void DrawContents (void) {
PenNormal(); /* use a "normal" pen */
DrawControls(GetPort()); /* draw controls in window */
}
}
#pragma databank 0
@ -111,7 +111,7 @@ void DoAbout (void) {
AlertWindow(awCString+awResource, NULL, alertID);
#undef alertID
}
}
/***************************************************************
* DoNewConnection - Show the New Connection window
@ -124,7 +124,7 @@ void DoNewConnection (void) {
MakeThisCtlTarget(GetCtlHandleFromID(newConnWindow, linServer));
ShowWindow(newConnWindow);
SelectWindow(newConnWindow);
}
}
/***************************************************************
* DoClose - Close the frontmost window/connection
@ -148,7 +148,7 @@ void DoClose (GrafPortPtr wPtr) {
free(cursor);
}
};
}
}
/***************************************************************
* DoLEEdit - Handle edit menu items for LineEdit controls
@ -185,7 +185,7 @@ void DoLEEdit (int editAction) {
};
};
SetPort(port);
}
}
/***************************************************************
* HandleMenu - Initialize the menu bar.
@ -211,7 +211,7 @@ void HandleMenu (void) {
case editSendClipboard: DoSendClipboard(); break;
}
HiliteMenu(FALSE, menuNum); /* unhighlight the menu */
}
}
/***************************************************************
* HandleControl - Handle a control press in the New Conn. window
@ -241,7 +241,7 @@ void HandleControl (void) {
case radRaw: useHextile = FALSE; break;
case radHextile: useHextile = TRUE; break;
};
}
}
/***************************************************************
* InitMenus - Initialize the menu bar.
@ -267,7 +267,7 @@ void InitMenus (int offset) {
menuOffset = offset; /* So we can tell which menu is active */
#undef menuID
}
}
/***************************************************************
* CheckMenus - Check the menus to see if they should be dimmed
@ -330,7 +330,7 @@ void CheckMenus (void) {
else {
DisableMItem(editSendClipboard);
}
}
}
/* InitScreen - Set up color tables and SCBs to appropriate values
*/
@ -344,7 +344,7 @@ void InitScreen (void) {
SetColorTable(7, &gray640Colors);
SetAllSCBs(0x87); /* 640 mode with gray640Colors */
InitPalette(); /* Restore Apple Menu colors */
}
}
void Quit (void) {
/* Done with event loop - now quitting */
@ -383,7 +383,7 @@ void Quit (void) {
UnloadOneTool(54);
ShutDownTools(1, startStopParm); /* shut down the tools */
exit(0);
}
}
/***************************************************************
* Main - Initial startup function
@ -473,4 +473,4 @@ int main (void) {
}
Quit();
}
}

View File

@ -95,7 +95,7 @@ resource rToolStartup(1) {
28, $0303, /* List Manager */
/* 34, $0103 /* TextEdit Tool Set */
}
};
};
/*- Menu Bar ---------------------------------------------------*/
@ -105,7 +105,7 @@ resource rMenuBar (1) { /* the menu bar */
fileMenu,
editMenu
};
};
};
resource rMenu (appleMenu) { /* the Apple menu */
appleMenu, /* menu ID */
@ -114,7 +114,7 @@ resource rMenu (appleMenu) { /* the Apple menu */
+ fAllowCache,
appleMenu, /* menu title resource ID */
{appleAbout}; /* menu item resource IDs */
};
};
resource rMenu (fileMenu) { /* the File menu */
fileMenu, /* menu ID */
@ -127,7 +127,7 @@ resource rMenu (fileMenu) { /* the File menu */
fileClose,
fileQuit
};
};
};
resource rMenu (editMenu) { /* the Edit menu */
editMenu, /* menu ID */
@ -144,7 +144,7 @@ resource rMenu (editMenu) { /* the Edit menu */
editShowClipboard,
editSendClipBoard
};
};
};
resource rMenuItem (editUndo) { /* Undo menu item */
editUndo, /* menu item ID */
@ -153,7 +153,7 @@ resource rMenuItem (editUndo) { /* Undo menu item */
refIsResource*itemTitleRefShift /* flags */
+ fDivider,
editUndo /* menu item title resource ID */
};
};
resource rMenuItem (editCut) { /* Cut menu item */
editCut, /* menu item ID */
@ -161,7 +161,7 @@ resource rMenuItem (editCut) { /* Cut menu item */
0, /* check character */
refIsResource*itemTitleRefShift, /* flags */
editCut /* menu item title resource ID */
};
};
resource rMenuItem (editCopy) { /* Copy menu item */
editCopy, /* menu item ID */
@ -169,7 +169,7 @@ resource rMenuItem (editCopy) { /* Copy menu item */
0, /* check character */
refIsResource*itemTitleRefShift, /* flags */
editCopy /* menu item title resource ID */
};
};
resource rMenuItem (editPaste) { /* Paste menu item */
editPaste, /* menu item ID */
@ -177,7 +177,7 @@ resource rMenuItem (editPaste) { /* Paste menu item */
0, /* check character */
refIsResource*itemTitleRefShift, /* flags */
editPaste /* menu item title resource ID */
};
};
resource rMenuItem (editClear) { /* Clear menu item */
editClear, /* menu item ID */
@ -186,7 +186,7 @@ resource rMenuItem (editClear) { /* Clear menu item */
refIsResource*itemTitleRefShift /* flags */
+ fDivider,
editClear /* menu item title resource ID */
};
};
resource rMenuItem (editShowClipboard) {
editShowClipboard,
@ -194,7 +194,7 @@ resource rMenuItem (editShowClipboard) {
0,
refIsResource*itemTitleRefShift,
editShowClipboard
};
};
resource rMenuItem (editSendClipboard) {
editSendClipboard,
@ -202,7 +202,7 @@ resource rMenuItem (editSendClipboard) {
0,
refIsResource*itemTitleRefShift,
editSendClipboard
};
};
resource rMenuItem (fileNewConnection) { /* New menu item */
fileNewConnection, /* menu item ID */
@ -210,7 +210,7 @@ resource rMenuItem (fileNewConnection) { /* New menu item */
0, /* check character */
refIsResource*itemTitleRefShift, /* flags */
fileNewConnection /* menu item title resource ID */
};
};
resource rMenuItem (fileClose) { /* Close menu item */
fileClose, /* menu item ID */
@ -219,7 +219,7 @@ resource rMenuItem (fileClose) { /* Close menu item */
refIsResource*itemTitleRefShift /* flags */
+ fDivider,
fileClose /* menu item title resource ID */
};
};
resource rMenuItem (fileQuit) { /* Quit menu item */
fileQuit, /* menu item ID */
@ -227,7 +227,7 @@ resource rMenuItem (fileQuit) { /* Quit menu item */
0, /* check character */
refIsResource*itemTitleRefShift, /* flags */
fileQuit /* menu item title resource ID */
};
};
resource rMenuItem (appleAbout) { /* About menu item */
appleAbout, /* menu item ID */
@ -236,7 +236,7 @@ resource rMenuItem (appleAbout) { /* About menu item */
refIsResource*itemTitleRefShift /* flags */
+ fDivider,
appleAbout /* menu item title resource ID */
};
};
/* the various strings */
resource rPString (appleMenu, noCrossBank) {"@"};
@ -265,7 +265,7 @@ resource rMenuBar (1+noKB) { /* the menu bar */
fileMenu+noKB,
editMenu+noKB
};
};
};
resource rMenu (fileMenu+noKB) { /* the File menu */
fileMenu, /* menu ID */
@ -278,7 +278,7 @@ resource rMenu (fileMenu+noKB) { /* the File menu */
fileClose+noKB,
fileQuit+noKB
};
};
};
resource rMenu (editMenu+noKB) { /* the Edit menu */
editMenu, /* menu ID */
@ -295,7 +295,7 @@ resource rMenu (editMenu+noKB) { /* the Edit menu */
editShowClipboard,
editSendClipBoard
};
};
};
resource rMenuItem (editUndo+noKB) { /* Undo menu item */
editUndo, /* menu item ID */
@ -304,7 +304,7 @@ resource rMenuItem (editUndo+noKB) { /* Undo menu item */
refIsResource*itemTitleRefShift /* flags */
+ fDivider,
editUndo /* menu item title resource ID */
};
};
resource rMenuItem (editCut+noKB) { /* Cut menu item */
editCut, /* menu item ID */
@ -312,7 +312,7 @@ resource rMenuItem (editCut+noKB) { /* Cut menu item */
0, /* check character */
refIsResource*itemTitleRefShift, /* flags */
editCut /* menu item title resource ID */
};
};
resource rMenuItem (editCopy+noKB) { /* Copy menu item */
editCopy, /* menu item ID */
@ -320,7 +320,7 @@ resource rMenuItem (editCopy+noKB) { /* Copy menu item */
0, /* check character */
refIsResource*itemTitleRefShift, /* flags */
editCopy /* menu item title resource ID */
};
};
resource rMenuItem (editPaste+noKB) { /* Paste menu item */
editPaste, /* menu item ID */
@ -328,7 +328,7 @@ resource rMenuItem (editPaste+noKB) { /* Paste menu item */
0, /* check character */
refIsResource*itemTitleRefShift, /* flags */
editPaste /* menu item title resource ID */
};
};
resource rMenuItem (fileNewConnection+noKB) { /* New menu item */
fileNewConnection, /* menu item ID */
@ -336,7 +336,7 @@ resource rMenuItem (fileNewConnection+noKB) { /* New menu item */
0, /* check character */
refIsResource*itemTitleRefShift, /* flags */
fileNewConnection /* menu item title resource ID */
};
};
resource rMenuItem (fileClose+noKB) { /* Close menu item */
fileClose, /* menu item ID */
@ -345,7 +345,7 @@ resource rMenuItem (fileClose+noKB) { /* Close menu item */
refIsResource*itemTitleRefShift /* flags */
+ fDivider,
fileClose /* menu item title resource ID */
};
};
resource rMenuItem (fileQuit+noKB) { /* Quit menu item */
fileQuit, /* menu item ID */
@ -353,7 +353,7 @@ resource rMenuItem (fileQuit+noKB) { /* Quit menu item */
0, /* check character */
refIsResource*itemTitleRefShift, /* flags */
fileQuit /* menu item title resource ID */
};
};
/*- About Box --------------------------------------------------*/
@ -365,7 +365,7 @@ resource rAlertString (1) {
"This program contains material from the ORCA/C Run-Time Libraries, "
"Copyright 1987-1996 by Byte Works Inc. Used with permission.\n"
":^#0\$00";
};
};
/*- Resources used by Finder, etc. -----------------------------*/
@ -378,7 +378,7 @@ resource rVersion (1) {
"VNCview GS", /* Title */
"Copyright \$A9 2002\$D12004\n"
"by Stephen Heumann"
};
};
resource rBundle (1, preload, nospecialmemory) {
1, /* Icon ID */
@ -404,7 +404,7 @@ resource rBundle (1, preload, nospecialmemory) {
empty {},
empty {}
}
};
};
resource rIcon (1, preload, nospecialmemory) {
$8000,
@ -486,93 +486,93 @@ resource rAlertString (noMarinettiError) {
"Could not load the Marinetti TCP/IP stack. Please ensure that "
"you have Marinetti 2.0 or later installed on this computer."
":^#5\$00";
};
};
resource rAlertString (noCryptoError) {
"42:"
"Could not load the Crypto tool set. Please install the crypto "
"tool set version 1.0 or later to use passwords in VNCview GS."
":^#6\$00";
};
};
resource rAlertString (outOfMemoryError) {
"42:"
"Could not allocate sufficient memory. Please reduce memory "
"usage and run VNCview GS again."
":^#5\$00";
};
};
resource rAlertString (disconnectTCPIPAlert) {
"20:"
"Do you want to disconnect your TCP/IP connection?"
":^#3:#2\$00";
};
};
resource rAlertString (authFailedError) {
"52:"
"Authentication failed. Please re-type your password and try again."
":^#6\$00";
};
};
resource rAlertString (authTooManyError) {
"72:"
"Authentication has failed too many times. Please check that you are "
"using the correct password and wait a while before connecting again."
":^#6\$00";
};
};
resource rAlertString (connectionFailedAlert) {
"92;"
"Connection failed:\n"
"*0"
";^#6\$00";
};
};
resource rAlertString (badRFBVersionAlert) {
"42:"
"The server reported an RFB protocal version incompatible with VNCview "
"GS or is not an RFB server."
":^#6\$00";
};
};
resource rAlertString (badAuthTypeAlert) {
"42:"
"The connection failed because the server requested an authentication "
"type not recognized by VNCview GS."
":^#6\$00";
};
};
resource rAlertString (noTCPIPConnectionError) {
"32:"
"A TCP/IP connection could not be established."
":^#6\$00";
};
};
resource rAlertString (badGetIpidError) {
"42:"
"There was an error while resolving the hostname you provided or "
"preparing to connect to it."
":^#6\$00";
};
};
resource rAlertString (badOptionNegotiationError) {
"32:"
"There was an error while negotiating protocol options."
":^#6\$00";
};
};
resource rAlertString (badHandshakingError) {
"32:"
"There was an error while establishing a VNC connection with the server."
":^#6\$00";
};
};
resource rAlertString (screenTooBigError) {
"72:"
"The server's framebuffer resolution is too big for VNCview GS. "
"VNCview GS does not support resolutions greater than 16,384 by 16,384."
":^#6\$00";
};
};
#if 0
resource rAlertString (badReadTCPError) {
@ -580,14 +580,14 @@ resource rAlertString (badReadTCPError) {
"The TCP/IP stack did not return the amount of data expected. This "
"may be indicative of a bug in Marinetti or in the VNC server software."
":^#6\$00";
};
};
#endif
resource rAlertString (10000) {
"72:"
"*0"
":^#6\$00";
};
};
/*- New VNC Connection window resources ----------------------------------*/
@ -608,7 +608,7 @@ resource rWindParam1 (NCWindow+winNewConnection) {
infront, /* wPlane */
NCWindow+winNewConnection, /* wStorage */
$0009 /* wInVerb */
};
};
resource rControlList (NCWindow+winNewConnection) {{
NCWindow+btnConnect,
@ -632,7 +632,7 @@ resource rControlList (NCWindow+winNewConnection) {{
NCWindow+txtPreferredEncoding,
NCWindow+radRaw,
NCWindow+radHextile,
}};
}};
resource rControlTemplate (NCWindow+btnConnect) {
btnConnect, /* Control ID */
@ -645,7 +645,7 @@ resource rControlTemplate (NCWindow+btnConnect) {
nil, /* color table ref */
{"\$0D","\$0D",0,0} /* key equivalents (esc) */
}};
};
};
resource rPString (NCWindow+btnConnect) {"Connect"};
resource rControlTemplate (NCWindow+btnCancel) {
@ -659,7 +659,7 @@ resource rControlTemplate (NCWindow+btnCancel) {
nil, /* color table ref */
{"\$1B","\$1B",0,0} /* key equivalents (esc) */
}};
};
};
resource rPString (NCWindow+btnCancel) {"Cancel"};
resource rControlTemplate (NCWindow+linServer) {
@ -672,7 +672,7 @@ resource rControlTemplate (NCWindow+linServer) {
255, /* Max Size */
0 /* text ref */
}};
};
};
resource rControlTemplate (NCWindow+txtServer) {
txtServer,
@ -683,7 +683,7 @@ resource rControlTemplate (NCWindow+txtServer) {
0,
NCWindow+txtServer /* Title ref */
}};
};
};
resource rTextForLETextBox2 (NCWindow+txtServer) {"VNC Server:"};
resource rControlTemplate (NCWindow+txtServerInfo) {
@ -695,11 +695,11 @@ resource rControlTemplate (NCWindow+txtServerInfo) {
0,
NCWindow+txtServerInfo /* Title ref */
}};
};
};
resource rTextForLETextBox2 (NCWindow+txtServerInfo) {
"\$01J\$01\$00Use \$01S\$03\$00host:display\$01S\$00\$00 "
"(or \$01S\$03\$00host\$01S\$00\$00 for display 0)."
};
};
resource rControlTemplate (NCWindow+txtPassword) {
txtPassword,
@ -710,7 +710,7 @@ resource rControlTemplate (NCWindow+txtPassword) {
0,
NCWindow+txtPassword /* Title ref */
}};
};
};
resource rTextForLETextBox2 (NCWindow+txtPassword) {"Password:"};
resource rControlTemplate (NCWindow+linPassword) {
@ -724,7 +724,7 @@ resource rControlTemplate (NCWindow+linPassword) {
0, /* text ref */
$D7 /* password character */
}};
};
};
resource rControlTemplate (NCWindow+txtDisplay) {
txtDisplay,
@ -735,7 +735,7 @@ resource rControlTemplate (NCWindow+txtDisplay) {
0,
NCWindow+txtDisplay /* Title ref */
}};
};
};
resource rTextForLETextBox2 (NCWindow+txtDisplay) {" Display "};
resource rControlTemplate (NCWindow+rectDisplay) {
@ -746,7 +746,7 @@ resource rControlTemplate (NCWindow+rectDisplay) {
$1000,
0
}};
};
};
resource rControlTemplate (NCWindow+rad320) {
rad320,
@ -758,7 +758,7 @@ resource rControlTemplate (NCWindow+rad320) {
NCWindow+rad320, /* Title ref */
1 /* initial value */
}};
};
};
resource rPString (NCWindow+rad320) {"320 x 200"};
resource rControlTemplate (NCWindow+txtColor) {
@ -770,7 +770,7 @@ resource rControlTemplate (NCWindow+txtColor) {
0,
NCWindow+txtColor /* Title ref */
}};
};
};
resource rTextForLETextBox2 (NCWindow+txtColor) {"Color"};
resource rControlTemplate (NCWindow+rad640) {
@ -783,7 +783,7 @@ resource rControlTemplate (NCWindow+rad640) {
NCWindow+rad640, /* Title ref */
0 /* initial value */
}};
};
};
resource rPString (NCWindow+rad640) {"640 x 200"};
resource rControlTemplate (NCWindow+txtGray) {
@ -795,7 +795,7 @@ resource rControlTemplate (NCWindow+txtGray) {
0,
NCWindow+txtGray /* Title ref */
}};
};
};
resource rTextForLETextBox2 (NCWindow+txtGray) {"Grayscale"};
resource rControlTemplate (NCWindow+chkShared) {
@ -808,7 +808,7 @@ resource rControlTemplate (NCWindow+chkShared) {
NCWindow+chkShared, /* Title ref */
1 /* initial value */
}};
};
};
resource rPString (NCWindow+chkShared) {"Request Shared Session"};
resource rControlTemplate (NCWindow+chkClipboard) {
@ -821,7 +821,7 @@ resource rControlTemplate (NCWindow+chkClipboard) {
NCWindow+chkClipboard, /* Title ref */
1 /* initial value */
}};
};
};
resource rPString (NCWindow+chkClipboard) {"Allow Clipboard"};
resource rControlTemplate (NCWindow+txtTransfers) {
@ -833,7 +833,7 @@ resource rControlTemplate (NCWindow+txtTransfers) {
0,
NCWindow+txtTransfers /* Title ref */
}};
};
};
resource rTextForLETextBox2 (NCWindow+txtTransfers) {"Transfers from Server"};
resource rControlTemplate (NCWindow+chkEmul3Btn) {
@ -846,7 +846,7 @@ resource rControlTemplate (NCWindow+chkEmul3Btn) {
NCWindow+chkEmul3Btn, /* Title ref */
1 /* initial value */
}};
};
};
resource rPString (NCWindow+chkEmul3Btn) {"Emulate 3-Button Mouse"};
resource rControlTemplate (NCWindow+chkViewOnly) {
@ -859,7 +859,7 @@ resource rControlTemplate (NCWindow+chkViewOnly) {
NCWindow+chkViewOnly, /* Title ref */
0 /* initial value */
}};
};
};
resource rPString (NCWindow+chkViewOnly) {"View Only Mode"};
resource rControlTemplate (NCWindow+txtPreferredEncoding) {
@ -871,7 +871,7 @@ resource rControlTemplate (NCWindow+txtPreferredEncoding) {
0,
NCWindow+txtPreferredEncoding /* Title ref */
}};
};
};
resource rTextForLETextBox2 (NCWindow+txtPreferredEncoding) {"Preferred Encoding:"};
resource rControlTemplate (NCWindow+radRaw) {
@ -884,7 +884,7 @@ resource rControlTemplate (NCWindow+radRaw) {
NCWindow+radRaw, /* Title ref */
1 /* initial value */
}};
};
};
resource rPString (NCWindow+radRaw) {"Raw"};
resource rControlTemplate (NCWindow+radHextile) {
@ -897,7 +897,7 @@ resource rControlTemplate (NCWindow+radHextile) {
NCWindow+radHextile, /* Title ref */
0 /* initial value */
}};
};
};
resource rPString (NCWindow+radHextile) {"Hextile"};
@ -920,7 +920,7 @@ resource rWindParam1 (1002) {
infront, /* wPlane */
nil, /* wStorage */
$0000 /* wInVerb */
};
};
resource rPString(10002) {"Press \$11. to cancel."};
@ -944,7 +944,7 @@ resource rWindParam1 (1003) {
infront, /* wPlane */
nil, /* wStorage */
$0800 /* wInVerb */
};
};
/* 320 mode */
resource rWindParam1 (1004) {
@ -964,7 +964,7 @@ resource rWindParam1 (1004) {
infront, /* wPlane */
nil, /* wStorage */
$0800 /* wInVerb */
};
};
resource rWindColor (1) {
0x0000,
@ -972,4 +972,4 @@ resource rWindColor (1) {
0x020F,
0xF0AA,
0x00F0
};
};