Real Software Forums
http://forums.realsoftware.com/

OS X Lion like menu bar (source list)
http://forums.realsoftware.com/viewtopic.php?f=21&t=43716
Page 1 of 1

Author:  gerrut [ Mon Apr 23, 2012 4:00 am ]
Post subject:  OS X Lion like menu bar (source list)

Ok, so I finally got around to create the menu that made me swear so much at the alpha implementation (or lack thereof) for Carbon applications. You can look it up and download it here:
http://www.magicforreal.com/home/what-s-on-the-menu/

This screenshot shows it with some basic settings:
Image

Author:  shaosean [ Mon Apr 23, 2012 11:41 pm ]
Post subject:  Re: OS X Lion like menu bar

Looks pretty good, but that is actually called a source list, not a menu bar (the menu bar is at the top of the screen)..

Author:  gerrut [ Tue Apr 24, 2012 1:11 am ]
Post subject:  Re: OS X Lion like menu bar (source list)

Thanks, I did not know that. Changed the topic title accordingly.

Author:  Akiland [ Tue Apr 24, 2012 1:42 am ]
Post subject:  Re: OS X Lion like menu bar (source list)

I can't get your example to run, a lot of errors :/
Looks like a good job but I can't try it ;)

Author:  gerrut [ Tue Apr 24, 2012 2:48 am ]
Post subject:  Re: OS X Lion like menu bar (source list)

Strange, could you tell me what properties it says it misses? Maybe it has to do with the files I imported to the project?
It might also be it has to do with some specific properties from RB 2011 R4.3. If you give me the warnings I will try to replicate them.

Author:  kermit [ Tue Apr 24, 2012 3:40 am ]
Post subject:  Re: OS X Lion like menu bar (source list)

6 bitmaps and a text file (colours?) are reported missing when you open the bare rbp file.

Author:  Akiland [ Tue Apr 24, 2012 3:42 am ]
Post subject:  Re: OS X Lion like menu bar (source list)

If this works in WE apps, I would be super happy :)

Author:  gerrut [ Tue Apr 24, 2012 3:49 am ]
Post subject:  Re: OS X Lion like menu bar (source list)

Ah, I see, the files are not in the binary but just point to my hard drive (an OCZ SSD named SSD...). This I can fix, but not sure yet about the best method for that. I do want all files inside the project.
The other parts have to do with alpha support which is not available in 2011R3. I will make a separate version for it without the alpha.

I personally do not have WE, so maybe you could test it once I fixed the foregoing issues? I will probably post an updated version somewhere in the afternoon and link to it here on the message board.

Author:  Akiland [ Tue Apr 24, 2012 4:21 am ]
Post subject:  Re: OS X Lion like menu bar (source list)

gerrut wrote:
Ah, I see, the files are not in the binary but just point to my hard drive (an OCZ SSD named SSD...). This I can fix, but not sure yet about the best method for that. I do want all files inside the project.
The other parts have to do with alpha support which is not available in 2011R3. I will make a separate version for it without the alpha.

I personally do not have WE, so maybe you could test it once I fixed the foregoing issues? I will probably post an updated version somewhere in the afternoon and link to it here on the message board.


Sure, I'll try it's WE compatibillity :)

Author:  Akiland [ Tue Apr 24, 2012 4:45 am ]
Post subject:  Re: OS X Lion like menu bar (source list)

gerrut wrote:
I personally do not have WE, so maybe you could test it once I fixed the foregoing issues?

Does it use canvas controls? WE doesn't have those. It has picture objects and such but not the Canvas as you know it :/

Author:  gerrut [ Tue Apr 24, 2012 7:37 am ]
Post subject:  Re: OS X Lion like menu bar (source list)

It is based on a canvas, so that would be a problem for WE. However, maybe you can transfer the logic to a webcomponent as it works by drawing pictures. I have no idea if this is possible though, as there might also be problems with events.
Writing a similar source list in html/javascript is quite easy (actually a lot easier than my class). But as for WE I really have no idea.

Author:  gerrut [ Tue Apr 24, 2012 3:01 pm ]
Post subject:  Re: OS X Lion like menu bar (source list)

Sorry for my late reply, I got distracted, but I now have a version for Real Studio 2011 R3 as well. Also I included the files in the zip file and pulled them outside of the rbp. Actually this is a much neater solution as long as we don't run into directory problems ;)
You may download the latest version here:
http://www.magicforreal.com/downloads/mfrmenu/

Author:  NaNdummy [ Thu Apr 26, 2012 5:20 am ]
Post subject:  Re: OS X Lion like menu bar (source list)

You could create a canvas in WE and put .Backdrop into a webimageview (webimageview.image=new webpicture(canvas.backdrop))

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/