History log of /haiku/src/preferences/backgrounds/BackgroundsView.h
Revision Date Author Comments
# 92db1990 13-May-2020 Adrien Destugues <pulkomandy@pulkomandy.tk>

Backgrounds: style fixes.

Change-Id: Id032524dc7278f843ce4fcd6132e273088d2256e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2693
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 3d86db17 04-Jun-2018 David Murphy <murphman@gmail.com>

Backgrounds preflet limited to 10 recent folders

Added recent folder limit as class member but
defaulted the value to 10.
Stopped using index to keep track of selected
path and folder menu item. Instead use BMessage to send
clicked folder path to the folder bg image loader.

Change-Id: I6b1809ff782db839ef43eb7169a7f6e77fb4ec70
Fixes #5026


# b8a61399 08-Feb-2017 Brian Hill <supernova@warpmail.net>

Fix glitch in Screen prefs when changing background color.

When both Backgrounds and Screen are open, if the workspace color is changed
in Backgrounds the monitor preview in Screen will now refresh to the new color.

Also added a BAlert in BackgroundsView.cpp when failing to change the
background image.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #13286.


# 0a669f8c 29-Dec-2013 John Scipione <jscipione@gmail.com>

Backgrounds: style fixes only

* Update copyright headers
* Fill in pragmas
* Eliminate superfluous B_USE_DEFAULT_SPACING, 80 char limit too
* rename msg variable to message


# 2f5349a4 31-May-2013 John Scipione <jscipione@gmail.com>

Revert "Backgrounds: Resize menu fields to preferred width."

This reverts commit 19d9ad49ae52b561d8600ee27c73e9352d2f37b9.


# 7b03c0ce 30-May-2013 John Scipione <jscipione@gmail.com>

Backgrounds: Use font relative spacing and adjust insets

BBox's now line up.

Once again set the top inset of the BBox that forms the main
backgrounds view to 0. This should probably be converted to
a BView...


# 19d9ad49 30-May-2013 John Scipione <jscipione@gmail.com>

Backgrounds: Resize menu fields to preferred width.

Also a few other related changes:
* Update the copyright year in header and add my name.
* Use font aware spacing units in layout constructor.
* Align the fIconLabelOutline check box with the menu fields
instead of the menu field labels.


# 4d9b54c1 29-Oct-2011 Oliver Tappe <zooey@hirschkaefer.de>

Some cleanup in Backround preflet:
* rename a couple of members for imroved clarity
* adjust formatting in header

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


# df9bb1df 06-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Reworked, as suggested by stippi, to avoid keeping cursors instances of system ones.


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


# faff258d 06-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Use system grab/grabbing cursors.
Fix #6549.


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


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

Partial clean-up.

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


# eb32e334 04-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Opening Backgrounds on/in a folder was broken, now fixed. Layout-rewrite of parts of the GUI. Rewrote the monitor drawing to fit the layout, for better or worse. Clean-up will follow.

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


# 91147eef 30-Aug-2009 Jonas Sundström <jonas@kirilla.com>

Solve #4336 as suggested by Fredrik Modèen, using shared private code as suggested by Ryan Leavengood. Removed ProcessRefs code path.

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


# b10b8f90 27-Apr-2009 Philippe Saint-Pierre <stpere@gmail.com>

Preserve Aspect Ratio of Preview in Backgrounds preflet (applies to Widescreen displays).


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


# 0a9c7fa8 23-Jan-2007 Axel Dörfler <axeld@pinc-software.de>

* Made the whole thing a bit more font sensitive - looks more or less good with an
18pt font, now.
* Added a few TODO items.


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


# a60f5e9c 06-Jun-2006 Jérôme Duval <korli@users.berlios.de>

useless includes


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


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

BFilePanel::Show() is now virtual, so my previous change didn't work -
ImageFilePanel::Show() must be called explicetely.


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


# 0a669f8cd8c354dfe1b4c9553454543e36ea9d0b 29-Dec-2013 John Scipione <jscipione@gmail.com>

Backgrounds: style fixes only

* Update copyright headers
* Fill in pragmas
* Eliminate superfluous B_USE_DEFAULT_SPACING, 80 char limit too
* rename msg variable to message


# 2f5349a40af16c4144dc0f289122fe9fbf6bdb0d 31-May-2013 John Scipione <jscipione@gmail.com>

Revert "Backgrounds: Resize menu fields to preferred width."

This reverts commit 19d9ad49ae52b561d8600ee27c73e9352d2f37b9.


# 7b03c0ce313bf24d0bd0c32f0efceb85af6747eb 30-May-2013 John Scipione <jscipione@gmail.com>

Backgrounds: Use font relative spacing and adjust insets

BBox's now line up.

Once again set the top inset of the BBox that forms the main
backgrounds view to 0. This should probably be converted to
a BView...


# 19d9ad49ae52b561d8600ee27c73e9352d2f37b9 30-May-2013 John Scipione <jscipione@gmail.com>

Backgrounds: Resize menu fields to preferred width.

Also a few other related changes:
* Update the copyright year in header and add my name.
* Use font aware spacing units in layout constructor.
* Align the fIconLabelOutline check box with the menu fields
instead of the menu field labels.


# 4d9b54c1759730155ec4511cf68144f7300eb710 29-Oct-2011 Oliver Tappe <zooey@hirschkaefer.de>

Some cleanup in Backround preflet:
* rename a couple of members for imroved clarity
* adjust formatting in header

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


# df9bb1df9717c8e30b626951b809a357a7177177 06-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Reworked, as suggested by stippi, to avoid keeping cursors instances of system ones.


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


# faff258d9a6f1808c4cb8784b660c6f4e0efc668 06-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Use system grab/grabbing cursors.
Fix #6549.


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


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

Partial clean-up.

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


# eb32e334f8685bc2f404e7e9dc5b37545e6e15f5 04-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Opening Backgrounds on/in a folder was broken, now fixed. Layout-rewrite of parts of the GUI. Rewrote the monitor drawing to fit the layout, for better or worse. Clean-up will follow.

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


# 91147eefd09df0f0b90f7e15ebe2e2a738ddd746 30-Aug-2009 Jonas Sundström <jonas@kirilla.com>

Solve #4336 as suggested by Fredrik Modèen, using shared private code as suggested by Ryan Leavengood. Removed ProcessRefs code path.

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


# b10b8f90cbee8c91b96b7b2ca8709e664e8f0a67 27-Apr-2009 Philippe Saint-Pierre <stpere@gmail.com>

Preserve Aspect Ratio of Preview in Backgrounds preflet (applies to Widescreen displays).


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


# 0a9c7fa8eb10ed55ddf899abf625ddc3b24f4b68 23-Jan-2007 Axel Dörfler <axeld@pinc-software.de>

* Made the whole thing a bit more font sensitive - looks more or less good with an
18pt font, now.
* Added a few TODO items.


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


# a60f5e9c2e590746cc9a6a4677d17b5838d111bf 06-Jun-2006 Jérôme Duval <korli@users.berlios.de>

useless includes


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


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

BFilePanel::Show() is now virtual, so my previous change didn't work -
ImageFilePanel::Show() must be called explicetely.


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