Re: [AD] API review: iphone specifics

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


"battery low" warnings might be nice as an event. Perhaps the system could check every minute or so. And perhaps a power on/off for if the user plugs it in.


On 29 January 2013 19:05, Trent Gamblin <nooskewl@xxxxxxxxxx> wrote:
On 2013-01-29, at 4:42 AM, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> On Mon, 28 Jan 2013 12:37:29 -0700, Trent Gamblin <nooskewl@xxxxxxxxxx> wrote:
>>> - al_iphone_get_battery_level
>>>
>>> Not a huge deal in of itself, but I'm afraid that people will start
>>> requesting it for other platforms, too (and not just mobile).
>>
>> I'd like to make it platform neutral.
>
> I'd imagine most Allegro programs would have no use for it.
> What do you use it for?

To show a battery meter when it's low and the game is fullscreen.

Trent

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, _javascript_ and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
--
https://lists.sourceforge.net/lists/listinfo/alleg-developers



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/