History log of /haiku/src/preferences/backgrounds/BackgroundImage.cpp
Revision Date Author Comments
# 02ab820d 01-Jul-2015 Philippe Saint-Pierre <stpere@gmail.com>

Backgrounds: FlattenedSize() can be negative (error status)

CID 610928.


# 1af18424 09-Apr-2013 John Scipione <jscipione@gmail.com>

Pass the B_FILTER_BITMAP_BILINEAR for scaling backgrounds

Fixes #6536


# 3c7eaf39 14-Jan-2013 Siarzhuk Zharski <zharik@gmx.li>

Truncate background image name in multibyte-aware way


# b4fdcd5e 13-Jan-2013 Przemysław Buczkowski <przemub@yahoo.pl>

Truncate Background image name to avoid layout problem

Fixes #7406

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>


# 523ce58a 07-Jan-2011 Jérôme Duval <korli@users.berlios.de>

Applied patch from engleek with fix hints from devheart (bug #4720):
Scale to fit now keeps the aspect ratio by cutting horizontally or vertically.


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


# 22727b14 12-Aug-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

CID 1739 : Memory leak on error.


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


# dca191e9 05-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Partial clean-up.

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


# 838eca46 29-Apr-2009 Philippe Saint-Pierre <stpere@gmail.com>

Allows "Icon Label Outline" to be disabled when no background bitmaps are chosen.

It complements r29190 and fixes ticket #2395.



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


# 4fba3522 11-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Removed src/kits/tracker/OpenHashTable.h. The shared version in
headers/private/shared is newer, though with small interface changes.
* Removed the unnecessary Debug.h include in
headers/private/shared/ObjectList.h.
* Adjusted sources using these headers, mostly by adding missing includes.
* Lots of automatic whitespace cleanup.


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


# 269fdeef 13-Jan-2008 Jérôme Duval <korli@users.berlios.de>

style cleanup
whitespace => tab


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


# 5c34aef7 22-Aug-2007 Stephan Aßmus <superstippi@gmx.de>

changed the meaning of the "icon view label background" Tracker setting:
* it is replaced by a "icon view label outline" feature that renders a black
or white outline around the text of a label under an icon. This can be used
for background images that have a lot of contrast and is visually more
pleasing (IMHO) than the text box in the workspace color (but the outline
could of course still be improved as well)
the outline or "false bold width" feature is a new BFont feature in Haiku
* Tracker appeared to have a disabled feature to install default background
images, I enabled this feature and rewrote it a bit to use our big logo
from the artwork folder, the placement is for 800x600, so not optimal for
larger desktops, but at least it is shown by default on new installations
or rather "fresh" images
* changed the way the dotted underline is rendered under links, accidentally,
this fixes the bug that it was not dotted at all since a while, which is
a bug in app_server or BView not tracking the need to update the drawing
pattern in certain situations (this bug needs to be fixed too of course)


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


# bb377cd5 26-Feb-2007 Jérôme Duval <korli@users.berlios.de>

fixing indenting style issues


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


# 69cc7ad6 24-Jan-2007 Axel Dörfler <axeld@pinc-software.de>

Fixed a memory leak and the bug that could result in "pick one" menu fields and a
white desktop preview background: it happened if the attribute containing the data
couldn't be read or unflattened.


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


# 1e7392d7 27-Mar-2006 Jérôme Duval <korli@users.berlios.de>

fixes some bugs with buttons


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


# 47c1e3d9 30-Dec-2005 Axel Dörfler <axeld@pinc-software.de>

* Now writes the background info message as B_MESSAGE_TYPE attribute (instead of 0).
* Better error reporting when writing the attributes.
* Minor cleanup.


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


# cd2d1ffd 29-Dec-2005 Axel Dörfler <axeld@pinc-software.de>

* Renamed BGView to BackgroundsView, etc.
* Moved ImageFilePanel code to its own file, so that it can be reused easily.
* Moved BGWindow stuff into Backgrounds.cpp.
* Cleanup to match our style guide better.


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


# a10cf76e 24-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed src/prefs to "preferences", as the directory is usually called in BeOS.


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


# 02ab820d0e26d680b9d158024b1cde1bc5ded6c0 01-Jul-2015 Philippe Saint-Pierre <stpere@gmail.com>

Backgrounds: FlattenedSize() can be negative (error status)

CID 610928.


# 1af184248aab63340053eda6494e42cd5f2435e2 09-Apr-2013 John Scipione <jscipione@gmail.com>

Pass the B_FILTER_BITMAP_BILINEAR for scaling backgrounds

Fixes #6536


# 3c7eaf396cc792b8bea0955301ee11afb5a8bafd 14-Jan-2013 Siarzhuk Zharski <zharik@gmx.li>

Truncate background image name in multibyte-aware way


# b4fdcd5e54b23457ac79118fd629d2ac4c3a8cdb 13-Jan-2013 Przemysław Buczkowski <przemub@yahoo.pl>

Truncate Background image name to avoid layout problem

Fixes #7406

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>


# 523ce58a8f775840e214534f41019070425e4ee2 07-Jan-2011 Jérôme Duval <korli@users.berlios.de>

Applied patch from engleek with fix hints from devheart (bug #4720):
Scale to fit now keeps the aspect ratio by cutting horizontally or vertically.


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


# 22727b149d552c737434dfe3986eeb14d8981e2b 12-Aug-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

CID 1739 : Memory leak on error.


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


# dca191e9b75fa7c5d70177042a7bc29983e93836 05-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Partial clean-up.

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


# 838eca46655915dc1f9fdea896792c7cf2b6b5a8 29-Apr-2009 Philippe Saint-Pierre <stpere@gmail.com>

Allows "Icon Label Outline" to be disabled when no background bitmaps are chosen.

It complements r29190 and fixes ticket #2395.



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


# 4fba3522e02906506b6c713ef5b57d72e9458fef 11-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Removed src/kits/tracker/OpenHashTable.h. The shared version in
headers/private/shared is newer, though with small interface changes.
* Removed the unnecessary Debug.h include in
headers/private/shared/ObjectList.h.
* Adjusted sources using these headers, mostly by adding missing includes.
* Lots of automatic whitespace cleanup.


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


# 269fdeefff71dbb13136f7404d612ed2e4284131 13-Jan-2008 Jérôme Duval <korli@users.berlios.de>

style cleanup
whitespace => tab


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


# 5c34aef797c60839b66395519c53b39291dc35c7 22-Aug-2007 Stephan Aßmus <superstippi@gmx.de>

changed the meaning of the "icon view label background" Tracker setting:
* it is replaced by a "icon view label outline" feature that renders a black
or white outline around the text of a label under an icon. This can be used
for background images that have a lot of contrast and is visually more
pleasing (IMHO) than the text box in the workspace color (but the outline
could of course still be improved as well)
the outline or "false bold width" feature is a new BFont feature in Haiku
* Tracker appeared to have a disabled feature to install default background
images, I enabled this feature and rewrote it a bit to use our big logo
from the artwork folder, the placement is for 800x600, so not optimal for
larger desktops, but at least it is shown by default on new installations
or rather "fresh" images
* changed the way the dotted underline is rendered under links, accidentally,
this fixes the bug that it was not dotted at all since a while, which is
a bug in app_server or BView not tracking the need to update the drawing
pattern in certain situations (this bug needs to be fixed too of course)


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


# bb377cd514b55c8230edae50687da627de3aff22 26-Feb-2007 Jérôme Duval <korli@users.berlios.de>

fixing indenting style issues


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


# 69cc7ad64017e3e5398cda93ad0f32f4dd43ccf1 24-Jan-2007 Axel Dörfler <axeld@pinc-software.de>

Fixed a memory leak and the bug that could result in "pick one" menu fields and a
white desktop preview background: it happened if the attribute containing the data
couldn't be read or unflattened.


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


# 1e7392d78beedc290006ba9e9e224f8d922c37f6 27-Mar-2006 Jérôme Duval <korli@users.berlios.de>

fixes some bugs with buttons


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


# 47c1e3d9a9bb1cd9bba212406de50eb20ce04e90 30-Dec-2005 Axel Dörfler <axeld@pinc-software.de>

* Now writes the background info message as B_MESSAGE_TYPE attribute (instead of 0).
* Better error reporting when writing the attributes.
* Minor cleanup.


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


# cd2d1ffddaf52a626186ee4b15320e9415fe5d0b 29-Dec-2005 Axel Dörfler <axeld@pinc-software.de>

* Renamed BGView to BackgroundsView, etc.
* Moved ImageFilePanel code to its own file, so that it can be reused easily.
* Moved BGWindow stuff into Backgrounds.cpp.
* Cleanup to match our style guide better.


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


# a10cf76ef5b9e8c726ebc47183abd6943023cf8f 24-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed src/prefs to "preferences", as the directory is usually called in BeOS.


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