History log of /haiku-fatelf/src/apps/magnify/Magnify.cpp
Revision Date Author Comments
# b292f693 06-Aug-2012 Philippe Houdoin <philippe.houdoin@gmail.com>

Fix typo, spotted by ttcoder. Thanks.


# 477a6b7b 02-Aug-2012 Ryan Leavengood <leavengood@gmail.com>

What if Magnify displayed a hex color instead of a useless index?

Well now it does.

The code needs much more love, but I fixed the coding violations in this code I
touched.


# 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.


# 11c7ff53 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Removing most About windows and menu items as discussed here
http://www.freelists.org/post/haiku-commits/r40968-in-haikutrunksrcapps-activitymonitor-bootmanager-charactermap-codycam-deskbar,3
Leaving them for now in replicants, and in Terminal, according to (my interpretation of) the instructions here
http://dev.haiku-os.org/browser/haiku/trunk/src/apps/terminal/README.GPL_to_OBOS#L70
Some sporadic cleanup.

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


# 560ff447 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again.

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


# b97c5149 15-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Making use of B_TRANSLATE_APP_NAME, BAboutMenuItem, BAboutWindow. Clean-up. Removal of some ellipsis. ('About Haiku' in Deskbar.)

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


# d462be11 29-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by dziadek: localize Magnify


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


# def864c0 15-Aug-2010 François Revol <revol@free.fr>

Fix some blatantly missing uses of ui_color(), but there is a lot of work to do here... BControlLook itself doesn't even respect those correctly either...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38121 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


# 941098a2 30-Sep-2009 Jonas Sundström <jonas@kirilla.com>

Standardizing on BWindow::CenterOnScreen()

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


# 57c3ecad 23-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Fixed warning.
* Fixed creation of settings file. The second creat() parameter specifies the
permission, not the open mode.


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


# 7e359a9b 22-Jan-2009 Michael Lotz <mmlr@mlotz.ch>

Having the first argument to main() non-int is an error in GCC 4.3.

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


# 65b27c0e 21-Oct-2008 Maurice Kalinowski <mauricek@nowhere.fake>

- Add option to stick Magnify to a certain coordinate.
- Keep updating on this area
- Fixes #2831



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


# 5ac3a15e 02-Oct-2008 Karsten Heimrich <host.haiku@gmx.de>

* build fix...



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


# eba8ea5e 02-Oct-2008 Karsten Heimrich <host.haiku@gmx.de>

* fix mem leak



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


# dcddeb4c 11-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* Bug #264 appeared again after I removed the disabled programmatically resize during user resize.

Obviously we ported the bug over from BeOS, during the FrameResized call the preferred size of
the window was calculated based on the current size of the window, calculating the same size
FrameResized reported. Thus resulting in trying to resize it to the same size ending in an loop.
It seems they worked arround the oversight using the outline resize thing.



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


# dc687950 11-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* automatic whitespace cleanup



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


# a1e3e17d 30-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

* Added 24-bit mode support.
* This fixes bug #2182.


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


# f566ae59 27-Feb-2008 Michael Lotz <mmlr@mlotz.ch>

The fNeedToUpdate member was not initilized which caused the initial creation
of the image to be skipped. Magnify therefore showed a white frame as long as
the area around the cursor would not change. Fixes bug #598 (again). I wonder
why this didn't show up earlier though.

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


# a988990d 24-May-2007 Axel Dörfler <axeld@pinc-software.de>

Another patch by Jonas Sundstrom to make use of B_UTF8_ELLIPSIS where appropriate.
This was also part of ticket #1212.


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


# 1f8b22ef 22-Oct-2006 Axel Dörfler <axeld@pinc-software.de>

Fixed some more application signatures and version info, and made them all consistent.


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


# c0c04085 03-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

* Replaced direct Draw() calls with calls to Invalidate().
* Some more cleanup.


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


# 16466e8a 30-May-2006 Axel Dörfler <axeld@pinc-software.de>

Cleanup.


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


# b292f6936a62f86a0e4979258a21a1f4636a64b9 06-Aug-2012 Philippe Houdoin <philippe.houdoin@gmail.com>

Fix typo, spotted by ttcoder. Thanks.


# 477a6b7bfb793e1f9842907cc47bcb7213ea8840 02-Aug-2012 Ryan Leavengood <leavengood@gmail.com>

What if Magnify displayed a hex color instead of a useless index?

Well now it does.

The code needs much more love, but I fixed the coding violations in this code I
touched.


# 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.


