// // PSTableRowView.m // Perforce // // Created by Adam Czubernat on 16/12/2013. // Copyright (c) 2013 Perforce Software, Inc. All rights reserved. // #import "PSTableRowView.h" @implementation PSTableRowView @synthesize selectionColor; - (void)setSelected:(BOOL)selected { [super setSelected:selected]; [super setEmphasized:selected]; } - (void)setEmphasized:(BOOL)emphasized { // Empty } - (void)drawSelectionInRect:(NSRect)dirtyRect { if (!selectionColor) return; NSInteger cornerSize = self.bounds.size.height / 4.0f; NSBezierPath *bezier = [NSBezierPath bezierPathWithRoundedRect:self.bounds xRadius:cornerSize yRadius:cornerSize]; [selectionColor setFill]; [bezier fill]; } @end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 16507 | perforce_software | Move to main branch. | ||
//guest/perforce_software/piper/mac/R1.0/Perforce/Classes/Views/PSTableRowView.m | |||||
#1 | 11254 | alan_petersen |
Populate //guest/perforce_software/piper/mac/R1.0/... from //guest/perforce_software/piper/mac/main/.... |
||
//guest/perforce_software/piper/mac/main/Perforce/Classes/Views/PSTableRowView.m | |||||
#1 | 11252 | alan_petersen | Rename/move file(s) | ||
//guest/perforce_software/piper/mac/Perforce/Classes/Views/PSTableRowView.m | |||||
#1 | 10744 | alan_petersen | Rename/move file(s) | ||
//guest/perforce_software/piper/Perforce/Classes/Views/PSTableRowView.m | |||||
#1 | 8919 | Matt Attaway | Initial add of Piper, a lightweight Perforce client for artists and designers. |