]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Merge branch 'sev/hud_weapon_panel' into 'master'
authorMario <zacjardine@y7mail.com>
Fri, 23 Jan 2015 01:44:17 +0000 (01:44 +0000)
committerMario <zacjardine@y7mail.com>
Fri, 23 Jan 2015 01:44:17 +0000 (01:44 +0000)
commitfaa6bfec145154737de2d429eac966bb4f442177
tree4c2e2d8a25eb009fc5a614ba18533c499b2d2874
parentfe8acb6a250f104be282eacf6d1a5ba46c8783ff
parentb602ca56eba10d46e368f735e2f29504810b7681
Merge branch 'sev/hud_weapon_panel' into 'master'

A few HUD weapon panel improvements

Currently, the HUD weapon panel distributes the weapon icons very akwardly. The scaling is especially off when arranged vertically, sometimes leaving a gap on either side. So I've made to following changes:

- Reimplemented the distribution of the icons to better use the available space, and to be more predictable.
- Added a new cvar *hud_panel_weapons_label_scale*, to change the label size.
- Lastly, I've tightened up the HUD editor selection border for all panels, to more closely resemble the selection border in editors like GIMP or Inkscape.

![hud_weapons_v](https://gitlab.com/uploads/xonotic/xonotic-data.pk3dir/0c951a653d/hud_weapons_v.png)

![hud_weapons_h](https://gitlab.com/uploads/xonotic/xonotic-data.pk3dir/e494180790/hud_weapons_h.png)

See merge request !85
qcsrc/client/hud.qc