From 70e48665ba7464516077107dc778ca45d4805ea2 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Tue, 5 Jul 2016 19:26:19 +0000 Subject: [PATCH] blue/black color git-svn-id: svn://qnap.local/TwoTerm/branches/frameless@3093 5590a31f-7b70-45f8-8c82-aa3a8e5f4507 --- NewTerminalWindowController.m | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/NewTerminalWindowController.m b/NewTerminalWindowController.m index 5530d43..f6a66eb 100644 --- a/NewTerminalWindowController.m +++ b/NewTerminalWindowController.m @@ -31,6 +31,7 @@ enum { kCustom = 0, kGreenBlack, + kBlueBlack, kWhiteBlue, kAmberBlack }; @@ -94,6 +95,12 @@ enum { [item setTitle: @"Green Black"]; [item setTag: kGreenBlack]; [menu addItem: item]; + + item = [[NSMenuItem new] autorelease]; + [item setTitle: @"Blue Black"]; + [item setTag: kBlueBlack]; + [menu addItem: item]; + item = [[NSMenuItem new] autorelease]; [item setTitle: @"White Blue"]; @@ -167,7 +174,13 @@ enum { [_foregroundColorControl setColor: [NSColor greenColor]]; [_backgroundColorControl setColor: [NSColor blackColor]]; break; - + + case kBlueBlack: + [_foregroundColorControl setColor: [NSColor colorWithCalibratedRed:0.0 green: 0.5 blue: 1.0 alpha: 1.0]]; + [_backgroundColorControl setColor: [NSColor blackColor]]; + break; + + case kWhiteBlue: [_foregroundColorControl setColor: [NSColor whiteColor]]; [_backgroundColorControl setColor: [NSColor blueColor]];