haiku/headers
John Scipione 64a2e73375 Add _ViewWidth(), _ViewHeight(), _TextWidth(), _TextHeight()
private convenience methods to calculate the text view width and
height with insets and the text rect width and height without
insets respectively.

Also add _ViewRect() and _TextRect() methods for completeness,
but they are not currently used.

Change-Id: I0582bc93a0a3a6820bbb2262a1d726457309ab9f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7162
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-12-08 10:14:14 +00:00
..
build elf: add PT_RISCV_ATTRIBUTES program header 2023-09-25 15:20:13 +00:00
compatibility headers/compatibility/bsd: Update headers to remove BSD advertising clause. 2023-09-21 18:38:10 -04:00
config riscv: cleanup architecture macro checks 2021-09-01 18:04:59 +00:00
cpp userlandfs: use std::bitset for FSCapabilities 2023-07-10 06:27:18 +00:00
glibc Make public glibc header printf.h usable. 2013-07-17 18:07:56 +02:00
libs Icon-O-Matic: Add perspective transformations 2023-08-22 09:44:49 +00:00
os Add _ViewWidth(), _ViewHeight(), _TextWidth(), _TextHeight() 2023-12-08 10:14:14 +00:00
posix network: Overhaul TUN/TAP subsystem. 2023-11-30 20:44:44 +00:00
private network: Overhaul TUN/TAP subsystem. 2023-11-30 20:44:44 +00:00
tools cppunit: Enable CPPUNIT_HAVE_SSTREAM for the non-legacy GCC. 2022-03-29 19:09:38 -04:00