mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2024-12-21 16:30:24 +00:00
blue/black color
git-svn-id: svn://qnap.local/TwoTerm/branches/frameless@3093 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
parent
c8fa4a4896
commit
70e48665ba
@ -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]];
|
||||
|
Loading…
Reference in New Issue
Block a user