BBANavigationBarConstants.h 1.67 KB
//
//  BBANavigationBarConstants.h
//  BBAPods-BBAUIKit
//
//  Created by liuchengqing01 on 2017/9/25.
//  Copyright © 2017年 Baidu. All rights reserved.
//

#import <UIKit/UIKit.h>

/// 导航条内容高度
__used extern CGFloat kBBANavigationBarHeightDisplay(void);
/// 导航条按钮高度
__used extern CGFloat kBBANavigationBarItemHeight(void);
/// 导航条按钮宽度
__used extern CGFloat kBBANavigationBarItemWidth(void);
///额外按钮的宽度
__used extern CGFloat kBBANavigationBarExtraButtonWidth(void);
/// 导航栏标题FrameHeight
__used extern CGFloat kBBANavigationBarTitleFrameHeight(void);

@interface BBANavigationBarConstants: NSObject

// 导航条高度
+ (CGFloat)bba_NavigationBarHeight;
/// 导航栏按钮字体字号
+ (UIFont *)bba_NavigationBarButtonTextFont;
+ (UIFont *)bba_NavigationBarExtraButtonTextFont;

/// 导航条默认标题字体
+ (UIFont *)bba_NavigationBarDefaultTitleFont;

/// 导航条默认标题颜色
+ (UIColor *)bba_NavigationBarDefaultTitleColor;

/// 导航条按钮正常状态颜色
+ (UIColor *)bba_NavigationBarItemNormalColor;

/// 导航条按钮按下状态颜色
+ (UIColor *)bba_NavigationBarItemHighLightColor;

/// 导航条按钮禁用状态颜色
+ (UIColor *)bba_NavigationBarItemDisableColor;

/// 浅色文字导航条按下状态颜色
+ (UIColor *)bba_NavigationBarItemHighlightLightColor;

/// 导航栏背景色
+ (UIColor *)bba_NavigationBarBgModifiedColor;

/// 标题栏下面线的颜色
+ (UIColor *)bba_NavigationBarLineColor;

/// 导航栏背景图,白色图
+ (UIImage *)bba_NavigationBarBgImage;

// 导航条按钮左文字/icon显示位置编移
+ (UIEdgeInsets)bba_NavigationBarLeftItemOffsiteOn7;

@end