hide some settings in streaming

This commit is contained in:
TrueZhuangjia
2025-05-17 23:07:33 +08:00
committed by TrueZhuanjia
parent 561080568c
commit 2679ba75af
11 changed files with 1271 additions and 57 deletions
+33
View File
@@ -0,0 +1,33 @@
//
// MenuSectionView.h
// Moonlight-ZWM
//
// Created by True砖家 on 5/18/25.
// Copyright © 2025 True砖家 @ Bilibili. All rights reserved.
//
// MenuSectionView.h
#import <UIKit/UIKit.h>
@interface MenuSectionView : UIView
// 外部可访问属性
@property (nonatomic, assign) CGFloat leadingTrailingPadding;
@property (nonatomic, assign) CGFloat separatorLinePadding;
@property (nonatomic, copy) NSString *sectionTitle;
@property (nonatomic, assign) BOOL expanded;
@property (nonatomic, strong) UIColor *backgroundColor;
@property (nonatomic, assign) CGFloat rootStackViewSpacing;
@property (nonatomic, assign) CGFloat headerViewHeight;
@property (nonatomic, assign) CGFloat headerViewVerticalSpacing;
@property (nonatomic, strong) NSMutableArray<UIStackView *> *subStackViews;
// 方法
- (void)setSectionIcon:(UIImage *)icon;
- (void)addSubStackView:(UIStackView *)stackView;
- (void)addToParentStack:(UIStackView *)parentStack;
- (void)removeSubStackView:(UIStackView *)stackView;
- (void)updateLayout;
@end