RoundedNumberView.h 487 B

1234567891011121314151617181920
  1. /**
  2. * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: GPL-3.0-or-later
  4. */
  5. #import <UIKit/UIKit.h>
  6. typedef NS_ENUM(NSInteger, HighlightType) {
  7. kHighlightTypeNone = 0,
  8. kHighlightTypeBorder,
  9. kHighlightTypeImportant
  10. };
  11. @interface RoundedNumberView : UIView
  12. @property (nonatomic, assign) NSInteger number;
  13. @property (nonatomic, strong) UIColor *numberColor;
  14. @property (nonatomic, assign) HighlightType highlightType;
  15. @end