Hollywood IDE

Discuss anything about the Hollywood plugins for Cubic IDE and Codebench here
ilbarbax
Posts: 112
Joined: Thu Apr 01, 2010 6:41 pm

Hollywood IDE

Post by ilbarbax »

Now that the RapaGui is available, the Hollywood IDE would needs an improvement adding the possibility to have a furher button to show the xml code as well. Having only the possibility to show the standard hollywood code it is given only a partial view of the examples/programs.
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hollywood IDE

Post by airsoftsoftwair »

Are you talking about the Windows IDE or about the Amiga GUI here?
ilbarbax
Posts: 112
Joined: Thu Apr 01, 2010 6:41 pm

Re: Hollywood IDE

Post by ilbarbax »

Amiga gui sorry. I'm mainly os4 user and playing with the rapagui examples via the Amiga gui I can see the source of the hws but not the correspondent xml file.
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hollywood IDE

Post by airsoftsoftwair »

Sorry, but that's not going to happen because there's no easy way to detect which scripts are accompanied by XML files.
User avatar
emeck
Posts: 169
Joined: Fri Apr 03, 2015 3:17 pm

Re: Hollywood IDE

Post by emeck »

airsoftsoftwair wrote:Sorry, but that's not going to happen because there's no easy way to detect which scripts are accompanied by XML files.
I was also thinking about that recently. Couldn't a preprocessor option like #APPXML be added so you can "link" the xml files if you want and then the Hollywood GUI can open those aufomatcally when the script is opened.
PowerBook 5.2 MorphOS 3.15
PowerBook 5.8 MorphOS 3.15
Amiga 1200 BPPC/BVision AOS4.1 FE
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hollywood IDE

Post by airsoftsoftwair »

That's already possible using the @FILE preprocessor command. You can just do something like this:

Code: Select all

@FILE 1, "GUI.xml"
moai.CreateApp(ReadString(1))
This will automatically link "GUI.xml" into your applet or executable.
User avatar
emeck
Posts: 169
Joined: Fri Apr 03, 2015 3:17 pm

Re: Hollywood IDE

Post by emeck »

Yes, but I was thinking more in the line of the original posting, opening also the xml file when showing the source .hws, so not a command really but maybe a special kind of comment with a reserved syntax that the Hollywood GUI could easily find to display also the xml file. something like:

Code: Select all

#APPXML=/data/mygui.xml
Just an idea; don't know how difficult could be to implement and obviously not that important but nice to have.
PowerBook 5.2 MorphOS 3.15
PowerBook 5.8 MorphOS 3.15
Amiga 1200 BPPC/BVision AOS4.1 FE
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hollywood IDE

Post by airsoftsoftwair »

I think a better idea would be if the files declared in @FILE were shown in the tabbed browser on the right (like images, sounds, animations, etc.) and then by double-clicking them they could be opened by the IDE and you could edit them. I think that would be a convenient solution...
User avatar
emeck
Posts: 169
Joined: Fri Apr 03, 2015 3:17 pm

Re: Hollywood IDE

Post by emeck »

That would be very cool to have in the Amiga GUI.

Thank you very much.
PowerBook 5.2 MorphOS 3.15
PowerBook 5.8 MorphOS 3.15
Amiga 1200 BPPC/BVision AOS4.1 FE
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hollywood IDE

Post by airsoftsoftwair »

Well, in the Amiga GUI you won't see this because the Amiga GUI isn't an IDE.... it's only in the Windows IDE.
Post Reply