]> git.sesse.net Git - vlc/commit
skins2: rework image control (scale while preserving aspect ratio)
authorErwan Tulou <erwan10@videolan.org>
Mon, 19 Jul 2010 15:44:30 +0000 (17:44 +0200)
committerErwan Tulou <erwan10@videolan.org>
Tue, 20 Jul 2010 10:41:20 +0000 (12:41 +0200)
commitab8483243dbccc5af8cd3ebf88239ba9a88421d9
tree70c384e2a55a30bcd22d0fa201a7558d4894dc7a
parent409553d22b18aacb2d3a918b900b85643ee6f6f6
skins2: rework image control (scale while preserving aspect ratio)

 - implement mouseOver (forgotten in prior commit)
 - picture rescaled only when size changed (better performance)
 - some cosmetics
modules/gui/skins2/controls/ctrl_image.cpp
modules/gui/skins2/controls/ctrl_image.hpp