History log of /haiku-fatelf/src/apps/powerstatus/ExtendedInfoWindow.cpp
Revision Date Author Comments
# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# a11e2f43 06-May-2011 Axel Dörfler <axeld@pinc-software.de>

* Minor coding style fix.


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


# 829200a0 06-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

rework r41321, check first character to see if string is empty. Thanks Ingo and Axel!

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


# 0974aaee 06-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

add (slightly overly) cautious checks of battery info to avoid NULL segfault... acpi can be flakey at times

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


# afa7517f 05-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

small logic correction, string compare reversed for empty battery slot test

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


# 042aefc4 04-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

small bit of style cleanup; added additional checks to see if a battery was damaged or it is just an empty slot

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


# 3bd54e05 24-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by Mike Roll: i18n PowerStatus. Thanks!


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


# 7974d3dc 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


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


# 2e49589d 04-Oct-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

Remove unused includes.

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


# 3e1f071c 04-Oct-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

Use the new CenterOnScreen function to center the window.

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


# bd767f5a 11-Aug-2009 Axel Dörfler <axeld@pinc-software.de>

* Worked over the battery look a bit, looks much better now IMO.
* Made the replicant transparent (for background images).
* Fixed many of Clemen's coding style violations.


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


# 08145692 30-Jul-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

Aside from I locked the wrong (base) class. The problem was more that the driver interface was deleted to early.
Using a Referenceable seems to fix it now.



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


# 8b24b02f 30-Jul-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

Center the ExtendedInfoWindow on the screen.



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


# b636a0ec 21-Jul-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

Make the shown info a little bit more usefull.



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


# e391ec67 11-Jul-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

- extended info window looks a little bit better now.
- cache the battery status and read it out in the polling thread
- fix time label



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


# 6aed176c 09-Jul-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

Add a ACPI battery driver interface to the PowerStatus app. If there is anyone with a working APM please test if its still working!
TODO:
- Get along with the Layout engine, the extended info window looks "no very nice".
- Reading the battery status takes too long so put it into a thread or cache it.



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


# 546208a53940a26c6379c48a7854ade1a8250fc5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# a11e2f430c0683fc4f11f209099dc5ab0ca09da9 06-May-2011 Axel Dörfler <axeld@pinc-software.de>

* Minor coding style fix.


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


# 829200a090b8a35bc4048c18bd4dbecd3a0fe69f 06-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

rework r41321, check first character to see if string is empty. Thanks Ingo and Axel!

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


# 0974aaee154a6395e1a9d7854cde37c68cc84a6a 06-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

add (slightly overly) cautious checks of battery info to avoid NULL segfault... acpi can be flakey at times

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


# afa7517fc794c1d7fa43be5288591bf64c7cb8e7 05-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

small logic correction, string compare reversed for empty battery slot test

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


# 042aefc4ea641bcabbc17f29ee0a51d2e5a53b80 04-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

small bit of style cleanup; added additional checks to see if a battery was damaged or it is just an empty slot

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


# 3bd54e05be18c72d8a22cae8aa0cd9657ebefb7c 24-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by Mike Roll: i18n PowerStatus. Thanks!


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


# 7974d3dcf39ce78e5885b481eee12e561ad6e096 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


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


# 2e49589d67e70e76c6bdeb91624951ee9b88897e 04-Oct-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

Remove unused includes.

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


# 3e1f071c149ae03a65ab8f6240eb67a86c166ce6 04-Oct-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

Use the new CenterOnScreen function to center the window.

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


# bd767f5a4e51e6fb6ee3d4f81085052dfb6ee11c 11-Aug-2009 Axel Dörfler <axeld@pinc-software.de>

* Worked over the battery look a bit, looks much better now IMO.
* Made the replicant transparent (for background images).
* Fixed many of Clemen's coding style violations.


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


# 08145692162a862016dc9a473b7372e879df9d7a 30-Jul-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

Aside from I locked the wrong (base) class. The problem was more that the driver interface was deleted to early.
Using a Referenceable seems to fix it now.



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


# 8b24b02f060e46f2714889158df0b1535850995d 30-Jul-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

Center the ExtendedInfoWindow on the screen.



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


# b636a0ec0b151a345782f99c529464e85948eda6 21-Jul-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

Make the shown info a little bit more usefull.



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


# e391ec67b76eb39e7ecdb4da2693e1adf19cd0f7 11-Jul-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

- extended info window looks a little bit better now.
- cache the battery status and read it out in the polling thread
- fix time label



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


# 6aed176c0988537d716a89e11130b4253179f607 09-Jul-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

Add a ACPI battery driver interface to the PowerStatus app. If there is anyone with a working APM please test if its still working!
TODO:
- Get along with the Layout engine, the extended info window looks "no very nice".
- Reading the battery status takes too long so put it into a thread or cache it.



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