summaryrefslogtreecommitdiffstats
path: root/helpers.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-08 15:46:16 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-08 15:46:16 -0700
commit656b58f20554f31bd25ec7a2c3b65a1b19046062 (patch)
tree61198748a02009e9fde2c21a0a24ed5cd8a5de08 /helpers.h
parent6f06c31d0b9db9ffae45d409557864469ab169b0 (diff)
downloadsubsurface-656b58f20554f31bd25ec7a2c3b65a1b19046062.tar.gz
Add tooltip data and cleanup size calculations
Tomaz' code had a fixed height per tooltip item and some rather suspicious logic how to position them (and how to size the surrounding box), based on a fixed height in pixels per item - which of course fails if you use larger fonts or multi line items. This uses the bounding rects to correctly calculate the sizes and populates the tooltip with the other dive data that we already had in a helper function. This also fixes a small formatting issue for gas change events. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'helpers.h')
0 files changed, 0 insertions, 0 deletions