Skip to content

Commit

Permalink
Upgraded Canary to BWToolkit 1.2.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicktoumpelis committed Aug 18, 2009
1 parent ce0a34e commit 1252298
Show file tree
Hide file tree
Showing 77 changed files with 613 additions and 9,476 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//

#import <Cocoa/Cocoa.h>
#import "BWAnchoredButtonCell.h"

@interface BWAnchoredButton : NSButton
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@

@interface BWAnchoredButtonBar : NSView
{
BOOL isResizable;
BOOL isAtBottom;
BOOL isResizable, isAtBottom, handleIsRightAligned;
int selectedIndex;
id splitViewDelegate;
}

@property BOOL isResizable;
@property BOOL isAtBottom;
@property BOOL isResizable, isAtBottom, handleIsRightAligned;
@property int selectedIndex;

// The mode of this bar with a resize handle makes use of some NSSplitView delegate methods. Use the splitViewDelegate for any custom delegate implementations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//

#import <Cocoa/Cocoa.h>
#import "BWAnchoredPopUpButtonCell.h"

@interface BWAnchoredPopUpButton : NSPopUpButton
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//
// BWGradientBox.h
// BWToolkit
//
// Created by Brandon Walkin (www.brandonwalkin.com)
// All code is provided under the New BSD license.
//

#import <Cocoa/Cocoa.h>

@interface BWGradientBox : NSView
{
NSColor *fillStartingColor, *fillEndingColor, *fillColor;
NSColor *topBorderColor, *bottomBorderColor;
float topInsetAlpha, bottomInsetAlpha;

BOOL hasTopBorder, hasBottomBorder, hasGradient;
}

@property (nonatomic, retain) NSColor *fillStartingColor, *fillEndingColor, *fillColor, *topBorderColor, *bottomBorderColor;
@property float topInsetAlpha, bottomInsetAlpha;
@property BOOL hasTopBorder, hasBottomBorder, hasGradient;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//
// BWHyperlinkButton.h
// BWToolkit
//
// Created by Brandon Walkin (www.brandonwalkin.com)
// All code is provided under the New BSD license.
//

#import <Cocoa/Cocoa.h>

@interface BWHyperlinkButton : NSButton
{
NSString *urlString;
}

@property (copy, nonatomic) NSString *urlString;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// BWHyperlinkButtonCell.h
// BWToolkit
//
// Created by Brandon Walkin (www.brandonwalkin.com)
// All code is provided under the New BSD license.
//

#import <Cocoa/Cocoa.h>

@interface BWHyperlinkButtonCell : NSButtonCell
{

}

@end
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@

@interface BWSheetController : NSObject
{
IBOutlet NSWindow *sheet;
IBOutlet NSWindow *parentWindow;
IBOutlet id delegate;
NSWindow *sheet;
NSWindow *parentWindow;
id delegate;
}

@property (nonatomic, retain) IBOutlet NSWindow *sheet, *parentWindow;
@property (nonatomic, retain) IBOutlet id delegate;

- (IBAction)openSheet:(id)sender;
- (IBAction)closeSheet:(id)sender;
- (IBAction)messageDelegateAndCloseSheet:(id)sender;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
//
// BWStyledTextField.h
// BWToolkit
//
// Created by Brandon Walkin (www.brandonwalkin.com)
// All code is provided under the New BSD license.
//

#import <Cocoa/Cocoa.h>

@interface BWStyledTextField : NSTextField
{

}

- (BOOL)hasGradient;
- (void)setHasGradient:(BOOL)flag;
- (NSColor *)startingColor;
- (void)setStartingColor:(NSColor *)color;
- (NSColor *)endingColor;
- (void)setEndingColor:(NSColor *)color;

- (NSColor *)solidColor;
- (void)setSolidColor:(NSColor *)color;

- (BOOL)hasShadow;
- (void)setHasShadow:(BOOL)flag;
- (BOOL)shadowIsBelow;
- (void)setShadowIsBelow:(BOOL)flag;
- (NSColor *)shadowColor;
- (void)setShadowColor:(NSColor *)color;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//
// BWStyledTextFieldCell.h
// BWToolkit
//
// Created by Brandon Walkin (www.brandonwalkin.com)
// All code is provided under the New BSD license.
//

#import <Cocoa/Cocoa.h>

@interface BWStyledTextFieldCell : NSTextFieldCell
{
BOOL shadowIsBelow, hasShadow, hasGradient;
NSColor *shadowColor, *startingColor, *endingColor, *solidColor;

NSMutableDictionary *previousAttributes;
}

@property BOOL shadowIsBelow, hasShadow, hasGradient;
@property (nonatomic, retain) NSColor *shadowColor, *startingColor, *endingColor, *solidColor;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@
#import "BWAnchoredButtonCell.h"
#import "BWAnchoredPopUpButton.h"
#import "BWAnchoredPopUpButtonCell.h"
#import "BWGradientBox.h"
#import "BWHyperlinkButton.h"
#import "BWHyperlinkButtonCell.h"
#import "BWInsetTextField.h"
#import "BWSelectableToolbar.h"
#import "BWSheetController.h"
#import "BWSplitView.h"
#import "BWStyledTextField.h"
#import "BWStyledTextFieldCell.h"
#import "BWTexturedSlider.h"
#import "BWTexturedSliderCell.h"
#import "BWTokenAttachmentCell.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//

#import <Cocoa/Cocoa.h>
#import "BWTransparentButtonCell.h"

@interface BWTransparentButton : NSButton
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

@interface BWTransparentButtonCell : NSButtonCell
{
NSColor *interiorColor;

}

@end
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//

#import <Cocoa/Cocoa.h>
#import "BWTransparentCheckboxCell.h"

@interface BWTransparentCheckbox : NSButton
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//

#import <Cocoa/Cocoa.h>
#import "BWTransparentPopUpButtonCell.h"

@interface BWTransparentPopUpButton : NSPopUpButton
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@interface BWTransparentPopUpButtonCell : NSPopUpButtonCell
{
NSColor *interiorColor;

}

@end
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//

#import <Cocoa/Cocoa.h>
#import "BWUnanchoredButtonCell.h"

@interface BWUnanchoredButton : NSButton
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//
// NSApplication+BWAdditions.h
// BWToolkit
//
// Created by Brandon Walkin (www.brandonwalkin.com)
// All code is provided under the New BSD license.
//

#import <Cocoa/Cocoa.h>

@interface NSApplication (BWAdditions)

+ (BOOL)isOnLeopard;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.1</string>
<string>1.2.2</string>
<key>NSPrincipalClass</key>
<string>BWToolkit</string>
</dict>
Expand Down
Loading

0 comments on commit 1252298

Please sign in to comment.