History log of /haiku/headers/private/interface/PrivateScreen.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.


# f7e005eb 21-Aug-2009 Axel Dörfler <axeld@pinc-software.de>

* Moved PrivateScreen.h header to headers/private/interface.
* Desktop is now including it as well to be able to use the new
B_CURRENT_WORKSPACE_INDEX constant.
* Include order cleanup.


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


# a817d6ad 14-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

* (tried to) implemented RootLayer::ResizeBy() and activated AS_SET_SCREEN_MODE again;
it works in the test environment, but I haven't yet tested it on real hardware.
* moved PrivateScreen.h to src/kits/interface/ - it's not used outside of that one.
* moved reading the color map from the BPrivateScreen constructor to the ColorMap()
method.
* improved/cleaned server/client communication for the screen stuff a tiny bit.
* fixed the GetBitmap() method I implemented yesterday.


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


# 4b7db694 24-Jun-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

RetraceSemaphore() doesn't need to be public

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


# 64e8448a 09-Apr-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Removed some fields, simplified the header. Added the license


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


# a5b449ce 28-Jul-2003 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added BScreen implementation, which uses BPrivateScreen (not yet implemented).


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


# f7e005eb834bd43dfcb74bc6d8e337b0a327105a 21-Aug-2009 Axel Dörfler <axeld@pinc-software.de>

* Moved PrivateScreen.h header to headers/private/interface.
* Desktop is now including it as well to be able to use the new
B_CURRENT_WORKSPACE_INDEX constant.
* Include order cleanup.


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


# a817d6ad5a6b49ed79d84ce2e8a6e9c5f5150560 14-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

* (tried to) implemented RootLayer::ResizeBy() and activated AS_SET_SCREEN_MODE again;
it works in the test environment, but I haven't yet tested it on real hardware.
* moved PrivateScreen.h to src/kits/interface/ - it's not used outside of that one.
* moved reading the color map from the BPrivateScreen constructor to the ColorMap()
method.
* improved/cleaned server/client communication for the screen stuff a tiny bit.
* fixed the GetBitmap() method I implemented yesterday.


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


# 4b7db694ce67f94376931b41b3e762172ad80db9 24-Jun-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

RetraceSemaphore() doesn't need to be public

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


# 64e8448a0506b9efa3297e8fef01b6a2040c7895 09-Apr-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Removed some fields, simplified the header. Added the license


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


# a5b449ce66a86b2bcdbb1a909f0e97c84282107d 28-Jul-2003 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added BScreen implementation, which uses BPrivateScreen (not yet implemented).


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