Commit graph

18 commits

Author SHA1 Message Date
Mark Jerde
b85e1375f8 Bezel layout adjustments
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.
2022-01-23 21:47:21 -06:00
Mark Jerde
cd26c65b4b Make bezel close when it loses focus
The bezel doesn't provide any UI indication when it loses focus and
this no longer responds to input. This ranges anywhere from being
klunky to being a bug. Users have reported that they believed Flycut
to have hung when encountering this.

This defines a protocol for the BezelWindow's delegate, which had
previously just been a blind id delegate and makes the new delegate
inherit from NSWindowDelegate so that AppController can receive
windowDidResignKey: to indicate when focus is lost and immediately
close the bezel.
2020-08-01 23:06:08 -05:00
Jeff Whiting
50b2cb7051 Fixed some whitespace problems (the project seems to prefer tabs). 2016-08-09 00:37:56 -06:00
Jeff Whiting
63e95e399a Flycut no longer activates its application when showing the bezel. To make the bezel continue to show up and not steal focus we now create a NSPanel with NSNonactivatingPanelMask and set the NSPanel level to be above all other windows. This should hopefully prevent issue #45 with multiple monitors.
https://github.com/TermiT/Flycut/issues/45
2016-08-09 00:30:02 -06:00
Gennadiy Potapov
6a0fa2f359 changed header comments; changed classes name 2016-04-09 23:18:45 +08:00
Gennadiy Potapov
d583141f90 mouse scroll to choose clippings and double click to paste 2016-04-03 15:59:19 +08:00
Gennadiy Potapov
5e259802d9 for now removed pop up animation (need to rewrite it using NSAnimationContext) 2016-04-03 15:39:44 +08:00
Gennadiy Potapov
b3c1c5b14b fixed: bezel not updating values after switching to favorites and back from favorites 2016-04-03 14:34:21 +08:00
Gennadiy Potapov
d44887e790 got rid of DropBox syncing, will add iCloud support later 2016-04-03 13:20:57 +08:00
Mark Jerde
7a067ceff2 Display source and timestamp in bezel. 2016-01-28 22:05:52 -06:00
Mark Jerde
1dcb2b9f8d Consolidate repeated Bezel code so that changes only need to be made in one place. 2016-01-28 22:05:52 -06:00
Mark Jerde
12a5cc0299 Add a 'favorites' clipping store, accessed via the 'f' key in the bezel, with items added via the 'F' key in the bezel. Saved in the same fasion as the regular store. Adjustable capacity available separately from the regular store. 2015-07-03 21:02:01 -05:00
Mark Jerde
49e7405fdc Bezel performance suffers when the copy length gets very large (I frequently copy >1,000,000 characters), so limit the amount given to the Bezel to something closer to the actual Bezel display capacity. Bezel performance is great, the paste still has it all, and the Bezel still has more than it has room to display. 2015-06-12 06:14:41 -05:00
Gennadiy Potapov
54d2ea3cee Added DBUserDefaults for dropbox settings 2011-09-29 18:33:58 +08:00
Gennadiy Potapov
1de75fac69 Added the ability to change bezel window in app settings 2011-08-11 00:09:01 +08:00
Gennadiy Potapov
f66eabc253 Code clean up. Bezel size will be relative to screen resolution 2011-08-04 01:07:02 +08:00
Gennadiy Potapov
3ef88cab38 Warning removing, code clean up before refactoring 2011-08-02 01:02:41 +08:00
Gennadiy Potapov
b3571cfdef sync with version in Mac AppStore 2011-06-10 00:30:07 +08:00
Renamed from BezelWindow.m (Browse further)