summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_touchbar.h
Commit message (Collapse)AuthorAgeFilesLines
* osdep/mac: make mac naming of files, folders and function consistentder richter2024-02-281-46/+0
| | | | | rename all macOS namings (osx, macosx, macOS, macos, apple) to mac, to make naming consistent.
* mac: only update touch bar items when necessaryder richter2021-02-131-0/+1
| | | | | | | | | | | | | | | | the slider on the touch bar was always updated when any of the related properties changed their value. this is partially dependent on the refresh rate of the video, in the case of time-pos. too many updates to touch bar impact the render performance. to prevent this we only update the slider when necessary, when the touch bar or the touch bar item is visible. the touch bar items only need a granularity of seconds without any decimals, but the time-pos property provides a granularity with decimals. we floor those values and only update the touch bar items when we have at least a 1 second difference. we also check for the visibility of the touch bar and its items. Fixes #8477
* osx: change license of OSX and cocoa files to LGPLwm42017-06-241-7/+7
| | | | All authors of the current code have agreed.
* osx: initial Touch Bar supportAkemi2017-03-261-0/+45