mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2024-12-22 07:30:40 +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 {
|
enum {
|
||||||
kCustom = 0,
|
kCustom = 0,
|
||||||
kGreenBlack,
|
kGreenBlack,
|
||||||
|
kBlueBlack,
|
||||||
kWhiteBlue,
|
kWhiteBlue,
|
||||||
kAmberBlack
|
kAmberBlack
|
||||||
};
|
};
|
||||||
@ -95,6 +96,12 @@ enum {
|
|||||||
[item setTag: kGreenBlack];
|
[item setTag: kGreenBlack];
|
||||||
[menu addItem: item];
|
[menu addItem: item];
|
||||||
|
|
||||||
|
item = [[NSMenuItem new] autorelease];
|
||||||
|
[item setTitle: @"Blue Black"];
|
||||||
|
[item setTag: kBlueBlack];
|
||||||
|
[menu addItem: item];
|
||||||
|
|
||||||
|
|
||||||
item = [[NSMenuItem new] autorelease];
|
item = [[NSMenuItem new] autorelease];
|
||||||
[item setTitle: @"White Blue"];
|
[item setTitle: @"White Blue"];
|
||||||
[item setTag: kWhiteBlue];
|
[item setTag: kWhiteBlue];
|
||||||
@ -168,6 +175,12 @@ enum {
|
|||||||
[_backgroundColorControl setColor: [NSColor blackColor]];
|
[_backgroundColorControl setColor: [NSColor blackColor]];
|
||||||
break;
|
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:
|
case kWhiteBlue:
|
||||||
[_foregroundColorControl setColor: [NSColor whiteColor]];
|
[_foregroundColorControl setColor: [NSColor whiteColor]];
|
||||||
[_backgroundColorControl setColor: [NSColor blueColor]];
|
[_backgroundColorControl setColor: [NSColor blueColor]];
|
||||||
|
Loading…
Reference in New Issue
Block a user