Changeset 24125
- Timestamp:
- 06/30/2008 10:40:35 PM (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Frameworks/Adium Framework/Source/AIListGroupCell.m
r23985 r24125 121 121 //Sizing & Padding ----------------------------------------------------------------------------------------------------- 122 122 #pragma mark Sizing & Padding 123 //Padding. Gives our cell a bit of extra padding for the group name and flippy triangle 123 //Padding. Gives our cell a bit of extra padding for the group name and flippy triangle (disclosure triangle) 124 124 - (int)topPadding{ 125 125 return [super topPadding] + 1; … … 163 163 } 164 164 165 //Calculates the distance from left margin to our display name. This is the indent caused by group nesting. 165 /*! 166 * @brief Get the distance from left margin to our display name. 167 * 168 * This is the space used by the flippy triangle (disclosure triangle)... more or less. 169 */ 166 170 - (int)flippyIndent 167 171 { … … 181 185 - (void)drawContentWithFrame:(NSRect)rect 182 186 { 183 //Draw flippy triangle 187 //Draw flippy triangle (disclosure triangle) 184 188 [[self flippyColor] set]; 185 189 … … 258 262 } 259 263 260 //Color of our flippy triangle . By default we use the cell's text color.264 //Color of our flippy triangle (disclosure triangle). By default we use the cell's text color. 261 265 - (NSColor *)flippyColor 262 266 { trunk/Frameworks/Adium Framework/Source/AIListOutlineView.m
r24120 r24125 688 688 } 689 689 690 #pragma mark Attach & Detach Groups691 692 690 - (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender 693 691 { … … 703 701 } 704 702 703 - (BOOL)shouldCollapseAutoExpandedItemsForDeposited:(BOOL)deposited 704 { 705 return YES; 706 } 707 705 708 - (IBAction)copy:(id)sender 706 709 {