]> git.sesse.net Git - vlc/commit
skins2(win): fix mouse wheel ineffective on Windows
authorErwan Tulou <erwan10@videolan.org>
Thu, 22 Mar 2012 17:27:09 +0000 (18:27 +0100)
committerErwan Tulou <erwan10@videolan.org>
Thu, 22 Mar 2012 21:21:55 +0000 (22:21 +0100)
commitf3afffbc05eea48ef29191b169859b17e3f4b994
treeef63289ac44b97a9cce608922d5f32392c6f1903
parentd8a96604534966dab34ae2251d370a10f319ecd0
skins2(win): fix mouse wheel ineffective on Windows

This patch adds isScrollable() to a control, so that we can distinguish
controls that require mouse wheel (playtree, slider) from those that don't.
In the latter case, we can then forward events to vlc core.

this fixes #6457.
modules/gui/skins2/controls/ctrl_generic.hpp
modules/gui/skins2/controls/ctrl_list.hpp
modules/gui/skins2/controls/ctrl_slider.hpp
modules/gui/skins2/controls/ctrl_tree.hpp
modules/gui/skins2/src/top_window.cpp