mirror of
https://github.com/TermiT/Flycut.git
synced 2024-11-10 17:47:11 +08:00
Added the ability to change bezel window in app settings
This commit is contained in:
parent
f66eabc253
commit
1de75fac69
5 changed files with 484 additions and 82 deletions
|
@ -36,6 +36,8 @@
|
|||
NSStatusItem *statusItem;
|
||||
// The menu attatched to same
|
||||
IBOutlet NSMenu *jcMenu;
|
||||
IBOutlet NSSlider * heightSlider;
|
||||
IBOutlet NSSlider * widthSlider;
|
||||
// A timer which will let us check the pasteboard;
|
||||
// this should default to every .5 seconds but be user-configurable
|
||||
NSTimer *pollPBTimer;
|
||||
|
@ -88,6 +90,8 @@
|
|||
-(IBAction) setRememberNumPref:(id)sender;
|
||||
-(IBAction) setDisplayNumPref:(id)sender;
|
||||
-(IBAction) setBezelAlpha:(id)sender;
|
||||
-(IBAction) setBezelHeight:(id)sender;
|
||||
-(IBAction) setBezelWidth:(id)sender;
|
||||
-(IBAction) switchMenuIcon:(id)sender;
|
||||
-(IBAction) toggleLoadOnStartup:(id)sender;
|
||||
-(IBAction) toggleMainHotKey:(id)sender;
|
||||
|
|
|
@ -42,6 +42,11 @@
|
|||
@"loadOnStartup",
|
||||
[NSNumber numberWithBool:YES],
|
||||
@"menuSelectionPastes",
|
||||
// Flycut new options
|
||||
[NSNumber numberWithFloat:500.0],
|
||||
@"bezelWidth",
|
||||
[NSNumber numberWithFloat:320.0],
|
||||
@"bezelHeight",
|
||||
nil]
|
||||
];
|
||||
return [super init];
|
||||
|
@ -60,17 +65,21 @@
|
|||
clippingStore = [[JumpcutStore alloc] initRemembering:[[NSUserDefaults standardUserDefaults] integerForKey:@"rememberNum"]
|
||||
displaying:[[NSUserDefaults standardUserDefaults] integerForKey:@"displayNum"]
|
||||
withDisplayLength:_DISPLENGTH];
|
||||
// Set up the bezel window
|
||||
|
||||
NSSize screenSize = [[NSScreen mainScreen] frame].size;
|
||||
NSSize bezelSize = NSMakeSize(screenSize.width/3, screenSize.height/3);
|
||||
NSRect windowFrame = NSMakeRect( 0, 0, bezelSize.width, bezelSize.height);
|
||||
NSRect screenFrame = [[NSScreen mainScreen] frame];
|
||||
widthSlider.maxValue = screenFrame.size.width;
|
||||
heightSlider.maxValue = screenFrame.size.height;
|
||||
|
||||
// Set up the bezel window
|
||||
NSRect windowFrame = NSMakeRect(0, 0,
|
||||
[[NSUserDefaults standardUserDefaults] floatForKey:@"bezelWidth"],
|
||||
[[NSUserDefaults standardUserDefaults] floatForKey:@"bezelHeight"]);
|
||||
bezel = [[BezelWindow alloc] initWithContentRect:windowFrame
|
||||
styleMask:NSBorderlessWindowMask
|
||||
backing:NSBackingStoreBuffered
|
||||
defer:NO];
|
||||
[bezel setDelegate:self];
|
||||
[bezel trueCenter];
|
||||
[bezel setDelegate:self];
|
||||
|
||||
// Create our pasteboard interface
|
||||
jcPasteboard = [NSPasteboard generalPasteboard];
|
||||
|
@ -129,6 +138,23 @@
|
|||
[bezel setAlpha:[sender floatValue]];
|
||||
}
|
||||
|
||||
-(IBAction) setBezelWidth:(id)sender
|
||||
{
|
||||
NSSize bezelSize = NSMakeSize([sender floatValue], bezel.frame.size.height);
|
||||
NSRect windowFrame = NSMakeRect( 0, 0, bezelSize.width, bezelSize.height);
|
||||
[bezel setFrame:windowFrame display:NO];
|
||||
[bezel trueCenter];
|
||||
}
|
||||
|
||||
-(IBAction) setBezelHeight:(id)sender
|
||||
{
|
||||
NSSize bezelSize = NSMakeSize(bezel.frame.size.width, [sender floatValue]);
|
||||
NSRect windowFrame = NSMakeRect( 0, 0, bezelSize.width, bezelSize.height);
|
||||
[bezel setFrame:windowFrame display:NO];
|
||||
[bezel trueCenter];
|
||||
}
|
||||
|
||||
|
||||
-(IBAction) switchMenuIcon:(id)sender
|
||||
{
|
||||
if ([sender indexOfSelectedItem] == 1 ) {
|
||||
|
@ -649,18 +675,6 @@
|
|||
}
|
||||
|
||||
- (BOOL)shortcutRecorder:(SRRecorderControl *)aRecorder isKeyCode:(NSInteger)keyCode andFlagsTaken:(NSUInteger)flags reason:(NSString **)aReason {
|
||||
if (aRecorder == mainRecorder) {
|
||||
BOOL isTaken = NO;
|
||||
/*
|
||||
KeyCombo kc = [delegateDisallowRecorder keyCombo];
|
||||
|
||||
if (kc.code == keyCode && kc.flags == flags) isTaken = YES;
|
||||
|
||||
*aReason = [delegateDisallowReasonField stringValue];
|
||||
*/
|
||||
return isTaken;
|
||||
}
|
||||
|
||||
return NO;
|
||||
}
|
||||
|
||||
|
|
491
English.lproj/MainMenu.nib/designable.nib
generated
491
English.lproj/MainMenu.nib/designable.nib
generated
|
@ -160,13 +160,13 @@
|
|||
<string key="NSFrameSize">{549, 471}</string>
|
||||
<reference key="NSSuperview" ref="342852628"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="584038330"/>
|
||||
<reference key="NSNextKeyView" ref="485005275"/>
|
||||
<object class="NSMutableArray" key="NSTabViewItems">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSTabViewItem" id="839086363">
|
||||
<string key="NSIdentifier">net.sf.jumpcut.preferences.general.tiff</string>
|
||||
<object class="NSView" key="NSView" id="584038330">
|
||||
<reference key="NSNextResponder" ref="38633814"/>
|
||||
<nil key="NSNextResponder"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
|
@ -185,7 +185,6 @@
|
|||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{14, 156}, {97, 18}}</string>
|
||||
<reference key="NSSuperview" ref="779479303"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="369594545"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSButtonCell" key="NSCell" id="686053849">
|
||||
|
@ -218,7 +217,6 @@
|
|||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{134, 56}, {152, 26}}</string>
|
||||
<reference key="NSSuperview" ref="779479303"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="57469449"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSPopUpButtonCell" key="NSCell" id="718571678">
|
||||
|
@ -295,7 +293,6 @@
|
|||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{14, 95}, {204, 18}}</string>
|
||||
<reference key="NSSuperview" ref="779479303"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="15249688"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSButtonCell" key="NSCell" id="807105429">
|
||||
|
@ -319,7 +316,6 @@
|
|||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{13, 63}, {64, 17}}</string>
|
||||
<reference key="NSSuperview" ref="779479303"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="1001912577"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="624639011">
|
||||
|
@ -353,7 +349,6 @@
|
|||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{99, 62}, {33, 14}}</string>
|
||||
<reference key="NSSuperview" ref="779479303"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="620054236"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="186516943">
|
||||
|
@ -375,7 +370,6 @@
|
|||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{70, 34}, {62, 14}}</string>
|
||||
<reference key="NSSuperview" ref="779479303"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="224411678"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="572447969">
|
||||
|
@ -393,7 +387,6 @@
|
|||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{191, 34}, {95, 14}}</string>
|
||||
<reference key="NSSuperview" ref="779479303"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="1003413245"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="228849917">
|
||||
|
@ -411,7 +404,6 @@
|
|||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{136, 29}, {25, 22}}</string>
|
||||
<reference key="NSSuperview" ref="779479303"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="953619213"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="174124432">
|
||||
|
@ -502,7 +494,6 @@
|
|||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{281, 29}, {24, 22}}</string>
|
||||
<reference key="NSSuperview" ref="779479303"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="133997452"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="698023941">
|
||||
|
@ -570,7 +561,6 @@
|
|||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{161, 27}, {19, 27}}</string>
|
||||
<reference key="NSSuperview" ref="779479303"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="583370041"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSStepperCell" key="NSCell" id="1027772156">
|
||||
|
@ -590,8 +580,6 @@
|
|||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{306, 27}, {19, 27}}</string>
|
||||
<reference key="NSSuperview" ref="779479303"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSStepperCell" key="NSCell" id="603252108">
|
||||
<int key="NSCellFlags">917024</int>
|
||||
|
@ -610,7 +598,6 @@
|
|||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{14, 136}, {162, 18}}</string>
|
||||
<reference key="NSSuperview" ref="779479303"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="992252027"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSButtonCell" key="NSCell" id="596370672">
|
||||
|
@ -633,7 +620,6 @@
|
|||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{14, 116}, {162, 18}}</string>
|
||||
<reference key="NSSuperview" ref="779479303"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="110220131"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSButtonCell" key="NSCell" id="482547557">
|
||||
|
@ -654,13 +640,11 @@
|
|||
</object>
|
||||
<string key="NSFrameSize">{555, 186}</string>
|
||||
<reference key="NSSuperview" ref="220648752"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="38658042"/>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrame">{{-3, 299}, {555, 186}}</string>
|
||||
<reference key="NSSuperview" ref="584038330"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="779479303"/>
|
||||
<string key="NSOffsets">{0, 0}</string>
|
||||
<object class="NSTextFieldCell" key="NSTitleCell">
|
||||
|
@ -682,8 +666,6 @@
|
|||
</object>
|
||||
</object>
|
||||
<string key="NSFrameSize">{549, 471}</string>
|
||||
<reference key="NSSuperview" ref="38633814"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="220648752"/>
|
||||
</object>
|
||||
<string key="NSLabel">General</string>
|
||||
|
@ -733,7 +715,6 @@
|
|||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{247, 48}, {281, 61}}</string>
|
||||
<reference key="NSSuperview" ref="697987507"/>
|
||||
<reference key="NSNextKeyView"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="818811687">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
|
@ -791,7 +772,7 @@
|
|||
<object class="NSTabViewItem" id="53695889">
|
||||
<string key="NSIdentifier">net.sf.jumpcut.preferences.appearance.tiff</string>
|
||||
<object class="NSView" key="NSView" id="485005275">
|
||||
<nil key="NSNextResponder"/>
|
||||
<reference key="NSNextResponder" ref="38633814"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
|
@ -808,8 +789,9 @@
|
|||
<object class="NSSlider" id="595224406">
|
||||
<reference key="NSNextResponder" ref="1032181243"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{119, 60}, {306, 25}}</string>
|
||||
<string key="NSFrame">{{119, 221}, {306, 25}}</string>
|
||||
<reference key="NSSuperview" ref="1032181243"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="75293235"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSSliderCell" key="NSCell" id="583770512">
|
||||
|
@ -818,7 +800,7 @@
|
|||
<object class="NSMutableString" key="NSContents">
|
||||
<characters key="NS.bytes"/>
|
||||
</object>
|
||||
<object class="NSFont" key="NSSupport">
|
||||
<object class="NSFont" key="NSSupport" id="1002622042">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">12</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
|
@ -837,8 +819,9 @@
|
|||
<object class="NSTextField" id="75293235">
|
||||
<reference key="NSNextResponder" ref="1032181243"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{121, 43}, {80, 13}}</string>
|
||||
<string key="NSFrame">{{121, 204}, {80, 13}}</string>
|
||||
<reference key="NSSuperview" ref="1032181243"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="428320254"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="141290932">
|
||||
|
@ -854,9 +837,10 @@
|
|||
<object class="NSTextField" id="428320254">
|
||||
<reference key="NSNextResponder" ref="1032181243"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{381, 43}, {42, 13}}</string>
|
||||
<string key="NSFrame">{{381, 204}, {42, 13}}</string>
|
||||
<reference key="NSSuperview" ref="1032181243"/>
|
||||
<reference key="NSNextKeyView" ref="911421446"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="404036688"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="547795051">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
|
@ -868,12 +852,75 @@
|
|||
<reference key="NSTextColor" ref="312625294"/>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSSlider" id="125393017">
|
||||
<reference key="NSNextResponder" ref="1032181243"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{119, 158}, {306, 25}}</string>
|
||||
<reference key="NSSuperview" ref="1032181243"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="272902376"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSSliderCell" key="NSCell" id="642861770">
|
||||
<int key="NSCellFlags">-2080244224</int>
|
||||
<int key="NSCellFlags2">0</int>
|
||||
<object class="NSMutableString" key="NSContents">
|
||||
<characters key="NS.bytes"/>
|
||||
</object>
|
||||
<reference key="NSSupport" ref="1002622042"/>
|
||||
<reference key="NSControlView" ref="125393017"/>
|
||||
<double key="NSMaxValue">2000</double>
|
||||
<double key="NSMinValue">200</double>
|
||||
<double key="NSValue">500</double>
|
||||
<double key="NSAltIncValue">0.0</double>
|
||||
<int key="NSNumberOfTickMarks">50</int>
|
||||
<int key="NSTickMarkPosition">0</int>
|
||||
<bool key="NSAllowsTickMarkValuesOnly">NO</bool>
|
||||
<bool key="NSVertical">NO</bool>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSTextField" id="272902376">
|
||||
<reference key="NSNextResponder" ref="1032181243"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{121, 141}, {80, 13}}</string>
|
||||
<reference key="NSSuperview" ref="1032181243"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="456293199"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="961206256">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags2">272629760</int>
|
||||
<string type="base64-UTF8" key="NSContents">U21hbGxlcgo</string>
|
||||
<reference key="NSSupport" ref="864966115"/>
|
||||
<reference key="NSControlView" ref="272902376"/>
|
||||
<reference key="NSBackgroundColor" ref="973475973"/>
|
||||
<reference key="NSTextColor" ref="312625294"/>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSTextField" id="456293199">
|
||||
<reference key="NSNextResponder" ref="1032181243"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{381, 141}, {42, 13}}</string>
|
||||
<reference key="NSSuperview" ref="1032181243"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="158344719"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="342209294">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags2">71303168</int>
|
||||
<string key="NSContents">Bigger</string>
|
||||
<reference key="NSSupport" ref="864966115"/>
|
||||
<reference key="NSControlView" ref="456293199"/>
|
||||
<reference key="NSBackgroundColor" ref="973475973"/>
|
||||
<reference key="NSTextColor" ref="312625294"/>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSPopUpButton" id="610473094">
|
||||
<reference key="NSNextResponder" ref="1032181243"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{118, 11}, {130, 26}}</string>
|
||||
<string key="NSFrame">{{118, 42}, {130, 26}}</string>
|
||||
<reference key="NSSuperview" ref="1032181243"/>
|
||||
<reference key="NSNextKeyView" ref="38633814"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSPopUpButtonCell" key="NSCell" id="923097388">
|
||||
<int key="NSCellFlags">-2076049856</int>
|
||||
|
@ -942,8 +989,9 @@
|
|||
<object class="NSTextField" id="911421446">
|
||||
<reference key="NSNextResponder" ref="1032181243"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{16, 17}, {80, 13}}</string>
|
||||
<string key="NSFrame">{{16, 48}, {80, 13}}</string>
|
||||
<reference key="NSSuperview" ref="1032181243"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="610473094"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="462396111">
|
||||
|
@ -956,11 +1004,110 @@
|
|||
<reference key="NSTextColor" ref="312625294"/>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSTextField" id="404036688">
|
||||
<reference key="NSNextResponder" ref="1032181243"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{16, 164}, {80, 17}}</string>
|
||||
<reference key="NSSuperview" ref="1032181243"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="125393017"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="987696908">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags2">272629760</int>
|
||||
<string key="NSContents">Bezel width</string>
|
||||
<reference key="NSSupport" ref="864966115"/>
|
||||
<reference key="NSControlView" ref="404036688"/>
|
||||
<reference key="NSBackgroundColor" ref="973475973"/>
|
||||
<reference key="NSTextColor" ref="312625294"/>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSSlider" id="77183958">
|
||||
<reference key="NSNextResponder" ref="1032181243"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{119, 101}, {306, 25}}</string>
|
||||
<reference key="NSSuperview" ref="1032181243"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="74969379"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSSliderCell" key="NSCell" id="1058196608">
|
||||
<int key="NSCellFlags">-2080244224</int>
|
||||
<int key="NSCellFlags2">0</int>
|
||||
<object class="NSMutableString" key="NSContents">
|
||||
<characters key="NS.bytes"/>
|
||||
</object>
|
||||
<reference key="NSSupport" ref="1002622042"/>
|
||||
<reference key="NSControlView" ref="77183958"/>
|
||||
<double key="NSMaxValue">2000</double>
|
||||
<double key="NSMinValue">200</double>
|
||||
<double key="NSValue">320</double>
|
||||
<double key="NSAltIncValue">0.0</double>
|
||||
<int key="NSNumberOfTickMarks">50</int>
|
||||
<int key="NSTickMarkPosition">0</int>
|
||||
<bool key="NSAllowsTickMarkValuesOnly">NO</bool>
|
||||
<bool key="NSVertical">NO</bool>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSTextField" id="74969379">
|
||||
<reference key="NSNextResponder" ref="1032181243"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{121, 84}, {80, 13}}</string>
|
||||
<reference key="NSSuperview" ref="1032181243"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="442813245"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="18614113">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags2">272629760</int>
|
||||
<string key="NSContents">Smaller</string>
|
||||
<reference key="NSSupport" ref="864966115"/>
|
||||
<reference key="NSControlView" ref="74969379"/>
|
||||
<reference key="NSBackgroundColor" ref="973475973"/>
|
||||
<reference key="NSTextColor" ref="312625294"/>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSTextField" id="442813245">
|
||||
<reference key="NSNextResponder" ref="1032181243"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{381, 84}, {42, 13}}</string>
|
||||
<reference key="NSSuperview" ref="1032181243"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="911421446"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="322040205">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags2">71303168</int>
|
||||
<string key="NSContents">Bigger</string>
|
||||
<reference key="NSSupport" ref="864966115"/>
|
||||
<reference key="NSControlView" ref="442813245"/>
|
||||
<reference key="NSBackgroundColor" ref="973475973"/>
|
||||
<reference key="NSTextColor" ref="312625294"/>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSTextField" id="158344719">
|
||||
<reference key="NSNextResponder" ref="1032181243"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{16, 107}, {80, 17}}</string>
|
||||
<reference key="NSSuperview" ref="1032181243"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="77183958"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="789329295">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags2">272629760</int>
|
||||
<string key="NSContents">Bezel height</string>
|
||||
<reference key="NSSupport" ref="864966115"/>
|
||||
<reference key="NSControlView" ref="158344719"/>
|
||||
<reference key="NSBackgroundColor" ref="973475973"/>
|
||||
<reference key="NSTextColor" ref="312625294"/>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSTextField" id="410899113">
|
||||
<reference key="NSNextResponder" ref="1032181243"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{16, 68}, {97, 13}}</string>
|
||||
<string key="NSFrame">{{16, 229}, {97, 13}}</string>
|
||||
<reference key="NSSuperview" ref="1032181243"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="595224406"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="612660735">
|
||||
|
@ -974,13 +1121,15 @@
|
|||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrameSize">{555, 97}</string>
|
||||
<string key="NSFrameSize">{555, 258}</string>
|
||||
<reference key="NSSuperview" ref="509795968"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="410899113"/>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrame">{{-3, 392}, {555, 97}}</string>
|
||||
<string key="NSFrame">{{-3, 231}, {555, 258}}</string>
|
||||
<reference key="NSSuperview" ref="485005275"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="1032181243"/>
|
||||
<string key="NSOffsets">{0, 0}</string>
|
||||
<object class="NSTextFieldCell" key="NSTitleCell">
|
||||
|
@ -1002,6 +1151,8 @@
|
|||
</object>
|
||||
</object>
|
||||
<string key="NSFrameSize">{549, 471}</string>
|
||||
<reference key="NSSuperview" ref="38633814"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="509795968"/>
|
||||
</object>
|
||||
<string key="NSLabel">Appearance</string>
|
||||
|
@ -1122,7 +1273,7 @@ Y291cmFnZW1lbnQuA</bytes>
|
|||
<int key="NSTCFlags">1</int>
|
||||
</object>
|
||||
<object class="NSTextViewSharedData" key="NSSharedData">
|
||||
<int key="NSFlags">2913</int>
|
||||
<int key="NSFlags">67111777</int>
|
||||
<int key="NSTextCheckingTypes">0</int>
|
||||
<nil key="NSMarkedAttributes"/>
|
||||
<reference key="NSBackgroundColor" ref="791860712"/>
|
||||
|
@ -1278,14 +1429,14 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
|
|||
<reference key="NSTabView" ref="38633814"/>
|
||||
</object>
|
||||
</object>
|
||||
<reference key="NSSelectedTabViewItem" ref="839086363"/>
|
||||
<reference key="NSSelectedTabViewItem" ref="53695889"/>
|
||||
<reference key="NSFont" ref="274724818"/>
|
||||
<int key="NSTvFlags">6</int>
|
||||
<bool key="NSAllowTruncatedLabels">YES</bool>
|
||||
<bool key="NSDrawsBackground">YES</bool>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="584038330"/>
|
||||
<reference ref="485005275"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
|
@ -1294,7 +1445,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
|
|||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="38633814"/>
|
||||
</object>
|
||||
<string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
|
||||
<string key="NSScreenRect">{{0, 0}, {1440, 900}}</string>
|
||||
<string key="NSMinSize">{213, 129}</string>
|
||||
<string key="NSMaxSize">{10000000000000, 10000000000000}</string>
|
||||
<bool key="NSWindowIsRestorable">YES</bool>
|
||||
|
@ -1622,6 +1773,70 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
|
|||
</object>
|
||||
<int key="connectionID">773</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBBindingConnection" key="connection">
|
||||
<string key="label">value: values.bezelWidth</string>
|
||||
<reference key="source" ref="125393017"/>
|
||||
<reference key="destination" ref="1007036642"/>
|
||||
<object class="NSNibBindingConnector" key="connector">
|
||||
<reference key="NSSource" ref="125393017"/>
|
||||
<reference key="NSDestination" ref="1007036642"/>
|
||||
<string key="NSLabel">value: values.bezelWidth</string>
|
||||
<string key="NSBinding">value</string>
|
||||
<string key="NSKeyPath">values.bezelWidth</string>
|
||||
<int key="NSNibBindingConnectorVersion">2</int>
|
||||
</object>
|
||||
</object>
|
||||
<int key="connectionID">802</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBBindingConnection" key="connection">
|
||||
<string key="label">value: values.bezelHeight</string>
|
||||
<reference key="source" ref="77183958"/>
|
||||
<reference key="destination" ref="1007036642"/>
|
||||
<object class="NSNibBindingConnector" key="connector">
|
||||
<reference key="NSSource" ref="77183958"/>
|
||||
<reference key="NSDestination" ref="1007036642"/>
|
||||
<string key="NSLabel">value: values.bezelHeight</string>
|
||||
<string key="NSBinding">value</string>
|
||||
<string key="NSKeyPath">values.bezelHeight</string>
|
||||
<int key="NSNibBindingConnectorVersion">2</int>
|
||||
</object>
|
||||
</object>
|
||||
<int key="connectionID">803</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBActionConnection" key="connection">
|
||||
<string key="label">setBezelHeight:</string>
|
||||
<reference key="source" ref="522032367"/>
|
||||
<reference key="destination" ref="77183958"/>
|
||||
</object>
|
||||
<int key="connectionID">804</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBActionConnection" key="connection">
|
||||
<string key="label">setBezelWidth:</string>
|
||||
<reference key="source" ref="522032367"/>
|
||||
<reference key="destination" ref="125393017"/>
|
||||
</object>
|
||||
<int key="connectionID">805</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">heightSlider</string>
|
||||
<reference key="source" ref="522032367"/>
|
||||
<reference key="destination" ref="77183958"/>
|
||||
</object>
|
||||
<int key="connectionID">806</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">widthSlider</string>
|
||||
<reference key="source" ref="522032367"/>
|
||||
<reference key="destination" ref="125393017"/>
|
||||
</object>
|
||||
<int key="connectionID">807</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<object class="NSArray" key="orderedObjects">
|
||||
|
@ -1853,9 +2068,17 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
|
|||
<reference ref="595224406"/>
|
||||
<reference ref="75293235"/>
|
||||
<reference ref="428320254"/>
|
||||
<reference ref="410899113"/>
|
||||
<reference ref="404036688"/>
|
||||
<reference ref="125393017"/>
|
||||
<reference ref="272902376"/>
|
||||
<reference ref="456293199"/>
|
||||
<reference ref="77183958"/>
|
||||
<reference ref="74969379"/>
|
||||
<reference ref="442813245"/>
|
||||
<reference ref="158344719"/>
|
||||
<reference ref="610473094"/>
|
||||
<reference ref="911421446"/>
|
||||
<reference ref="410899113"/>
|
||||
</object>
|
||||
<reference key="parent" ref="485005275"/>
|
||||
</object>
|
||||
|
@ -2274,6 +2497,118 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
|
|||
<reference key="object" ref="612660735"/>
|
||||
<reference key="parent" ref="410899113"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">774</int>
|
||||
<reference key="object" ref="404036688"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="987696908"/>
|
||||
</object>
|
||||
<reference key="parent" ref="509795968"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">775</int>
|
||||
<reference key="object" ref="987696908"/>
|
||||
<reference key="parent" ref="404036688"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">776</int>
|
||||
<reference key="object" ref="125393017"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="642861770"/>
|
||||
</object>
|
||||
<reference key="parent" ref="509795968"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">777</int>
|
||||
<reference key="object" ref="272902376"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="961206256"/>
|
||||
</object>
|
||||
<reference key="parent" ref="509795968"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">778</int>
|
||||
<reference key="object" ref="456293199"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="342209294"/>
|
||||
</object>
|
||||
<reference key="parent" ref="509795968"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">779</int>
|
||||
<reference key="object" ref="342209294"/>
|
||||
<reference key="parent" ref="456293199"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">780</int>
|
||||
<reference key="object" ref="961206256"/>
|
||||
<reference key="parent" ref="272902376"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">781</int>
|
||||
<reference key="object" ref="642861770"/>
|
||||
<reference key="parent" ref="125393017"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">784</int>
|
||||
<reference key="object" ref="77183958"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="1058196608"/>
|
||||
</object>
|
||||
<reference key="parent" ref="509795968"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">785</int>
|
||||
<reference key="object" ref="74969379"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="18614113"/>
|
||||
</object>
|
||||
<reference key="parent" ref="509795968"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">786</int>
|
||||
<reference key="object" ref="442813245"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="322040205"/>
|
||||
</object>
|
||||
<reference key="parent" ref="509795968"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">787</int>
|
||||
<reference key="object" ref="158344719"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="789329295"/>
|
||||
</object>
|
||||
<reference key="parent" ref="509795968"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">788</int>
|
||||
<reference key="object" ref="789329295"/>
|
||||
<reference key="parent" ref="158344719"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">789</int>
|
||||
<reference key="object" ref="322040205"/>
|
||||
<reference key="parent" ref="442813245"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">790</int>
|
||||
<reference key="object" ref="18614113"/>
|
||||
<reference key="parent" ref="74969379"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">791</int>
|
||||
<reference key="object" ref="1058196608"/>
|
||||
<reference key="parent" ref="77183958"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="flattenedProperties">
|
||||
|
@ -2373,6 +2708,22 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
|
|||
<string>770.IBShouldRemoveOnLegacySave</string>
|
||||
<string>771.IBPluginDependency</string>
|
||||
<string>771.IBShouldRemoveOnLegacySave</string>
|
||||
<string>774.IBPluginDependency</string>
|
||||
<string>775.IBPluginDependency</string>
|
||||
<string>776.IBPluginDependency</string>
|
||||
<string>777.IBPluginDependency</string>
|
||||
<string>778.IBPluginDependency</string>
|
||||
<string>779.IBPluginDependency</string>
|
||||
<string>780.IBPluginDependency</string>
|
||||
<string>781.IBPluginDependency</string>
|
||||
<string>784.IBPluginDependency</string>
|
||||
<string>785.IBPluginDependency</string>
|
||||
<string>786.IBPluginDependency</string>
|
||||
<string>787.IBPluginDependency</string>
|
||||
<string>788.IBPluginDependency</string>
|
||||
<string>789.IBPluginDependency</string>
|
||||
<string>790.IBPluginDependency</string>
|
||||
<string>791.IBPluginDependency</string>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
|
@ -2504,6 +2855,22 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
|
|||
<boolean value="YES"/>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<boolean value="YES"/>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="unlocalizedProperties">
|
||||
|
@ -2518,7 +2885,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
|
|||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">773</int>
|
||||
<int key="maxID">807</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes">
|
||||
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
|
||||
|
@ -2534,6 +2901,8 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
|
|||
<string>clearClippingList:</string>
|
||||
<string>processMenuClippingSelection:</string>
|
||||
<string>setBezelAlpha:</string>
|
||||
<string>setBezelHeight:</string>
|
||||
<string>setBezelWidth:</string>
|
||||
<string>setDisplayNumPref:</string>
|
||||
<string>setRememberNumPref:</string>
|
||||
<string>showPreferencePanel:</string>
|
||||
|
@ -2553,6 +2922,8 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
|
|||
<string>id</string>
|
||||
<string>id</string>
|
||||
<string>id</string>
|
||||
<string>id</string>
|
||||
<string>id</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="actionInfosByName">
|
||||
|
@ -2563,6 +2934,8 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
|
|||
<string>clearClippingList:</string>
|
||||
<string>processMenuClippingSelection:</string>
|
||||
<string>setBezelAlpha:</string>
|
||||
<string>setBezelHeight:</string>
|
||||
<string>setBezelWidth:</string>
|
||||
<string>setDisplayNumPref:</string>
|
||||
<string>setRememberNumPref:</string>
|
||||
<string>showPreferencePanel:</string>
|
||||
|
@ -2588,6 +2961,14 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
|
|||
<string key="name">setBezelAlpha:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo">
|
||||
<string key="name">setBezelHeight:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo">
|
||||
<string key="name">setBezelWidth:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo">
|
||||
<string key="name">setDisplayNumPref:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
|
@ -2618,27 +2999,37 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
|
|||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>heightSlider</string>
|
||||
<string>jcMenu</string>
|
||||
<string>mainRecorder</string>
|
||||
<string>prefsPanel</string>
|
||||
<string>widthSlider</string>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>NSSlider</string>
|
||||
<string>NSMenu</string>
|
||||
<string>SRRecorderControl</string>
|
||||
<string>NSPanel</string>
|
||||
<string>NSSlider</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>heightSlider</string>
|
||||
<string>jcMenu</string>
|
||||
<string>mainRecorder</string>
|
||||
<string>prefsPanel</string>
|
||||
<string>widthSlider</string>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">heightSlider</string>
|
||||
<string key="candidateClassName">NSSlider</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">jcMenu</string>
|
||||
<string key="candidateClassName">NSMenu</string>
|
||||
|
@ -2651,6 +3042,10 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
|
|||
<string key="name">prefsPanel</string>
|
||||
<string key="candidateClassName">NSPanel</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">widthSlider</string>
|
||||
<string key="candidateClassName">NSSlider</string>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
|
@ -2658,24 +3053,6 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
|
|||
<string key="minorKey">./Classes/AppController.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">FirstResponder</string>
|
||||
<object class="NSMutableDictionary" key="actions">
|
||||
<string key="NS.key.0">:</string>
|
||||
<string key="NS.object.0">id</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="actionInfosByName">
|
||||
<string key="NS.key.0">:</string>
|
||||
<object class="IBActionInfo" key="NS.object.0">
|
||||
<string key="name">:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBUserSource</string>
|
||||
<string key="minorKey"/>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">SRRecorderControl</string>
|
||||
<string key="superclassName">NSControl</string>
|
||||
|
|
BIN
English.lproj/MainMenu.nib/keyedobjects.nib
generated
BIN
English.lproj/MainMenu.nib/keyedobjects.nib
generated
Binary file not shown.
|
@ -10,13 +10,15 @@
|
|||
|
||||
#import "BezelWindow.h"
|
||||
|
||||
static const float lineHeight = 16;
|
||||
|
||||
@implementation BezelWindow
|
||||
|
||||
- (id)initWithContentRect:(NSRect)contentRect
|
||||
styleMask:(NSUInteger)aStyle
|
||||
backing:(NSBackingStoreType)bufferingType
|
||||
defer:(BOOL)flag
|
||||
{
|
||||
defer:(BOOL)flag {
|
||||
|
||||
self = [super initWithContentRect:contentRect
|
||||
styleMask:NSBorderlessWindowMask
|
||||
backing:NSBackingStoreBuffered
|
||||
|
@ -29,7 +31,6 @@
|
|||
[self setHasShadow:NO];
|
||||
[self setMovableByWindowBackground:NO];
|
||||
[self setBackgroundColor:[self sizedBezelBackgroundWithRadius:25.0 withAlpha:[[NSUserDefaults standardUserDefaults] floatForKey:@"bezelAlpha"]]];
|
||||
float lineHeight = 16;
|
||||
NSRect textFrame = NSMakeRect(12, 36, self.frame.size.width - 24, self.frame.size.height - 50);
|
||||
textField = [[RoundRecTextField alloc] initWithFrame:textFrame];
|
||||
[[self contentView] addSubview:textField];
|
||||
|
@ -56,6 +57,17 @@
|
|||
return nil;
|
||||
}
|
||||
|
||||
|
||||
- (void) update {
|
||||
[super update];
|
||||
[self setBackgroundColor:[self sizedBezelBackgroundWithRadius:25.0 withAlpha:[[NSUserDefaults standardUserDefaults] floatForKey:@"bezelAlpha"]]];
|
||||
NSRect textFrame = NSMakeRect(12, 36, self.frame.size.width - 24, self.frame.size.height - 50);
|
||||
[textField setFrame:textFrame];
|
||||
NSRect charFrame = NSMakeRect(([self frame].size.width - (3 * lineHeight)) / 2, 7, 4 * lineHeight, 1.2 * lineHeight);
|
||||
[charField setFrame:charFrame];
|
||||
|
||||
}
|
||||
|
||||
- (void) setAlpha:(float)newValue
|
||||
{
|
||||
[self setBackgroundColor:[self sizedBezelBackgroundWithRadius:25.0 withAlpha:[[NSUserDefaults standardUserDefaults] floatForKey:@"bezelAlpha"]]];
|
||||
|
@ -95,10 +107,6 @@
|
|||
[textField setStringValue:bezelText];
|
||||
}
|
||||
|
||||
- (void)setFrame:(NSRect)frameRect display:(BOOL)displayFlag animate:(BOOL)animationFlag
|
||||
{
|
||||
[super setFrame:frameRect display:displayFlag animate:animationFlag];
|
||||
}
|
||||
|
||||
- (NSColor *)roundedBackgroundWithRect:(NSRect)bgRect withRadius:(float)radius withAlpha:(float)alpha
|
||||
{
|
||||
|
@ -168,5 +176,4 @@
|
|||
delegate = newDelegate;
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue