Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Nick on October 25, 2003, 06:21:52 PM
-
I`ve started my little project even though I won`t be able to complete it all until I get a suitable version with layers and data input. I can still get the GUI working (to a point) and get into Hollywood at the same time.
If you didn`t read my other "Hollywood Strings" thread...I`m using v1.0 (hope to upgrade soon).
I can`t seem to compile anything to a decent standard. They`re always asking for a resolution. I want a borderless window on my DOpus/Workbench screen. I can`t get examples to compile on there either. I can display them there or compile them just to display them. I just can`t create an executable which will do what I want. I`ve tried a few ways. Which way is the correct way?
Thanks
-
Actually I don`t think I`ll go completely borderless. Still got the compiler problem. Can better versions of Hollywood direct the window onto any screen you want, when ever?
Edit
--
When I say "Compiler problems" I mean "compiling problems". It is after all me that isn`t operating correctly. :-)
-
You need to specify some tooltypes / CLI parameters to tell the *compiled* executable. In your case, WINDOW would tell the app to open a window on the frontmost pub screen:
yourcompiledapp WINDOW
A borderless window can be achieved with BORDERLESS:
yourcompiledapp WINDOW BORDERLESS
Check the manual for more parameters. The size of the application's window is determined by the size of the background picture.
-
Hmm....Thats what I did. It still asks for the resolution for its own screen, when I run the executable.
-
I`ve sorted that compiler thing now.
I`ve got a new problem. I`ve been making my programs include images in the exetuable, but now I wnt to load them instead, to make my app skinable. I can`t seem to get this to work. I`ve started again essentially, as I hadn`t got too far into the development anyway. It just won`t display, and comes up with a sort of default sized, black window. I think its loading the image, but won`t display it. Its a standard IFF image. If I give it a false path then it complains. Gives me the impression its loading. Its a very simple program at the moment, so there isn`t much to go wrong. Is this a Hollywood v1.0 problem or me?
I`ve ordered the update to v1.5 now. If that helps. :-)
-
Sorry, seems I missed your last answer (I'm often only reading threads that appear on the front page).
The only possible cause for your problem that comes to mind would be that your datatype can't handle the picture(s), i.e. it is unable to decode 24bit pictures - try if Multiview is able to display the picture(s) (if it is, the the datatype works fine).
If that doesn't work, send me an e-mail with your project, I'll have a look at it.
-
I`ve checked that Multiview can load it and it can. Its a simple 24bit iff. I`ll have a try with a different format tomorrow. Also I`ll install v1.5, though that probably won`t make too much difference really.
-
That pic is perfectly OK. I`ve installed the update to v1.5 now. I`ve restarted again using v1.5 to make sure its even more simple and made for v1.5 and not v1.0. Now I get a messege.
Surely theres nothing wrote with this:
LoadBGPic(1,"Ram:Main.jpg")
DisplayBGPic(1)
The messege is:
"You cannot free the background picture that is currently your background picture!"
I haven`t tried loading a brush yet, but I`m not sure that be any different. I`ll try that anyway.
-
Surely theres nothing wrote with this:
LoadBGPic(1,"Ram:Main.jpg")
DisplayBGPic(1)
Yes, this is the right way to do this.
It's hard to help if I only know two lines of the script ;) Either post the full script here, or send me an e-mail with the whole project.
-
Hehe I only posted those 2 lines cause theres not much more to the thing at the moment, as I`ve started it again. Here is the full thing. Seems a bit too simple to me, and I kee getting the feeling I`ve missed something,
%HOLLYWOOD = 1/5
%TITLE = " "
%Code
LoadBGPic(1,"Ram:Main.jpg")
DisplayBGPic(1)
Waitleftmouse