VapMergeInfoView.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Tencent is pleased to support the open source community by making vap available.
  2. //
  3. // Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
  4. //
  5. // Licensed under the MIT License (the "License"); you may not use this file except in
  6. // compliance with the License. You may obtain a copy of the License at
  7. //
  8. // http://opensource.org/licenses/MIT
  9. //
  10. // Unless required by applicable law or agreed to in writing, software distributed under the License is
  11. // distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
  12. // either express or implied. See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. #import <Cocoa/Cocoa.h>
  15. #import "VapxFileHelper.h"
  16. @class VapMergeInfoView;
  17. @protocol VapMergeInfoViewDelegate <NSObject>
  18. - (void)didClickAtCloseButton:(VapMergeInfoView*)view;
  19. @end
  20. @interface VapMergeInfoView : NSView
  21. @property (nonatomic, weak) id<VapMergeInfoViewDelegate> delegate;
  22. @property (nonatomic, strong) VapxFileHelper *fileHelper;
  23. @property (nonatomic, strong) NSString *maskPath;
  24. @property (nonatomic, strong) NSTextField *tagLabel;
  25. @property (nonatomic, strong) NSPopUpButton *resTypePopButton;
  26. @property (nonatomic, strong) NSPopUpButton *fitTypePopButton;
  27. @property (nonatomic, strong) NSTextField *widthLabel;
  28. @property (nonatomic, strong) NSTextField *heightLabel;
  29. @property (nonatomic, strong) NSButton *maskUploadButotn;
  30. @property (nonatomic, strong) NSTextField *colorLabel;
  31. @property (nonatomic, strong) NSPopUpButton *fontStyleButton;
  32. - (void)setIndex:(NSInteger)index;
  33. @end