History log of /haiku/src/bin/desklink/desklink.cpp
Revision Date Author Comments
# a162e7af 30-Jan-2024 Augustin Cavalier <waddlesplash@gmail.com>

desklink: Size custom items based on Deskbar's current icon size.

Fixes #18757.


# 8f3508d9 26-Aug-2022 Augustin Cavalier <waddlesplash@gmail.com>

desklink: Make use of BControlLook::ComposeIconSize().

Fixes #16370.


# 4626c49e 27-Mar-2014 Jonathan Schleifer <js@webkeks.org>

desklink: Fix %ld being used instead of B_PRId32

Also enables -Werror.


# 9579b1a3 13-May-2010 Stephan Aßmus <superstippi@gmx.de>

Added missing command line options to help text.


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


# 686c8933 03-Feb-2010 Philippe Saint-Pierre <stpere@gmail.com>

desklink: --list fixes
* Don't assume that ids to be contiguous (and to start at 0).
* Use the executable's name as the replicant view name (to ease its identification and removal)

Fixes ticket #5354.


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


# ab987355 08-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Restructured the sources a bit, renamed SliderView to VolumeControl,
VolumeSlider to VolumeWindow.
* The VolumeControl is now a replicant, and be be dragged to the Tracker.
* Hence, moved all volume control stuff from VolumeWindow into the
VolumeControl class directly.
* Changed menu a bit. Note that controlling the physical output currently
does not work, but that's a problem of the media node in question (probably
the multi audio add-on, I'll have a look).
* Added a small delay when clicking on the slider directly before the window
is hidden, so that you'll get some feedback of your action.
* Added --add-volume, and --volume-control options to "desklink", the former
adds the volume control icon to the deskbar, the latter opens the volume
control window directly.
* Further cleanup.


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


# b494a17f 07-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Replaced the volume slider with one looking just like any other slider.
* This is still work in progress, though.


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


# aea67929 09-Nov-2008 Jérôme Duval <korli@users.berlios.de>

Scrolling up/down above Volume Control in deskbar's shelf now changes volume (bug #2323).


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


# 31ae3d07 12-May-2008 Jérôme Duval <korli@users.berlios.de>

Patch from Kaoutsis (I change a few things, like method names, introduced a private method for alerting, and the about menu item label).
* the usual find_directory() fix
* added a 'About...' menu item to the pop up menu. It uses the asynchronous Go() version (with the NULL argument); The synchronous version ate all the cpu, and don't know
if that's a bug, since the alert was inside the MessageReceived() loop.


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


# 2c02680d 07-Jul-2007 Jonas Sundström <jonas@kirilla.com>

Allow removing any Deskbar replicants, by name.

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


# 7a3f6f9a 05-Jul-2007 Jonas Sundström <jonas@kirilla.com>

code style fixes

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


# fd8b35c8 04-Jul-2007 Jonas Sundström <jonas@kirilla.com>

Allow application signature as argument. If target has a replicant (e.g. ProcessController) give that precedence over desklink replicant.

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


# a35335bf 04-Jul-2007 Jonas Sundström <jonas@kirilla.com>

More readable use of the BDeskbar API when removing desklink replicants. Clean ups.

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


# 4be1917d 30-Jun-2007 Jonas Sundström <jonas@kirilla.com>

Authors in chronological order >> Authors

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


# 677a72ed 29-Jun-2007 Jonas Sundström <jonas@kirilla.com>

Updated copyright years. Removed hardcoding of view color. Removed BDragger. Made desklink items use 32-bit icons, drawn with transparency. Made settings file name match the new app signature. Renamed volume replicant's menu items Media/Sound "settings" to "preferences". Made --help actually helpful. Replaced old style copyright header in iconfile.h.

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


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

* Cleanup of signatures and version infos - this is part of a fix to bug #909.
I've done all preferences apps for now, and some related.
* Some other related cleanup.


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


# bb55c479 18-Apr-2006 Jérôme Duval <korli@users.berlios.de>

B_COLOR_8_BIT is deprecated


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


# 17049c45 18-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Moved bin/ directory out of apps/.


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


# 4626c49e32af4a2a321090703506c8cf7440bf41 27-Mar-2014 Jonathan Schleifer <js@webkeks.org>

