//
//  HWToolBar.h
//  双子星云手机
//
//  Created by 余衡武 on 2022/3/9.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol HWToolBarDelegate <NSObject>

@optional
- (void)backBtnDidClick;
- (void)forwardBtnDidClick;
- (void)toolBtnDidClick;
- (void)homeBtnDidClick;
- (void)pageBtnDidClick;

@end

@interface HWToolBar : UIView

@property (weak, nonatomic) IBOutlet UIButton *backBtn;
@property (weak, nonatomic) IBOutlet UIButton *forwardBtn;
@property (weak, nonatomic) IBOutlet UIButton *toolBtn;
@property (weak, nonatomic) IBOutlet UIButton *homeBtn;
@property (weak, nonatomic) IBOutlet UIButton *pageBtn;
@property (weak, nonatomic) IBOutlet UIView   *lineVIew;

@property (weak, nonatomic) id<HWToolBarDelegate> delegate;

+ (instancetype)shareInstance;

@end

NS_ASSUME_NONNULL_END
