History log of /haiku/src/apps/processcontroller/MemoryBarMenuItem.h
Revision Date Author Comments
# 33cf9d22 31-Aug-2022 Augustin Cavalier <waddlesplash@gmail.com>

ProcessController: Utilize ComposeIconSize and refactor icon menu items.

* All MenuItem variants which draw icons now derive from IconMenuItem
and use its functions to draw and otherwise manage their icons. This
resolves a number of TODOs and reduces code duplication.

* Use BControlLook::ComposeIconSize() to compose icon sizes throughout.

* Remove unused methods from IconMenuItem.


# f6581478 10-Oct-2020 Augustin Cavalier <waddlesplash@gmail.com>

ProcessController: Relicense as MIT.

We received permission from the original author and all relevant contributors
(see the mailing list) to do this. (As best as can be established, BeUnited
did not modify the source code after importing besides adding their copyright.)


# 1c292f7e 19-Jul-2013 Rene Gollent <anevilyak@gmail.com>

ProcessController: Fix memory calculations.

On systems with > 4GB of memory, the calculations would overflow,
leading to the memory bars being drawn incorrectly.


# aa194488 30-Apr-2012 Rene Gollent <anevilyak@gmail.com>

Make memory menu items 64-bit safe.

Redo the precision levels of various calculations in the memory bar items
so they don't overflow on systems with > 4GB of RAM. Previously one could
see fun results like the kernel using negative amounts of memory on such
systems.


# f4ccbdaa 29-May-2006 Axel Dörfler <axeld@pinc-software.de>

* Made memory menu font sensitive (fixes part of bug #633).
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17638 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ed7a3501 23-May-2006 Axel Dörfler <axeld@pinc-software.de>

Imported ProcessController from BeUnited's CVS into our repository.
Doesn't compile yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17568 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1c292f7eb4e1aaebdb8ea3d860ffb1f4963821ba 19-Jul-2013 Rene Gollent <anevilyak@gmail.com>

ProcessController: Fix memory calculations.

On systems with > 4GB of memory, the calculations would overflow,
leading to the memory bars being drawn incorrectly.


# aa194488759d71f9abf248e0c07a719b01e9f70b 30-Apr-2012 Rene Gollent <anevilyak@gmail.com>

Make memory menu items 64-bit safe.

Redo the precision levels of various calculations in the memory bar items
so they don't overflow on systems with > 4GB of RAM. Previously one could
see fun results like the kernel using negative amounts of memory on such
systems.


# f4ccbdaa3aff5300cf3eac6f010ecb4cdb5f0f14 29-May-2006 Axel Dörfler <axeld@pinc-software.de>

* Made memory menu font sensitive (fixes part of bug #633).
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17638 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ed7a35012e2c301208b3a6b720cf389876f47ac5 23-May-2006 Axel Dörfler <axeld@pinc-software.de>

Imported ProcessController from BeUnited's CVS into our repository.
Doesn't compile yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17568 a95241bf-73f2-0310-859d-f6bbb57e9c96