History log of /haiku/src/preferences/backgrounds/Backgrounds.cpp
Revision Date Author Comments
# 1ad18684 04-Jun-2015 Janus <janus2@ymail.com>

Background: avoid 100% CPU usage

* There was an infinite exchange of messages between
the main window and the BackgroundView.
* Fixes #11996.


# 27c555cb 30-Dec-2014 Markus Himmel <markus@himmel-villmar.de>

Fix #8881: Add color drops to Backgrounds

- The Backgrounds preferences app will now accept color drops.
- The Backgrounds app will update if a color drop to the desktop
has changed its color due to a direct color drop

Signed-off-by: Jerome Duval <jerome.duval@gmail.com>


# 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


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


# 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


# d374a272 16-Mar-2011 Jonas Sundström <jonas@kirilla.com>

App name localization.

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


# be8fa2fb 02-Jul-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Update all applications in tree to use the new localizing system
* Remove the old one from the locale librairy, with some cleanup
Known regressions :
* readonlybootprompt will no longer update the locale settings : the
method used messed with internal undocumented things
* external localized apps (webpositive for example) will not run
anymore.


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


# 07f82a07 28-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Adding missing #undef B_TRANSLATE_CONTEXT

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


# 4eb0cbb0 07-May-2010 Matt Madia <mattmadia@gmail.com>

Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.


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


# ea8a1f58 06-May-2010 Matt Madia <mattmadia@gmail.com>

Updated to use B_TRANSLATE* macros. relates to #5408.

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


# 306bee96 09-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Call be_locale->GetAppCatalog() after creation of the application and before creation of the window. Should not crash anymore.

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


# c93e2c43 09-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Localization. I believe it to be correct but for some reason Backgrounds crashes on startup. Enjoy\!

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


# 763bb428 07-Nov-2009 Rene Gollent <anevilyak@gmail.com>

Fix build.



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


# 529ff59f 07-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Activate already showing, possibly unfocused window if Backgrounds gets launched while already running. Small clean-up.

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


# 75c92c56 18-Aug-2009 Ryan Leavengood <leavengood@gmail.com>

Updating some Preferences MIME signatures.


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


# 34e1987b 15-Aug-2009 Philippe Saint-Pierre <stpere@gmail.com>

Backgrounds Preflet : Fix the build


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


# 0a74004c 15-Aug-2009 Ryan Leavengood <leavengood@gmail.com>

- Added back code for scrolling with the cursor keys, this time only when Shift
is pressed.

- Took Humdinger's excellent advice from #4190 to open the Backgrounds
preferences from ShowImage instead of setting the background manually. This
required some tweaks to the Backgrounds preferences to accept RefsReceived in
the application and forward that to the view. In addition the placement is
set to scaled since otherwise it will keep the old placement. How this is
done is sort of hacky, but I'm going to call it an "internal protocol." This
also allowed me to remove the BackgroundImage code from ShowImage which was
just copied from Tracker (yuck.)


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


# dbf2630a 19-Apr-2008 Karsten Heimrich <host.haiku@gmx.de>

* resolved ticket #1880
* implemented center on first start
* removed TODO's as they where partly implemented



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


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

* Changed the signature of "Backgrounds" to follow how those signatures
are supposed to look like.
* Fixed Screen to have the correct signature for Backgrounds (had the
one from Be before).


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


# 1ad18684bbc5420a8251493e0407ac7cfb55c6f4 04-Jun-2015 Janus <janus2@ymail.com>

Background: avoid 100% CPU usage

* There was an infinite exchange of messages between
the main window and the BackgroundView.
* Fixes #11996.


# 27c555cb7bae26866cdb31f45dd38cea843c3b7d 30-Dec-2014 Markus Himmel <markus@himmel-villmar.de>

Fix #8881: Add color drops to Backgrounds

- The Backgrounds preferences app will now accept color drops.
- The Backgrounds app will update if a color drop to the desktop
has changed its color due to a direct color drop

Signed-off-by: Jerome Duval <jerome.duval@gmail.com>


# 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


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


# 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


# d374a27286b8a52974a97dba0d5966ea026a665d 16-Mar-2011 Jonas Sundström <jonas@kirilla.com>

App name localization.

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


# be8fa2fb3088ab1921612b60f352dd9334b40b3d 02-Jul-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Update all applications in tree to use the new localizing system
* Remove the old one from the locale librairy, with some cleanup
Known regressions :
* readonlybootprompt will no longer update the locale settings : the
method used messed with internal undocumented things
* external localized apps (webpositive for example) will not run
anymore.


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


# 07f82a07cdf1e3708ad7b2e957053b0b4b147e67 28-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Adding missing #undef B_TRANSLATE_CONTEXT

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


# 4eb0cbb044cf538f18c0d252934a5bcaa33bfd34 07-May-2010 Matt Madia <mattmadia@gmail.com>

Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.


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


# ea8a1f58047c231e4f3df22f0086b3b31b407dc7 06-May-2010 Matt Madia <mattmadia@gmail.com>

Updated to use B_TRANSLATE* macros. relates to #5408.

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


# 306bee96bea8ac4e88c5c32629d723a647c34e19 09-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Call be_locale->GetAppCatalog() after creation of the application and before creation of the window. Should not crash anymore.

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


# c93e2c436d53148c0b38fd39449a2fd449cb47f1 09-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Localization. I believe it to be correct but for some reason Backgrounds crashes on startup. Enjoy\!

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


# 763bb42897e805aad11d840a3ae60609eb2e66e4 07-Nov-2009 Rene Gollent <anevilyak@gmail.com>

Fix build.



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


# 529ff59fed888b9885c93a36068b2c3852e6cca6 07-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Activate already showing, possibly unfocused window if Backgrounds gets launched while already running. Small clean-up.

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


# 75c92c56f6c1b7fc5252f2b424679cea445c49e0 18-Aug-2009 Ryan Leavengood <leavengood@gmail.com>

Updating some Preferences MIME signatures.


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


# 34e1987b61a540ea2fa272bcf967f2e0e192618c 15-Aug-2009 Philippe Saint-Pierre <stpere@gmail.com>

Backgrounds Preflet : Fix the build


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


# 0a74004c6e4f9d9fb2040b63a6ab913820966f1f 15-Aug-2009 Ryan Leavengood <leavengood@gmail.com>

- Added back code for scrolling with the cursor keys, this time only when Shift
is pressed.

- Took Humdinger's excellent advice from #4190 to open the Backgrounds
preferences from ShowImage instead of setting the background manually. This
required some tweaks to the Backgrounds preferences to accept RefsReceived in
the application and forward that to the view. In addition the placement is
set to scaled since otherwise it will keep the old placement. How this is
done is sort of hacky, but I'm going to call it an "internal protocol." This
also allowed me to remove the BackgroundImage code from ShowImage which was
just copied from Tracker (yuck.)


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


# dbf2630af2d2f23217876b38b9fdb98e5dc382e8 19-Apr-2008 Karsten Heimrich <host.haiku@gmx.de>

* resolved ticket #1880
* implemented center on first start
* removed TODO's as they where partly implemented



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


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

* Changed the signature of "Backgrounds" to follow how those signatures
are supposed to look like.
* Fixed Screen to have the correct signature for Backgrounds (had the
one from Be before).


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