summaryrefslogtreecommitdiffstats
path: root/mpvcore/lua/osc.lua
Commit message (Collapse)AuthorAgeFilesLines
* osc: reset mouse position when leaving windowChrisK22013-10-151-4/+9
| | | | and store it freshly on first mouse_move event when entering again
* osc: Don't create a config if none exists.ChrisK22013-10-151-19/+14
| | | | A documentation explaing where and how to create one instead will follow.
* osc: use "info" instead of "warn" for config file creation messagewm42013-10-141-1/+1
| | | | | When the main mpv config file, "info" is used, so this makes things consistent.
* osc: raise minmousemove default setting to 3 and disable input mouse area ↵ChrisK22013-10-141-6/+11
| | | | | | when OSC not visible The mouse area that covers the OSC is now only activated when the OSC is actually visible, to make sure the mouse still hides if it happens to be parked in the OSC area without making the OSC show up.
* osc: fix mouse hidingChrisK22013-10-131-2/+2
|
* osc: Once again new Show/Hide handlingChrisK22013-10-131-7/+34
| | | | | | | The deadzone-size is now by default zero, so movement on the entire window will make the OSC show up. To avoid it showing up by randomly moving mice, the option 'minmousemove' controls how many pixels movement (default: 1) between ticks (frames) are necessary to make the OSC show up. The deadzone can be reenabeled by setting the option 'deadzonesize' (default: 0 = no deadzone, 1 = entire area between OSC and opposite window border), to restore the old behavior, set it to ~0.92. The OSC will hide immediately when leaving the window or entering the deadzone (if existing) or after the time specified with 'hidetimeout' (default: 500ms) passed without any new movement. Set to negative value to disabling auto-hide (thus restoring old behavior). The OSC will never hide if hovered by the mouse.
* osc: Okay, don't multiply the cache valueChrisK22013-10-071-5/+1
| | | | As expected, this is not liked.
* osc: Display cache fill statusChrisK22013-10-071-1/+21
| | | | | | The OSC will now display cache fill status between the timecodes, but only if it's below 48% to not clutter the interface with erratically changing values. By default, the displayed value is multiplied by 2 to not confuse users who are unfamillar with the inner workings of the caching system. This can be disabled using the iAmAProgrammer=true setting.
* osc: Add another scale option for forced windows.ChrisK22013-10-061-3/+6
| | | | If the OSC is rendered on a forced window (by --force-window), the scale can be configured with scaleForcedWindow.
* osc: add options to show OSC only when FS/windowedChrisK22013-09-271-2/+12
| | | | | | The boolean-options showWindowed and showFullscreen can now be set in plugin_osc.conf to control the behaviour. enhancement for #262
* osc: Prevent OSD style options from messing with the OSC stylesChrisK22013-09-261-18/+30
| | | | Should fix #259
* Add the on-screen-controllerChrisK22013-09-261-0/+1168
Signed-off-by: wm4 <wm4@nowhere>