Re: [AD] iOS multiple screen support plans |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Sat, Oct 22, 2011 at 8:13 PM, Trent Gamblin <trent@xxxxxxxxxx> wrote:
> I think the odd ball there is video_adapter. Adapter means a gpu or specific port/connector on a gpu, and monitor makes sense. To me monitor is the best word to use in the new events (screen works too but ya, we don't need another word for the same thing.)
>
I think the terminology should simply reflect whatever structure has changed.
If this means that al_get_num_video_adapters() increases by one, then
the event should be ALLEGRO_EVENT_VIDEO_ADAPTER_ADDED (or something
like that). If an existing video adapter now has new monitor
information retrievable via al_get_monitor_info(), then it should be
ALLEGRO_EVENT_MONITOR_CONNECTED.
It could be that both events should exist and be triggered one after
the other. In that case, we could probably hold off on the
VIDEO_ADAPTER event until it is more meaningful in other contexts.
--
Matthew Leverton