Files
Leeksov 4647310322 GLEGram 12.5 — Initial public release
Based on Swiftgram 12.5 (Telegram iOS 12.5).
All GLEGram features ported and organized in GLEGram/ folder.

Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass,
Font Replacement, Fake Profile, Chat Export, Plugin System, and more.

See CHANGELOG_12.5.md for full details.
2026-04-06 09:48:12 +03:00

42 lines
1.0 KiB
Objective-C

#import "PGPhotoTool.h"
typedef enum
{
PGCurvesTypeLuminance,
PGCurvesTypeRed,
PGCurvesTypeGreen,
PGCurvesTypeBlue
} PGCurvesType;
@interface PGCurvesValue : NSObject <NSCopying>
@property (nonatomic, assign) CGFloat blacksLevel;
@property (nonatomic, assign) CGFloat shadowsLevel;
@property (nonatomic, assign) CGFloat midtonesLevel;
@property (nonatomic, assign) CGFloat highlightsLevel;
@property (nonatomic, assign) CGFloat whitesLevel;
- (NSArray *)interpolateCurve;
+ (instancetype)defaultValue;
@end
@interface PGCurvesToolValue : NSObject <NSCopying, PGCustomToolValue>
@property (nonatomic, strong) PGCurvesValue *luminanceCurve;
@property (nonatomic, strong) PGCurvesValue *redCurve;
@property (nonatomic, strong) PGCurvesValue *greenCurve;
@property (nonatomic, strong) PGCurvesValue *blueCurve;
@property (nonatomic, assign) PGCurvesType activeType;
- (instancetype)initWithDictionary:(NSDictionary *)dictionary;
- (NSDictionary *)dictionary;
@end
@interface PGCurvesTool : PGPhotoTool
@end