Framebuffer Backlight Functions

Functions that deal with the backlight of a framebuffer's screen. More...

Functions

EAPI void ecore_fb_backlight_set (int on)
 Turns on or off the backlight.
EAPI int ecore_fb_backlight_get (void)
 Retrieves the backlight state.
EAPI void ecore_fb_backlight_brightness_set (double br)
 Sets the backlight brightness.
EAPI double ecore_fb_backlight_brightness_get (void)
 Retrieves the backlight brightness.

Detailed Description

Functions that deal with the backlight of a framebuffer's screen.


Function Documentation

EAPI double ecore_fb_backlight_brightness_get ( void   ) 

Retrieves the backlight brightness.

Returns:
The current backlight brigntess, where 0.0 is the darkest and 1.0 is the brightest.

EAPI void ecore_fb_backlight_brightness_set ( double  br  ) 

Sets the backlight brightness.

Parameters:
br Brightness between 0.0 to 1.0, where 0.0 is darkest and 1.0 is brightest.

EAPI int ecore_fb_backlight_get ( void   ) 

Retrieves the backlight state.

Returns:
Whether the backlight is on.

EAPI void ecore_fb_backlight_set ( int  on  ) 

Turns on or off the backlight.

Parameters:
on 1 to turn the backlight on. 0 to turn it off.