NewsBlur/clients/ios/Classes/FeedDetailMenuViewController.h
David Sinclair 45875d2e10 iOS: #1156 (story titles height)
- Fixed mistakenly showing the infrequent stories message.
- Fixed the alignment of the segmented controls, by making all non-proportional.
- Added a control for the image size.
- Decodes HTML entities, and strips line breaks.
- Uses dynamic row heights when the text is short.
2019-02-12 20:43:44 -08:00

41 lines
1.4 KiB
Objective-C

//
// FeedDetailMenuViewController.h
// NewsBlur
//
// Created by Samuel Clay on 10/10/12.
// Copyright (c) 2012 NewsBlur. All rights reserved.
//
#import <UIKit/UIKit.h>
@class NewsBlurAppDelegate;
@interface FeedDetailMenuViewController : UIViewController
<UITableViewDelegate,
UITableViewDataSource> {
NewsBlurAppDelegate *appDelegate;
}
@property (nonatomic, strong) NSArray *menuOptions;
@property (nonatomic) IBOutlet NewsBlurAppDelegate *appDelegate;
@property (nonatomic) IBOutlet UITableView *menuTableView;
@property (nonatomic) IBOutlet UISegmentedControl *orderSegmentedControl;
@property (nonatomic) IBOutlet UISegmentedControl *readFilterSegmentedControl;
@property (nonatomic) IBOutlet UISegmentedControl *previewSizeSegment;
@property (nonatomic) IBOutlet UISegmentedControl *imageSizeSegment;
@property (nonatomic) IBOutlet UISegmentedControl *fontSizeSegment;
@property (nonatomic) IBOutlet UISegmentedControl *infrequentSegmentedControl;
@property (nonatomic) IBOutlet UISegmentedControl *themeSegmentedControl;
- (void)buildMenuOptions;
- (UITableViewCell *)makeOrderCell;
- (UITableViewCell *)makeReadFilterCell;
- (IBAction)changeOrder:(id)sender;
- (IBAction)changeReadFilter:(id)sender;
- (IBAction)changePreviewSize:(id)sender;
- (IBAction)changeImageSize:(id)sender;
- (IBAction)changeFontSize:(id)sender;
- (IBAction)changeInfrequent:(id)sender;
- (IBAction)changeTheme:(id)sender;
@end