Re: [AD] API review: iphone specifics |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2013-01-28, at 6:16 AM, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> Hi,
>
> Getting the ball rolling.
>
> - al_iphone_override_screen_scale
>
> Can we not infer a scale from the (w,h) passed to al_create_display?
Yes, as long as al_get_monitor_info works, which I'm not sure of.
> - al_iphone_set_statusbar_orientation
>
> What is this useful for?
I think this may be obsolete now that we have builtin auto orientation.
I'd have to look into it.
> - al_iphone_get_last_shake_time
>
> This seems like a quick-and-dirty API instead of generating events.
> I would like to see it replaced, or removed.
Agree.
> - 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.
Trent