{#} Replies are directed back to [EMAIL PROTECTED]
{#} To reply to the author, write to Raphael Ho <[EMAIL PROTECTED]>
All,
Just to prove that I have a fully satisfying social life, I just finished
uploading the changes to the CVS server 3am on a Saturday morning. Now you
get to see a wonderful little service icon on the titlebar, a completely
cosmetic change with absolutely no functionality whatsoever.
Let me know if you like it enough to sponsor me in buying a "learning cocoa"
book. I need all the help I can get. Maybe I'll actually do something useful
next time :-)
Raf.
on 11/6/01 6:21 PM, Eric Peyton at [EMAIL PROTECTED] wrote:
> {#} Replies are directed back to [EMAIL PROTECTED]
> {#} To reply to the author, write to Eric Peyton <[EMAIL PROTECTED]>
>
> Go for it - I'll leave it to you ...
>
> Eric
>
> On Tuesday, November 6, 2001, at 09:55 PM, Raphael Ho wrote:
>
>> {#} Replies are directed back to [EMAIL PROTECTED]
>> {#} To reply to the author, write to Raphael Ho <[EMAIL PROTECTED]>
>>
>> Despite my lame programming skill, I have sucessfully hacked the chat
>> windows to display a fire.app icon on the Title bar. :-)
>>
>> if (yn) {
>> [window
>> setTitleWithRepresentedFilename:@"/Applications/Fire.app"];
>> [window setTitle:[NSString stringWithFormat:CHAT_WINDOW_TITLE,
>> title]];
>>
>> Now if I figure out how to make pretty icons, which variable holds the
>> IM
>> type for the session, and which variable holds the icon type preference
>> (Aqua or non-aqua), I am well on my way to getting my name in the
>> credits!
>>
>> Hope Eric doesn't beat me to it. ;-)
>>
>> Raf.
>>
>> on 11/6/01 10:30 AM, Raphael Ho at [EMAIL PROTECTED] wrote:
>>
>>> {#} Replies are directed back to [EMAIL PROTECTED]
>>> {#} To reply to the author, write to Raphael Ho <[EMAIL PROTECTED]>
>>>
>>> <caveat> I haven't coded anything more than a Perl script for almost
>>> half a
>>> decade, so I might be speaking out of my bottom here. (Not that it's
>>> supposed to surprise you....)
>>>
>>> The icon in the title bar is called a "proxy icon". It can be changed
>>> in
>>> carbon using the "SetWindowProxyIcon" function in the Carbon library.
>>>
>>> While there are no explicit "SetWindowProxyIcon" command in Cocoa, It
>>> is my
>>> impression that if you use the method
>>> NSWindow:setTitleWithRepresentedFilename, a proxy icon for the
>>> represented
>>> file will automagically display (reading between the lines in the
>>> AppKitOlderNotes file) on the Apple developer site.
>>>
>>> So what we need is to associate the windows with the session's log
>>> file,
>>> associate the log file with the IM's icon, and bob's your uncle.
>>> Metaphorically speaking if you don't have a uncle named bob.
>>>
>>> Of course we can also bitch and moan to Apple to add the
>>> SetWindowProxyIcon
>>> as a method in NSWindow....
>>>
>>> </caveat>
>>>
>>> on 11/5/01 7:27 PM, Eric Peyton at [EMAIL PROTECTED] wrote:
>>>
>>>> {#} Replies are directed back to [EMAIL PROTECTED]
>>>> {#} To reply to the author, write to Eric Peyton
>>>> <[EMAIL PROTECTED]>
>>>>
>>>> The title bar doesn't allow user customization. Omni had to hack the
>>>> hell out of it to get thier little bolt up there. If the AppKit ever
>>>> allows title bar customization, I totally agree with you however.
>>>>
>>>> Eric
>>>>
>>>> On Monday, November 5, 2001, at 11:02 PM, IDEGUTI Masaya wrote:
>>>>
>>>>> {#} Replies are directed back to [EMAIL PROTECTED]
>>>>> {#} To reply to the author, write to IDEGUTI Masaya
>>>>> <[EMAIL PROTECTED]>
>>>>>
>>>>> Hi,
>>>>>
>>>>> I think the right place for service icon in chat window is not
>>>>> toolbar
>>>>> but title bar. How others think?
>>>>>
>>>>> Regards,
>>>>> -------------------------------------------------------------
>>>>> Doh -- a beer, I need a beer
>>>>> Ray -- the man who buys me beer
>>>>> Me -- the one who drinks the beer
>>>>> Far -- a long way to the pub!
>>>>> So -- I really want a beer
>>>>> La -- la, la, la, la, la, la!
>>>>> Tea? -- no thanks I'll have a beer!
>>>>> That will brings us back to...
>>>>> Doh -- a beer...
>>>>>
>>>>> IDEGUTI, Masaya
>>>>> Kyoto University, Graduate School of Human and Environmental Studies
>>>>> Give Peace a Chance!
>>>>>
>>>>>
>>>>> {#} ----------------------------------------------------+[ fire ]+---
>>>>>
>>>>>
>>>>
>>>>
>>>> {#} ----------------------------------------------------+[ fire ]+---
>>>>
>>>
>>>
>>> _________________________________________________________
>>> Do You Yahoo!?
>>> Get your free @yahoo.com address at http://mail.yahoo.com
>>>
>>>
>>> {#} ----------------------------------------------------+[ fire ]+---
>>>
>>
>>
>> _________________________________________________________
>> Do You Yahoo!?
>> Get your free @yahoo.com address at http://mail.yahoo.com
>>
>>
>> {#} ----------------------------------------------------+[ fire ]+---
>>
>>
>
>
> {#} ----------------------------------------------------+[ fire ]+---
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
{#} ----------------------------------------------------+[ fire ]+---