Use a lined title bar.

This commit is contained in:
Stephen Heumann 2019-04-18 13:27:30 -05:00
parent 999b6130a4
commit b24c43f97b
2 changed files with 14 additions and 7 deletions

View File

@ -24,9 +24,6 @@
#include "diskbrowser.h"
#include "browserevents.h"
/* Title of browser window */
static char windowTitle[] = "\p Archive.org Disk Browser ";
/* Rectangles outlining the buttons in the style of "default" buttons */
static Rect searchRect = {8, 305, 26, 414};
static Rect mountRect = {150, 301, 168, 414};
@ -74,7 +71,7 @@ void ShowBrowserWindow(void) {
}
resourceFileOpened = true;
window = NewWindow2(windowTitle, 0, DrawContents, NULL,
window = NewWindow2(NULL, 0, DrawContents, NULL,
refIsResource, winDiskBrowser, rWindParam1);
if (toolerror()) {
window = NULL;

View File

@ -12,10 +12,10 @@
resource rWindParam1 (winDiskBrowser) {
fTitle+fClose+fFlex+fMove+fVis, /* wFrameBits */
nil, /* wTitle */
winDiskBrowser, /* wTitle */
0, /* wRefCon */
{0,0,0,0}, /* ZoomRect */
nil, /* wColor ID */
winDiskBrowser, /* wColor ID */
{0,0}, /* Origin */
{0,0}, /* data size */
{0,0}, /* max height-width */
@ -26,7 +26,17 @@ resource rWindParam1 (winDiskBrowser) {
{27,5,198,425}, /* wPosition */
infront, /* wPlane */
winDiskBrowser, /* wStorage */
$0009 /* wInVerb */
$0A09 /* wInVerb */
};
resource rPString(winDiskBrowser) { " Archive.org Disk Browser " };
resource rWindColor (winDiskBrowser) {
0x0000, /* frameColor */
0x0F00, /* titleColor */
0x020F, /* tbarColor */
0xF0F0, /* growColor */
0x00F0 /* infoColor */
};
resource rControlList (winDiskBrowser) {{