-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ability to re-order colors in palettes by dragging, fixes #66
- Loading branch information
Showing
7 changed files
with
104 additions
and
13 deletions.
There are no files selected for viewing
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
10 changes: 10 additions & 0 deletions
10
Pixen Application/Palette/Palette Picker/PXInsertionView.h
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,10 @@ | |||
// | |||
// PXInsertionView.h | |||
// Pixen | |||
// | |||
// Copyright 2012 Pixen Project. All rights reserved. | |||
// | |||
|
|||
@interface PXInsertionView : NSView | |||
|
|||
@end |
18 changes: 18 additions & 0 deletions
18
Pixen Application/Palette/Palette Picker/PXInsertionView.m
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,18 @@ | |||
// | |||
// PXInsertionView.m | |||
// Pixen | |||
// | |||
// Copyright 2012 Pixen Project. All rights reserved. | |||
// | |||
|
|||
#import "PXInsertionView.h" | |||
|
|||
@implementation PXInsertionView | |||
|
|||
- (void)drawRect:(NSRect)dirtyRect | |||
{ | |||
[[NSColor blackColor] set]; | |||
NSRectFill([self bounds]); | |||
} | |||
|
|||
@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 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