haiku/src
John Scipione a44504a168 Deskbar: Refactor TRelicantTray::LocationForReplicant()
* if index == 0 return right away, no calculation required.
* rename rect to rowRect then copy it into replicantRect.
  - This makes it clearer to me what's going on.
* don't have to check if index > 0 in horizontal mode anymore since
  we are checking it upfront.
* introduce replicantWidth variable for understanding
* reduce indent

Was calculating the height in multi-row mode twice. Instead, use
the saved height, if that isn't set calculate height as before,
if no replicants, use minimum height (16px) and don't calculate.
2017-11-05 21:04:13 -08:00
..
add-ons WebPTranslator: use libwebp to identify. 2017-11-02 17:30:22 +00:00
apps Deskbar: Refactor TRelicantTray::LocationForReplicant() 2017-11-05 21:04:13 -08:00
bin package_repo: Fix update command when used with relative target. 2017-11-05 23:04:09 +01:00
build Move SHA256 class to libroot instead of linking libshared into libroot. 2017-10-03 20:18:26 -04:00
data Update pci.ids from pciids.sourceforge.net 2017-11-02 05:20:26 +01:00
kits Properly terminate property_info lists 2017-11-05 18:43:21 +01:00
libs wait4(): retrieve dead team entries usage information. 2017-10-10 17:20:46 +02:00
preferences Fix sentence-casing in Repositories prefs 2017-09-25 19:39:25 +02:00
servers "thin" fonts are B_LIGHT_FACE 2017-10-08 21:41:15 +02:00
system posix_spawn(): use MAX_SIGNAL_NUMBER instead of NSIG. 2017-11-04 17:25:42 +01:00
tests HaikuDepot: Change communication mechanism with server for repos 2017-11-03 20:10:01 +01:00
tools Move SHA256 class to libroot instead of linking libshared into libroot. 2017-10-03 20:18:26 -04:00
Jamfile Interface Guidelines: migrate to docs/, use DocBookCSS. 2015-02-12 17:08:04 -05:00