History log of /haiku/src/apps/screenshot/Screenshot.h
Revision Date Author Comments
# cc946437 30-Jan-2014 Axel Dörfler <axeld@pinc-software.de>

Screenshot: fixed alpha channel handling.

* Screenshot always used B_RGBA32 color space, but did not care about the
alpha channel at all. Now it only uses that space when "includeBorder"
is used.
* Utility::_MakeTabSpaceTransparent() now also makes sure that the rest
of the bitmap has the correct alpha channel set. This fixes bug #10491.
* Minor cleanup.


# 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


# 0c9f5a02 25-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

* Modified PtrScr key behaviour:
- No modifiers: take a screenshot with zero delay and launch the GUI
- Shift-PrtScr: Silent screenshot using the saved GUI settings
- Ctrl-PrtScr: Take a screenshot using the saved GUI settings and copy the
screenshot to the system clipboard
* A few locale related changes (I am not sure how this works when a class is
shared between two applications, I hope I got everything right)



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


# 2ec6b3cf 05-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Screenshot application enhancements:
- Remove the options panel, and the "-o, --options" switch, put all options
inside the main panel as discussed in ticket #3831.
- Add a "Copy to clipboard" button, as discussed in ticket #3831.
- Add a "-c, --clipboard" switch to quickly copy a screenshot to the clipboard
without launching the GUI.
- All settings apply directly to the current schreenshot as well as new
Screenshots, as discussed in ticket #4100.
- Separate executables for the CLI (Screenshot) and GUI (ScreenshotApp).
When "Screenshot" is launched it runs in the background, and launches the
GUI (if not run with the -s or -c switch) before quiting itself. When a new
screenshot is requested through the ScreenshotApp GUI interface,
ScreenshotApp launches Screenshot before quiting itself, after which
Screenshot re-launches ScreenshotApp. This fixes ticket #4100.
Note that because of this change the deskbar entry will show "ScreenshotApp"
and not "Screenshot" as might be expected. I am not sure if this is a
problem.
- Fixed the code that determines the active window because it was just finding
the top most window. This change fixes tickets #3112, #4878, and #4423.
- Hide the cursor by calling BApplication::HideCursor().
This fixes ticket #2988 (but *not* #2997).


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


# c9ec9c72 19-Apr-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by augiedoggie: Remove the hardcoded translator_id values from Screenshot.
Fixes ticket #5733. Thanks a lot! (Note: small coding style fixes by myself,
so expect merge conflicts.)


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


# e5b2296d 18-Feb-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Localization of Screenshot app, done by mt. Thanks !


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


# 689b99a7 19-Nov-2009 Fredrik Modeen <fredrik@modeen.se>

Additional CLI parameters for Screeshot (Ticket #3816) and some cleanup (I hope), using Translator kit now instead of own PNG when using CLI. More changes will follow.

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


# ef52eb17 30-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* make sure we close the app on ESCAPE
* do not launch a second window in case of RefsReceived



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


# a75264d3 17-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* small screenshot app that was once discussed
* misses a proper icon and does not save atm...



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


# cc9464372450658c8cb898b2f8b3b91fbd3a0834 30-Jan-2014 Axel Dörfler <axeld@pinc-software.de>

Screenshot: fixed alpha channel handling.

* Screenshot always used B_RGBA32 color space, but did not care about the
alpha channel at all. Now it only uses that space when "includeBorder"
is used.
* Utility::_MakeTabSpaceTransparent() now also makes sure that the rest
of the bitmap has the correct alpha channel set. This fixes bug #10491.
* Minor cleanup.


# 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


# 0c9f5a026f4ccc18b4e8e51b8d907818e3cafa3b 25-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

* Modified PtrScr key behaviour:
- No modifiers: take a screenshot with zero delay and launch the GUI
- Shift-PrtScr: Silent screenshot using the saved GUI settings
- Ctrl-PrtScr: Take a screenshot using the saved GUI settings and copy the
screenshot to the system clipboard
* A few locale related changes (I am not sure how this works when a class is
shared between two applications, I hope I got everything right)



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


# 2ec6b3cf5dd9cd47c57249233320603251df47b3 05-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Screenshot application enhancements:
- Remove the options panel, and the "-o, --options" switch, put all options
inside the main panel as discussed in ticket #3831.
- Add a "Copy to clipboard" button, as discussed in ticket #3831.
- Add a "-c, --clipboard" switch to quickly copy a screenshot to the clipboard
without launching the GUI.
- All settings apply directly to the current schreenshot as well as new
Screenshots, as discussed in ticket #4100.
- Separate executables for the CLI (Screenshot) and GUI (ScreenshotApp).
When "Screenshot" is launched it runs in the background, and launches the
GUI (if not run with the -s or -c switch) before quiting itself. When a new
screenshot is requested through the ScreenshotApp GUI interface,
ScreenshotApp launches Screenshot before quiting itself, after which
Screenshot re-launches ScreenshotApp. This fixes ticket #4100.
Note that because of this change the deskbar entry will show "ScreenshotApp"
and not "Screenshot" as might be expected. I am not sure if this is a
problem.
- Fixed the code that determines the active window because it was just finding
the top most window. This change fixes tickets #3112, #4878, and #4423.
- Hide the cursor by calling BApplication::HideCursor().
This fixes ticket #2988 (but *not* #2997).


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


# c9ec9c7211c873a4798ffbb6d0ccb9b9770551fa 19-Apr-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by augiedoggie: Remove the hardcoded translator_id values from Screenshot.
Fixes ticket #5733. Thanks a lot! (Note: small coding style fixes by myself,
so expect merge conflicts.)


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


# e5b2296d483e9475547f6334183166e6d5ed10e4 18-Feb-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Localization of Screenshot app, done by mt. Thanks !


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


# 689b99a74c8ae7dc1d93b19d4a8671948dab1a88 19-Nov-2009 Fredrik Modeen <fredrik@modeen.se>

Additional CLI parameters for Screeshot (Ticket #3816) and some cleanup (I hope), using Translator kit now instead of own PNG when using CLI. More changes will follow.

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


# ef52eb17eaf4a736103f48e278d3dcc2af948b9e 30-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* make sure we close the app on ESCAPE
* do not launch a second window in case of RefsReceived



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


# a75264d3f6fdda0f26b0d6b20357209d72c9660a 17-Sep-2008 Karsten Heimrich <host.haiku@gmx.de>

* small screenshot app that was once discussed
* misses a proper icon and does not save atm...



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