History log of /haiku/src/bin/screenmode/screenmode.cpp
Revision Date Author Comments
# 6ba31e25 05-Jun-2019 Murai Takashi <tmurai01@gmail.com>

bin/screenmode: Fix -Wformat=

Change-Id: Ide67c285a064c8e1111e1522be2946f69a5bcfc6
Reviewed-on: https://review.haiku-os.org/c/1512
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 0ca6ba69 09-Nov-2018 Adrien Destugues <pulkomandy@pulkomandy.tk>

screenmode: remove leftover debug print.


# 22e03e58 02-Nov-2018 Adrien Destugues <pulkomandy@pulkomandy.tk>

Allow to change brightness from the command line

screenmode can now set the brightness (only for intel_extreme, still).
Both absolute and relative values are accepted, allowing to bind
keyboard shortcuts to "increase brightness" and "decrease brightness".

Change-Id: I5221532ebdfba5df1b4d4e1f3331406359f2807c
Reviewed-on: https://review.haiku-os.org/655
Reviewed-by: Kacper Kasper <kacperkasper@gmail.com>


# a07a1391 16-Nov-2016 Humdinger <humdingerb@gmail.com>

Use shift+ctrl+cmd+esc for emergency video safe mode

Used to be just ctrl+cmd+esc. The added shift key should prevent accidental
video safe mode activation.


# 3aeed660 07-Aug-2014 Jérôme Duval <jerome.duval@gmail.com>

include strings.h where appriopriate...

instead or additionally to string.h, in preparation for functions move.
* moves str[n]casecmp() functions and others to strings.h.
* strings.h doesn't include string.h anymore.
* this solves #10949


# a19c04e6 08-Jan-2014 Gordon JC Pearce <gordonjcp@gjcp.net>

Fix modeline being read incorrectly.

Signed-off-by: Rene Gollent <rene@gollent.com>


# aed35104 05-Aug-2012 Humdinger <humdingerb@gmail.com>

Close alerts with ESCAPE key.

Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.


# 4325056b 29-Oct-2011 Axel Dörfler <axeld@pinc-software.de>

* Busy looping without sleeping isn't so nice.
* Also allow upper case Y to please Michael :-)


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


# 54401270 11-Sep-2011 Axel Dörfler <axeld@pinc-software.de>

* Turn off confirmation when using the fallback mode - this will already pop up
a BAlert.


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


# 02f24810 11-Sep-2011 Axel Dörfler <axeld@pinc-software.de>

* Now asks for confirmation before exiting after a mode set. This will time out
after ten seconds, and revert to the original mode.
* Added option -q resp. --dont-confirm which turns off that confirmation.
* Added option -m resp. --modeline that allows you to specify and dump X-style
modelines.
* Minor cleanup.


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


# 09860569 10-Oct-2009 Michael Lotz <mmlr@mlotz.ch>

Fix two space to tab indents.


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


# 1a4140c1 08-Mar-2009 Jérôme Duval <korli@users.berlios.de>

* Patch from PulkoMandy: Add resolution listing to "screenmode"


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


# 541270ef 28-Jun-2008 Axel Dörfler <axeld@pinc-software.de>

* Wrote a "screenmode" application that can be used to get and set the current
screen mode from the command line.
* With its "--fall-back" parameter, it's also thought to be called from BWindow
when a specific shortcut has been pressed (similar to screenshots) - this
part is not implemented yet. Anyone against <Command><Control>-<Escape>?
* Added it to the image.


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


# 3aeed6607cd07762c0e709633c012b3a632dbad9 07-Aug-2014 Jérôme Duval <jerome.duval@gmail.com>

include strings.h where appriopriate...

instead or additionally to string.h, in preparation for functions move.
* moves str[n]casecmp() functions and others to strings.h.
* strings.h doesn't include string.h anymore.
* this solves #10949


# a19c04e6a3fae7fa8929b25c340ead71d58c4692 08-Jan-2014 Gordon JC Pearce <gordonjcp@gjcp.net>

Fix modeline being read incorrectly.

Signed-off-by: Rene Gollent <rene@gollent.com>


# aed35104852941f0f6f3d1dcc5338b5f337d0a3c 05-Aug-2012 Humdinger <humdingerb@gmail.com>

Close alerts with ESCAPE key.

Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.


# 4325056b3b18c427f34deb3d62127c0554cb361a 29-Oct-2011 Axel Dörfler <axeld@pinc-software.de>

* Busy looping without sleeping isn't so nice.
* Also allow upper case Y to please Michael :-)


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


# 54401270ec0c143d133cd2bde4a3b133a1e06d03 11-Sep-2011 Axel Dörfler <axeld@pinc-software.de>

* Turn off confirmation when using the fallback mode - this will already pop up
a BAlert.


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


# 02f248105ad82679b68f60338acef84ecbe4529d 11-Sep-2011 Axel Dörfler <axeld@pinc-software.de>

* Now asks for confirmation before exiting after a mode set. This will time out
after ten seconds, and revert to the original mode.
* Added option -q resp. --dont-confirm which turns off that confirmation.
* Added option -m resp. --modeline that allows you to specify and dump X-style
modelines.
* Minor cleanup.


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


# 0986056934f9c5967d6c753db6d1c4b6876b74a1 10-Oct-2009 Michael Lotz <mmlr@mlotz.ch>

Fix two space to tab indents.


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


# 1a4140c195d36eb5feff55d749b797f0cc6c5e2c 08-Mar-2009 Jérôme Duval <korli@users.berlios.de>

* Patch from PulkoMandy: Add resolution listing to "screenmode"


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


# 541270efa5bea14ad0089bd2afd036003d536a9c 28-Jun-2008 Axel Dörfler <axeld@pinc-software.de>

* Wrote a "screenmode" application that can be used to get and set the current
screen mode from the command line.
* With its "--fall-back" parameter, it's also thought to be called from BWindow
when a specific shortcut has been pressed (similar to screenshots) - this
part is not implemented yet. Anyone against <Command><Control>-<Escape>?
* Added it to the image.


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