pushparaj muthu wrote:

>   Hi
> 
>   I want to display power status of battery in main window of my target
> board
>    Example - battery is fully charged or battery down
>    In mobile phone how they display status of battery in main window
>    In fltk provide any API to get power status of battery
> 
>    Regards
>    Raj

As for an API to read the battery level, no. However, if you are looking for
a widget to display the battery level, I use a Fl_Progress widget. I do
this in my flmtp[1] application.

[1] 2nd screenshot found here:
http://users.eastlink.ca/~alvinbeach/flmtp/#screenshots 
-- 
Alvin
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to