]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Merge branch 'terencehill/listbox_item_highlight' into 'master'
authorMario <zacjardine@y7mail.com>
Fri, 3 Jul 2015 05:36:13 +0000 (05:36 +0000)
committerMario <zacjardine@y7mail.com>
Fri, 3 Jul 2015 05:36:13 +0000 (05:36 +0000)
commit403009a6838f98e3857e5708f5402c781ec003ce
tree7389f197327ceaa6c24aa948c94f900762782ed7
parent5b3d38ffdd942aa1647d747e8e6e4605df39cb82
parent33cafb1219661968d29118d6ffd8a9db680fa894
Merge branch 'terencehill/listbox_item_highlight' into 'master'

Listbox: highlight item under the cursor

* Highlight listbox focused items with a customizable (by skin attributes) fade effect; the same effect is applied to the crosshair picker and to the charmap too

* Crosshair picker now has customizable (by skin attributes) color and alpha, similarly to the charmap ones

* The dot crosshair now appears always white in the crosshair picker

* The crosshair preview is no longer highlighted, nor clickable as it's no longer a button (made no sense)

About the implementation:
Changed the crosshair picker and the crosshair preview from a set of special radio buttons to 2 new different items: a picker with code based on the charmap code and a preview. More precisely the crosshair picker extends the new Picker superclass (same for the charmap).

See merge request !122