Files
nethack/src
PatR ec5772d6d2 Qt hitpointbar
Add support for the 'hitpointbar' to the Qt interface.  Rather
than rendering the status title (name+rank or name+monster_species)
using inverse video for leading substring to produce distinct left
and right sides, draw a horizontal bar above that field.

The left portion (current health) is thicker and uses red for <10%
or <5hp, orange for <25% or <10hp, yellow for <50%, green for <75%,
blue for <100%, and black for 100%.

The right portion (missing maximum health) is thinner and runs
from white (paired with red), light gray (paired with orange),
dark gray (with yellow), plain gray (which turns out to be darker
than dark gray, with green), dark blue (with blue), and black (but
black is never shown for injury portion because that's suppressed
when at full health).

Qt already supports a square frame around the hero's map tile that
changes color according to health.  Turning the hitpointbar option
Off or On has no effect on that.
2020-10-25 15:47:49 -07:00
..
2018-11-11 10:29:52 -05:00
2020-06-07 08:49:27 -04:00
2020-10-13 13:41:57 -07:00
2020-10-23 19:47:10 +03:00
2020-10-10 16:41:09 -04:00
2020-10-18 20:28:32 +03:00
2020-10-23 19:47:10 +03:00
2020-09-05 11:35:28 -07:00
2020-10-10 16:28:17 -04:00
2020-10-24 03:17:19 -07:00
2020-08-07 00:29:28 -07:00
2020-08-01 19:17:56 -07:00
2020-10-10 16:28:17 -04:00
2020-10-10 16:28:17 -04:00
2020-10-23 19:47:10 +03:00
2020-10-23 19:47:10 +03:00
2020-10-23 19:47:10 +03:00
2020-09-30 19:05:02 +03:00
2020-04-06 13:34:07 +03:00
2020-04-12 16:55:00 +03:00
2020-07-30 19:25:57 -07:00
2020-10-25 15:47:49 -07:00
2020-10-01 16:41:56 -07:00
2020-10-10 16:28:17 -04:00
2020-10-04 14:46:32 -04:00
2020-07-10 01:37:46 -07:00
2020-07-05 08:50:13 -04:00
2020-10-19 16:20:49 -07:00
2020-10-20 19:37:51 -04:00
2020-10-10 16:28:17 -04:00
2020-10-19 16:19:01 -07:00
2020-10-09 12:02:26 -07:00
2020-10-04 14:46:32 -04:00
2020-10-04 14:46:31 -04:00
2020-10-07 09:23:41 -04:00