//
//  MainViewController.h
//  kneet2
//
//  Created by Jason Lee on 10/2/15.
//  Copyright © 2015 ntels. All rights reserved.
//

#import "JDViewController.h"

@interface MainViewController : JDViewController


#pragma mark - Properties
@property (weak, nonatomic) IBOutlet UIView *tabBar;
@property (weak, nonatomic) IBOutlet UIScrollView *scrollView;

#pragma mark - Extend view
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintExpandViewTop;
@property (weak, nonatomic) IBOutlet CustomButton *btnHomegrpImage;

//extend view
@property (weak, nonatomic) IBOutlet CustomButton *btnHomeHub;

@property (weak, nonatomic) IBOutlet CustomButton *btnModeHome;
@property (weak, nonatomic) IBOutlet CustomButton *btnModeAway;
@property (weak, nonatomic) IBOutlet CustomButton *btnModeMorning;
@property (weak, nonatomic) IBOutlet CustomButton *btnModeNight;



#pragma mark - Instance Methods

- (void)updateHomeHubStatusToChildViewController;

- (void)loadThingsViewController;
- (void)loadRulesViewController;
- (void)loadMembersViewController;


- (IBAction)btnThingsTouched:(id)sender;
- (IBAction)btnRuleTouched:(id)sender;
- (IBAction)btnMemberTouched:(id)sender;
- (IBAction)btnExtendTouched:(id)sender;
- (IBAction)btnCollapseTouched:(id)sender;

//Extend view
- (IBAction)btnProfileTouched:(id)sender;
- (IBAction)btnNoticeTouched:(id)sender;
- (IBAction)btnMessageBoxTouched:(id)sender;
- (IBAction)btnHomeHubTouched:(id)sender;
- (IBAction)btnSettingsTouched:(id)sender;

//mode
- (IBAction)btnModeHomeTouched:(id)sender;
- (IBAction)btnModeAwayTouched:(id)sender;
- (IBAction)btnModeMorningTouched:(id)sender;
- (IBAction)btnModeNightTouched:(id)sender;



@end