History log of /haiku/src/preferences/screen/Constants.h
Revision Date Author Comments
# 3a2b67b5 21-Nov-2017 Adrien Destugues <pulkomandy@pulkomandy.tk>

Support for configuring screen backlight

Accelerant interface:
Introduce new hooks B_SET_BRIGHTNESS and B_GET_BRIGHTNESS. Brightness is
a float in the 0..1 range.

App_server:
Forward brightness things between BScreen and the accelerant.

intel_extreme:
Implement the hooks. Note that this only works for laptop panels, but
the driver will pretend to support it in other cases as well.

Screen preferences:
If the accelerant supports the B_GET_BRIGHTNESS hook, allow to set
brightness with a slider. Otherwise, the slidere is hidden and these
changes aren't visible.


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


# b21d610e 30-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* Now uses the layout engine instead of the home brewn thing.
* As a side effect, the window is now resizable, and also stores its window
size, not just its position.
* Replaced the old workspace count setter menu with column/row text controls.


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


# 10e9b12f 07-Feb-2007 Waldemar Kornewald <wkornewald@nowhere.fake>

Renamed SET_INITIAL_MODE_MSG to BUTTON_UNDO_MSG.


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


# c5d10f7a 16-Apr-2006 Axel Dörfler <axeld@pinc-software.de>

* Made the refresh selection window font sensitive.
* Nicer separation from RefreshSlider.
* Got rid of the RefreshView class (a BStringView does its job now).
* Cleanup.


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


# df3f5bac 16-Feb-2006 Stephan Aßmus <superstippi@gmx.de>

* enjoy a fully font sensitive Screen preflet
* the Radeon specific controls are now layouted below
the other menu fields, it is easily changed back
to the side by side layout by changing the default
value of "sideBySide" for ScreenWindow::LayoutMenuFields()
* I added a "Set Background..." button, because I didn't
like the hidden functionality of the monitor view too
much. That is still there though.
* TODO: fix the awareness of changes to the workspace
count and include those in "reverting" and "defaults"


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


# a10cf76e 24-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed src/prefs to "preferences", as the directory is usually called in BeOS.


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


# b21d610e9e89de95e43e4911811a9dce5dbb87b3 30-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* Now uses the layout engine instead of the home brewn thing.
* As a side effect, the window is now resizable, and also stores its window
size, not just its position.
* Replaced the old workspace count setter menu with column/row text controls.


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


# 10e9b12fe0659358a218146042f84cfca3e7ee70 07-Feb-2007 Waldemar Kornewald <wkornewald@nowhere.fake>

Renamed SET_INITIAL_MODE_MSG to BUTTON_UNDO_MSG.


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


# c5d10f7ae552b82c0089fc147de0d9b5fbc5c20b 16-Apr-2006 Axel Dörfler <axeld@pinc-software.de>

* Made the refresh selection window font sensitive.
* Nicer separation from RefreshSlider.
* Got rid of the RefreshView class (a BStringView does its job now).
* Cleanup.


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


# df3f5bac689697d061f180862bb6fa434210088c 16-Feb-2006 Stephan Aßmus <superstippi@gmx.de>

* enjoy a fully font sensitive Screen preflet
* the Radeon specific controls are now layouted below
the other menu fields, it is easily changed back
to the side by side layout by changing the default
value of "sideBySide" for ScreenWindow::LayoutMenuFields()
* I added a "Set Background..." button, because I didn't
like the hidden functionality of the monitor view too
much. That is still there though.
* TODO: fix the awareness of changes to the workspace
count and include those in "reverting" and "defaults"


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


# a10cf76ef5b9e8c726ebc47183abd6943023cf8f 24-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed src/prefs to "preferences", as the directory is usually called in BeOS.


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