[SDL] Retrieving Mac window reference
Michael Ryan Bannon
mrbannon at swen.uwaterloo.ca
Fri Jul 14 13:56:34 PDT 2006
"Bob Ippolito" <bob at redivi.com> wrote in message
news:286E5CCD-545B-46BF-9C95-29A9377A355C at redivi.com...
> SDL allows for at most one window. You can get a reference to that
> window directly from either Cocoa or Carbon. You do not need to ask
> SDL for a window reference.
>
I ascertained that from Martin's post and the other thread I mentioned.
I'll try to find the best way via Carbon (I've been having some trouble
finding out how, still being a Mac novice, which is why I wanted to
double-check with SDL.)
> What you still need to do is figure out how to implement the window
> behavior you're looking for, but that doesn't have anything to do
> with SDL.
>
Yes, I know. This has been discussed in the other thread I mentioned. If I
create a solution I will post it.
Thanks,
Ryan
> -bob
>
> On Jul 14, 2006, at 1:31 PM, Michael Ryan Bannon wrote:
>
>> I'm trying to activate the maximize button while using the SDL no
>> resize
>> option. I don't think that's too silly.
>> See the thread "Showing zoom button on Mac non-resizable window".
>>
>>
>> "Bob Ippolito" <bob at redivi.com> wrote in message
>> news:E890E390-8859-45ED-A6D9-7F89A55FE920 at redivi.com...
>>> On Jul 14, 2006, at 12:58 PM, Michael Ryan Bannon wrote:
>>>
>>>> Thanks for the code.
>>>> I really don't know Ojb-C that well...in fact, not at all. And my
>>>> project
>>>> is all in C++, so I'll either have to find another solution or
>>>> learn Obj-C.
>>>> Would it be a good idea to add a method that returns the window
>>>> reference
>>>> associated with a surface?
>>>
>>> What the heck are you trying to do with the window reference anyway?
>>> SDL apps can't have multiple windows, and only one surface has
>>> anything to do with the window, so a function to get a window
>>> reference for a surface sounds kinda silly.
>>>
>>> -bob
>>
>>
>>
>>
>> _______________________________________________
>> SDL mailing list
>> SDL at libsdl.org
>> http://www.libsdl.org/mailman/listinfo/sdl
More information about the SDL
mailing list