Re: [AD] OSX - About dialog |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] OSX - About dialog
- From: Chris <chris.kcat@xxxxxxxxxx>
- Date: Fri, 14 Oct 2005 14:11:23 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=lXRkw5kUYiQrM98jGJqLYw923GmFQPWVusO2tc9h5mleHGMe+KOQ78GJX0mzYrFBnmy8nYYNFfMadO/CjEbjEG9REXidsq4RJHR0+QSfxWp0hQCrH/IZCo3jC6awv77wCOY3z1a6aKMm5IwqbJ+362qyv9Zo0YHw6z7xzwjXSMY=
On Friday 14 October 2005 07:39 am, peter.hull90@xxxxxxxxxx wrote:
> For the programmer, no extra _code_ would be required to make this appear
> as an About box, the system does it all. Nothing would break
> cross-platform.
Except when you decide you want to have other platforms have a similar about
box, then you now have two different methods of doing it, one of which is OSX
specific. Personally, I think the method should be abstracted now so I other
platforms can implement it later on, instead of pushing this method which is
OSX specific.
It's sorta the same thing with win_set_window. There was a way to make Windows
use an alternate display handle, so they made the function. However, other
platforms were never considered, so win_set_window became a Windows-only
thing despite the potential for X to have a similar function. Though yes, you
can deprecate win_set_window if you make something better/more
cross-platform, it's still not nice to introduce something for people to take
advantage of when it's just going to be deprecated later in favor of a proper
cross-platform implementation.