# 11c7ff531a01b64773d8a8f0e02c1c7c9f27ca29 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Removing most About windows and menu items as discussed here
http://www.freelists.org/post/haiku-commits/r40968-in-haikutrunksrcapps-activitymonitor-bootmanager-charactermap-codycam-deskbar,3
Leaving them for now in replicants, and in Terminal, according to (my interpretation of) the instructions here
http://dev.haiku-os.org/browser/haiku/trunk/src/apps/terminal/README.GPL_to_OBOS#L70
Some sporadic cleanup.

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


# 560ff4478d5c85455ea3e5ed5e392ef93132d545 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again.

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


# b97c51490af2a4e3a20d6baf7d31e59b63924e99 15-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Making use of B_TRANSLATE_APP_NAME, BAboutMenuItem, BAboutWindow. Clean-up. Removal of some ellipsis. ('About Haiku' in Deskbar.)

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


# d462be11574beb41832813067e221b1cea62be4d 29-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by dziadek: localize Magnify


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


# def864c05dd5518c1c13e7d9e0da5e04d696b4aa 15-Aug-2010 François Revol <revol@free.fr>

Fix some blatantly missing uses of ui_color(), but there is a lot of work to do here... BControlLook itself doesn't even respect those correctly either...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38121 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


# 941098a211584bfa09f746d32e2d9a267b07e638 30-Sep-2009 Jonas Sundström <jonas@kirilla.com>

Standardizing on BWindow::CenterOnScreen()

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


# 57c3ecadb85f7995aecf6666c47e2c0036f1d9f6 23-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Fixed warning.
* Fixed creation of settings file. The second creat() parameter specifies the
permission, not the open mode.


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


# 7e359a9b53ad26fe9e41023a3d8c22cea04c750b 22-Jan-2009 Michael Lotz <mmlr@mlotz.ch>

Having the first argument to main() non-int is an error in GCC 4.3.

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


# 65b27c0e438acc4bcb64978b077a1a11b816d1c2 21-Oct-2008 Maurice Kalinowski <mauricek@nowhere.fake>

- Add option to stick Magnify to a certain coordinate.
- Keep updating on this area
- Fixes #2831



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


# 5ac3a15ece5e938f9711b4250adfa0dc9ad59e42 02-Oct-2008 Karsten Heimrich <host.haiku@gmx.de>

* build fix...



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


# eba8ea5eb27b97218f8df9f28601ad9fe116932f 02-Oct-2008 Karsten Heimrich <host.haiku@gmx.de>

* fix mem leak



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


# dcddeb4c1c988c532fd5443c482fe55dc44173a2 11-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* Bug #264 appeared again after I removed the disabled programmatically resize during user resize.

Obviously we ported the bug over from BeOS, during the FrameResized call the preferred size of
the window was calculated based on the current size of the window, calculating the same size
FrameResized reported. Thus resulting in trying to resize it to the same size ending in an loop.
It seems they worked arround the oversight using the outline resize thing.



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


# dc68795074faf0b30cad79e70ebfd617ebe57c63 11-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* automatic whitespace cleanup



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


# a1e3e17d355b75b1d6c34c1a66beeb92925f0b94 30-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

* Added 24-bit mode support.
* This fixes bug #2182.


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


# f566ae596d50bb9219e5fe1c3bc5d052b967ad9c 27-Feb-2008 Michael Lotz <mmlr@mlotz.ch>

The fNeedToUpdate member was not initilized which caused the initial creation
of the image to be skipped. Magnify therefore showed a white frame as long as
the area around the cursor would not change. Fixes bug #598 (again). I wonder
why this didn't show up earlier though.

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


# a988990db4d85bd8c611e180d9bf0e28b9c7fe68 24-May-2007 Axel Dörfler <axeld@pinc-software.de>

Another patch by Jonas Sundstrom to make use of B_UTF8_ELLIPSIS where appropriate.
This was also part of ticket #1212.


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


# 1f8b22ef227c0ee004bdfc60e5a753e48e716258 22-Oct-2006 Axel Dörfler <axeld@pinc-software.de>

Fixed some more application signatures and version info, and made them all consistent.


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


# c0c04085baa83538fcaf86f932e86cf98322db0f 03-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

* Replaced direct Draw() calls with calls to Invalidate().
* Some more cleanup.


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


# 16466e8a73065e007d0c5f4d1a4c4144fec164b9 30-May-2006 Axel Dörfler <axeld@pinc-software.de>

Cleanup.


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