AmigaOS4.1 Programm icon

Find quick help here to get you started with Hollywood
User avatar
NubeCheCorre
Posts: 77
Joined: Mon Mar 19, 2012 1:24 am
Contact:

Re: AmigaOS4.1 Programm icon

Post by NubeCheCorre »

Thanks Andreas it was my fault, I did two errors..

The first one was the icon format, for some reason it was wrong, now i discovered the right tool to use to create right Amiga Icon format, it is this one:

http://www.os4depot.net/index.php?funct ... iconed.lha

My second error was about the "code", I put the line SetWBIcon() in some point before the end of the program but I pushed the iconify button at the beginning during the execution of the program so before that "SetWBIcon()" was executed.. now i solved putting this line of code at the beginning of my code, here:

Code: Select all


SetWBIcon("Data/Icons/rastan.info")

@APPTITLE       "Test Code"
@APPAUTHOR      "Gianluca Girelli - Davide Palombo"
@APPCOPYRIGHT   "Freeware - Graphics copyrights remain of original authors."
@APPVERSION     "$VER: 1.0 (03.07.2013)"
@APPDESCRIPTION "Simple Horizontal Scrolling."
@VERSION 5,0

@APPICON{Ic16x16="Data/Icons/my16x16icon.png",
		     Ic24x24="Data/Icons/my24x24icon.png",
		     Ic32x32="Data/Icons/my32x32icon.png",
		     Ic48x48="Data/Icons/my48x48icon.png",
		     Ic128x128="Data/Icons/my128x128icon.png",
		     Ic256x256="Data/Icons/my256x256icon.png",
		     Ic512x512="Data/Icons/my512x512icon.png"}

@INCLUDE "Includes/company-intro.hws"

@DISPLAY 1, { Title = "'Test Code' - Made with Hollywood by g0blin and Nube",
                 X=#CENTER, Y=#CENTER, Width=640, Height=480, HidePointer=True,
                 Sizeable=True, ScaleMode=#SCALEMODE_AUTO }
@SCREEN {Mode = "Ask", Width = 640, Height = 480}

@BRUSH 1, "Data/rastan_title.gif", {Transparency = #FUCHSIA}
ScaleBrush(1,640,480)
DisplayBrush(1, #CENTER, #CENTER-50)
WaitLeftMouse()
End


Post Reply