Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Menus disappear with Csound API on Mac

Date2008-08-13 00:17
Fromvictor
SubjectRe: [Cs-dev] Menus disappear with Csound API on Mac
AttachmentsNone  None  
/Developer/Tools/Rez -i APPL -o your_progr cs5.r
 
I'm not sure whether this will do what you want, but it adds
a resource fork to the program. But it might not be the problem
 
I also remember having to grab the menu bar back from FLTK
in my OSX frontend (using SetMenuBar() I think),
frontends/OSX/main.c
 
you might need to do something like that. Also, FLTK will not
work multi-threaded, so your app needs to run single-threaded
(using timer callbacks) to enable FLTK widgets to work.
 
Victor
----- Original Message -----
Sent: Tuesday, August 12, 2008 6:02 PM
Subject: Re: [Cs-dev] Menus disappear with Csound API on Mac

I don't know... =). I see that file, but can you explain, how I need to use it to prevent csound (and fltk) from grabbing the menus?

Cheers,
Andrés

On Tue, Aug 12, 2008 at 10:20 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
You mean cs5.r? It's in the top dir.


At 13:54 12/08/2008, you wrote:
>Victor,
>Can you point me to the location of the rez.out file? I can't find it...
>
>Thanks,
>Andrés
>
>On Mon, Aug 4, 2008 at 7:25 AM, victor
><<mailto:Victor.Lazzarini@nuim.ie>Victor.Lazzarini@nuim.ie> wrote:
>just use the one that is in the distro. FLTK also seems to kidnap the
>menus. I had a workaround in the csound5 OSX  host (also in the
>distro).
>----- Original Message -----
>From: <mailto:mantaraya36@gmail.com>Andres Cabrera
>To: <mailto:csound-devel@lists.sourceforge.net>Developer discussions
>Sent: Monday, August 04, 2008 10:19 AM
>Subject: Re: [Cs-dev] Menus disappear with Csound API on Mac
>
>Hi,
>
>On Mon, Aug 4, 2008 at 1:23 AM, victor
><<mailto:Victor.Lazzarini@nuim.ie>Victor.Lazzarini@nuim.ie> wrote:
>Hve you run Rez to create a resource fork?
>
>
>  No I haven't, but looking at what it does, I
> have no idea how to create a .r file, and what
> should I do with the Rez.out file?
>The other thread I read about this symptom
>mentioned it had something to do with fltk.
>
>Cheers,
>Andrés
>
>
>----------
>-------------------------------------------------------------------------
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
><http://moblin-contest.org/redirect.php?banner_id=100&url=/>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
>
>
>----------
>_______________________________________________
>Csound-devel mailing list
><mailto:Csound-devel@lists.sourceforge.net>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>-------------------------------------------------------------------------
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
><http://moblin-contest.org/redirect.php?banner_id=100&url=/>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>_______________________________________________
>Csound-devel mailing list
><mailto:Csound-devel@lists.sourceforge.net>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>-------------------------------------------------------------------------
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/


_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel