mirror of
https://github.com/TermiT/Flycut.git
synced 2026-01-13 16:34:28 +08:00
Rewrote RoundRecTextField to allow Auto Layout with leading and trailing margins to dynamically size the 'n of m' bubble which lays the groundwork for supporting 999 clippings without looking bad. RoundRecTextField was pretty self-critical anyway. The 'n of m' bubble was off-center previously, so now it is centered. The bezel content was lacking in margins to the background shading, so those have been fixed up now.
20 lines
522 B
Objective-C
Executable file
20 lines
522 B
Objective-C
Executable file
//
|
|
// RoundRecTextField.h
|
|
// Flycut
|
|
//
|
|
// Flycut by Gennadiy Potapov and contributors. Based on Jumpcut by Steve Cook.
|
|
// Copyright 2011 General Arcade. All rights reserved.
|
|
//
|
|
// This code is open-source software subject to the MIT License; see the homepage
|
|
// at <https://github.com/TermiT/Flycut> for details.
|
|
//
|
|
|
|
#import <AppKit/AppKit.h>
|
|
|
|
|
|
@interface RoundRecTextField : NSView
|
|
|
|
@property (nonatomic, nonnull, readonly) NSTextField *textField;
|
|
@property (nonatomic, nonnull, readonly) NSView *background;
|
|
|
|
@end
|