desklink: Fix %ld being used instead of B_PRId32

Also enables -Werror.


# 9579b1a3eb2df86bf2825b2ff0f7894155fa91ad 13-May-2010 Stephan Aßmus <superstippi@gmx.de>

Added missing command line options to help text.


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


# 686c893326fcee4845a6ddc0757794bdf1fb35a6 03-Feb-2010 Philippe Saint-Pierre <stpere@gmail.com>

desklink: --list fixes
* Don't assume that ids to be contiguous (and to start at 0).
* Use the executable's name as the replicant view name (to ease its identification and removal)

Fixes ticket #5354.


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


# ab9873555a6d8ba5ee85bb5e3163780cf44458a3 08-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Restructured the sources a bit, renamed SliderView to VolumeControl,
VolumeSlider to VolumeWindow.
* The VolumeControl is now a replicant, and be be dragged to the Tracker.
* Hence, moved all volume control stuff from VolumeWindow into the
VolumeControl class directly.
* Changed menu a bit. Note that controlling the physical output currently
does not work, but that's a problem of the media node in question (probably
the multi audio add-on, I'll have a look).
* Added a small delay when clicking on the slider directly before the window
is hidden, so that you'll get some feedback of your action.
* Added --add-volume, and --volume-control options to "desklink", the former
adds the volume control icon to the deskbar, the latter opens the volume
control window directly.
* Further cleanup.


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


# b494a17f1ca6a3bb2207722aab58ec528cdad525 07-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Replaced the volume slider with one looking just like any other slider.
* This is still work in progress, though.


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


# aea679297619b4dcf3bc6b3fa5abbbb1dba9ba56 09-Nov-2008 Jérôme Duval <korli@users.berlios.de>

Scrolling up/down above Volume Control in deskbar's shelf now changes volume (bug #2323).


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


# 31ae3d0741b31e7a8269cc25f35e392308479290 12-May-2008 Jérôme Duval <korli@users.berlios.de>

Patch from Kaoutsis (I change a few things, like method names, introduced a private method for alerting, and the about menu item label).
* the usual find_directory() fix
* added a 'About...' menu item to the pop up menu. It uses the asynchronous Go() version (with the NULL argument); The synchronous version ate all the cpu, and don't know
if that's a bug, since the alert was inside the MessageReceived() loop.


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


# 2c02680d03afb82572d731ec867244be91fdbeaa 07-Jul-2007 Jonas Sundström <jonas@kirilla.com>

Allow removing any Deskbar replicants, by name.

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


# 7a3f6f9a07f0f2c17dfd7a307642c809bb9d2630 05-Jul-2007 Jonas Sundström <jonas@kirilla.com>

code style fixes

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


# fd8b35c86b4dd3b5cb090dbb3c8318f7711148fb 04-Jul-2007 Jonas Sundström <jonas@kirilla.com>

Allow application signature as argument. If target has a replicant (e.g. ProcessController) give that precedence over desklink replicant.

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


# a35335bf274eb226db1e3c7ea5662ebedc982ecf 04-Jul-2007 Jonas Sundström <jonas@kirilla.com>

More readable use of the BDeskbar API when removing desklink replicants. Clean ups.

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


# 4be1917ddae0822f59763e0adc5c20a6623b6f21 30-Jun-2007 Jonas Sundström <jonas@kirilla.com>

Authors in chronological order >> Authors

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


# 677a72ede13f626cb84c7440c66809a03523a80a 29-Jun-2007 Jonas Sundström <jonas@kirilla.com>

Updated copyright years. Removed hardcoding of view color. Removed BDragger. Made desklink items use 32-bit icons, drawn with transparency. Made settings file name match the new app signature. Renamed volume replicant's menu items Media/Sound "settings" to "preferences". Made --help actually helpful. Replaced old style copyright header in iconfile.h.

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


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

* Cleanup of signatures and version infos - this is part of a fix to bug #909.
I've done all preferences apps for now, and some related.
* Some other related cleanup.


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


# bb55c479b8f19f8c7711d8cb7f886ab47d046fb3 18-Apr-2006 Jérôme Duval <korli@users.berlios.de>

B_COLOR_8_BIT is deprecated


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


# 17049c451a91f427aec94b944b75876b611103e7 18-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Moved bin/ directory out of apps/.


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