diff options
author | wm4 <wm4@nowhere> | 2012-09-21 14:22:23 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-12 10:10:31 +0200 |
commit | d3562198249d51087e8a23a6fafafd140eaaf935 (patch) | |
tree | 4008ecb961c4a7940e0202eacfa6c132418d1298 /m_property.h | |
parent | 74adc534b9dd8dde67042e8f3f448da3baca2fef (diff) | |
download | mpv-d3562198249d51087e8a23a6fafafd140eaaf935.tar.bz2 mpv-d3562198249d51087e8a23a6fafafd140eaaf935.tar.xz |
commands: remove M_PROPERTY_SWITCH from edition property
Instead, communicate the new value range with M_PROPERTY_GET_TYPE. Add
M_PROPERTY_GET_WRAP to allow properties to enable cycling instead of
stopping at min/max.
Diffstat (limited to 'm_property.h')
-rw-r--r-- | m_property.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/m_property.h b/m_property.h index 2893fc569d..33bd7f3f7c 100644 --- a/m_property.h +++ b/m_property.h @@ -64,6 +64,10 @@ enum mp_property_action { // Pass down an action to a sub-property. // arg: struct m_property_action* M_PROPERTY_KEY_ACTION, + + // Get wrap method. + // arg: bool* (true: wrap/cycle, false: clamp) + M_PROPERTY_GET_WRAP, }; // Argument for M_PROPERTY_KEY_ACTION |