-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clang, preferences window, large refactoring of the plugin code and f…
…eatures.
- Loading branch information
Showing
196 changed files
with
6,502 additions
and
1,151 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// | ||
// Created by Benoît on 11/01/14. | ||
// Copyright (c) 2014 Pragmatic Code. All rights reserved. | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
@interface BBHyperLinkButtonCell : NSButtonCell | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// Created by Benoît on 11/01/14. | ||
// Copyright (c) 2014 Pragmatic Code. All rights reserved. | ||
// | ||
|
||
#import "BBHyperLinkButtonCell.h" | ||
|
||
@implementation BBHyperLinkButtonCell | ||
|
||
- (NSAttributedString*)attributedTitle { | ||
|
||
NSMutableAttributedString *attributedTitle = [[NSMutableAttributedString alloc] initWithAttributedString:[super attributedTitle]]; | ||
|
||
NSRange range = NSMakeRange(0, [attributedTitle length]); | ||
|
||
[attributedTitle addAttribute:NSUnderlineStyleAttributeName value:[NSNumber numberWithInt:NSSingleUnderlineStyle] range:range]; | ||
|
||
NSColor *textColor = (self.isHighlighted) ? [NSColor colorWithCalibratedRed:0.117 green:0.376 blue:0.998 alpha:1.000] : [NSColor blueColor]; | ||
|
||
[attributedTitle addAttribute:NSForegroundColorAttributeName value:textColor range:range]; | ||
|
||
return [attributedTitle copy]; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.