mirror of
				https://github.com/samuelclay/NewsBlur.git
				synced 2025-10-31 16:49:24 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
	
		
			934 B
		
	
	
	
		
			Objective-C
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			934 B
		
	
	
	
		
			Objective-C
		
	
	
	
	
	
| //
 | |
| //  UnreadCountView.h
 | |
| //  NewsBlur
 | |
| //
 | |
| //  Created by Samuel Clay on 10/3/12.
 | |
| //  Copyright (c) 2012 NewsBlur. All rights reserved.
 | |
| //
 | |
| 
 | |
| #import <UIKit/UIKit.h>
 | |
| #import "NewsBlurAppDelegate.h"
 | |
| 
 | |
| @class NewsBlurAppDelegate;
 | |
| 
 | |
| @interface UnreadCountView : UIView
 | |
| 
 | |
| typedef enum {
 | |
|     NBFeedListFeed = 1,
 | |
|     NBFeedListSocial = 2,
 | |
|     NBFeedListFolder = 3
 | |
| } NBFeedListType;
 | |
| 
 | |
| @property (nonatomic) NewsBlurAppDelegate *appDelegate;
 | |
| @property (assign, nonatomic) int psWidth;
 | |
| @property (assign, nonatomic) int psPadding;
 | |
| @property (assign, nonatomic) int ntWidth;
 | |
| @property (assign, nonatomic) int ntPadding;
 | |
| @property (assign, nonatomic) int psCount;
 | |
| @property (assign, nonatomic) int ntCount;
 | |
| @property (assign, nonatomic) int blueCount;
 | |
| @property (assign, nonatomic) CGRect rect;
 | |
| 
 | |
| - (void)drawInRect:(CGRect)r ps:(int)ps nt:(int)nt listType:(NBFeedListType)listType;
 | |
| - (void)calculateOffsets:(int)ps nt:(int)nt;
 | |
| - (int)offsetWidth;
 | |
| 
 | |
| @end
 | 
