English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 13 December 2014, 17:03   #1301
HanSolo
Registered User
 
Join Date: Aug 2014
Location: Gdynia/Poland
Posts: 162
Fix is ready http://muidev.de/download/01-nightly...Log-2014-12-13 So when mui 4.0 will be recompiled for 68k ?
HanSolo is offline  
Old 14 December 2014, 17:31   #1302
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 839
Yes, and it works much better now, a few flaws still remaining...
Michael is offline  
Old 24 December 2014, 11:35   #1303
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Update to icon.library 46.4.405:

Some optimizations in GetIconRectangleA(), in ChangeToSelectedIconColor() for a darker copy of image1, and much shorter Shadow/OutlineText code in DrawIconStateA().

Last edited by PeterK; 26 January 2015 at 21:25.
PeterK is offline  
Old 26 January 2015, 21:24   #1304
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Update to icon.library 46.4.406:

A workaround for the DOpus5 problem to open disk drive windows without real icons when the deficon (ENV:Sys/def_disk.info) was not of the type disk alias volume. DOpus5 always tried to do this by itself, but it didn't work to use project or tool icons for def_disk.info. This is possible now. Please make sure that Aros Vision copies Sys/def_disk.info from ENVARC: to ENV: in the s-s or you will see only 4-color disk icons.

On the Workbench the deficons for disk drives are now also ghosted (half transparent).
PeterK is offline  
Old 28 January 2015, 00:22   #1305
pawelek
Registered User
 
Join Date: Aug 2014
Location: Poland
Posts: 49
Quote:
Originally Posted by PeterK View Post
On the Workbench the deficons for disk drives are now also ghosted (half transparent).
Why deficons are half transparent ? My icon RamDisk is too light and almost invisible.

Last edited by pawelek; 28 January 2015 at 00:28.
pawelek is offline  
Old 28 January 2015, 21:19   #1306
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
A ghosted Ram Disk shows you that it has no real icon. That's how it should be now.

Why is it so difficult for an experienced user like you to solve this little problem?

Choose your favourite Ram Disk icon and copy its images with drag&drop over the images of the current RAM: icon by using WB->Icon->Information or the CopyIcon tool from Stephan Rupprecht. Your Ram Disk should become solid.

Open the RAM: window and set its position, size and viewmodes as you like. Snapshot the window.

Copy RAM:Disk.info to ENVARC:Sys/def_Ram.info

Edit your startup-sequence and add a line
Copy >NIL: ENV:Sys/def_Ram.info RAM:Disk.info

Update:
If you don't like deficons to appear ghosted at all then call C:IconGhostingOff from your startup-sequence somewhere above the LoadWB line.

Last edited by PeterK; 28 January 2015 at 23:08.
PeterK is offline  
Old 28 January 2015, 21:35   #1307
Retrofan
Ruler of the Universe
 
Retrofan's Avatar
 
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,185
Peter a couple of days ago I installed an icon and the image wasn't shown, only the "hammer" tool image. The same icon is perfectly visible on AmiKit for Pc.

Later I knew that the icon was made using a simple PNG image renamed to .info file

I already made another that works, but I wanted to share the information.
Attached Files
File Type: rar Boxx2.rar (533 Bytes, 119 views)

Last edited by Retrofan; 28 January 2015 at 22:00.
Retrofan is offline  
Old 29 January 2015, 00:51   #1308
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Hi Retrofan,

unfortunately, your boxx.info file contains a PNG image of an unsupported format, because it uses a palette mapped image with a PLTE-chunk and thus the color format is set to 3 in IHDR. But my icon.library decodes only the formats 2 and 6 which are RGB and RGBA. Everything else is ignored.
PeterK is offline  
Old 29 January 2015, 15:31   #1309
Michael Sykes
WinUAE end user
 
Michael Sykes's Avatar
 
Join Date: Jan 2014
Location: Bremen
Age: 44
Posts: 649
Quote:
Originally Posted by PeterK View Post
Hi Retrofan,

unfortunately, your boxx.info file contains a PNG image of an unsupported format, because it uses a palette mapped image with a PLTE-chunk and thus the color format is set to 3 in IHDR. But my icon.library decodes only the formats 2 and 6 which are RGB and RGBA. Everything else is ignored.
Sounds odd to ignore a format that uses palette entries and predefined bit depths.
Isn't that most similar to something like newicons?
Michael Sykes is offline  
Old 29 January 2015, 16:39   #1310
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Quote:
Originally Posted by Michael Sykes View Post
Sounds odd to ignore a format that uses palette entries and predefined bit depths.
Isn't that most similar to something like newicons?
Maybe, but I don't know the PLTE-chunk and other unsupported PNG image formats.

The main reason why we have PNG icons is to make TrueColor images possible. If somebody needs palette mapped images then this could be done by using the standard OS 3.5 or the NewIcon format.

Adding the possibility to decode other PNG formats requires a lot of extra code that would rarely be used. This could better be done by external image converters, IMHO.
PeterK is offline  
Old 30 January 2015, 22:21   #1311
Lonewolf10
AMOS Extensions Developer
 
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 44
Posts: 1,924
Quote:
Originally Posted by PeterK View Post
Maybe, but I don't know the PLTE-chunk and other unsupported PNG image formats.
The PLTE-chunk is really easy... I don't know about the other PNG formats. (I only support, at present, 16 colour PNG images in my code!)
Lonewolf10 is offline  
Old 01 February 2015, 17:26   #1312
pawelek
Registered User
 
Join Date: Aug 2014
Location: Poland
Posts: 49
bug in 46.4.406

bug in version 46.4.406
When I copy from the RamDisk to the partitions, I got error message when copying xxxx.info, object already exists.
pawelek is offline  
Old 01 February 2015, 19:33   #1313
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
I noticed the same error recently and it was caused by AsyncWB. It was gone after removing AsyncWB (try that). Or the error can be ignored. But ok, I will try to fix it.

Last edited by PeterK; 01 February 2015 at 19:46.
PeterK is offline  
Old 01 February 2015, 21:05   #1314
pawelek
Registered User
 
Join Date: Aug 2014
Location: Poland
Posts: 49
That's right, without AsyncWB is ok.
pawelek is offline  
Old 01 February 2015, 21:34   #1315
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Update to icon.library 46.4.407:

The problem of AsyncWB reporting "object already exists" should be fixed now.
PeterK is offline  
Old 01 February 2015, 21:52   #1316
pawelek
Registered User
 
Join Date: Aug 2014
Location: Poland
Posts: 49
.407 works ok.
pawelek is offline  
Old 08 February 2015, 13:08   #1317
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 839
Problem with def_RAM disk

Under DO it opens the disk (fake) with my settings and show all (like I like)
under WB it opens the disk with my window settings, but can't remember the show all I saved to the icon.
Michael is offline  
Old 09 February 2015, 23:03   #1318
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Strange ?
I've just checked that with my WB 3.9. The Ram Disk without disk.info gets the ghosted def_RAM.disk image and its window size, position and viewmodes (display icons, show all files). For me, it works.

Update:
Your icon ENVARC:Sys/def_RAM.info must have the type "disk" or "drawer" in order to get a "DrawerData" structure with your window settings. For "tool" and "project" icons the "DrawerData" is not required and thus it's removed.

Last edited by PeterK; 10 February 2015 at 16:21.
PeterK is offline  
Old 10 February 2015, 20:09   #1319
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 839
Double checked. It's of type Volume.
And with v405 it shows all, with v407 does not (with WB only).
Michael is offline  
Old 10 February 2015, 20:19   #1320
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Quote:
Originally Posted by Michael View Post
Double checked. It's of type Volume.
What is of type Volume?
I'm not talking about RAM:disk.info.
Did you check ENVARC:Sys/def_RAM.info for the type?
Is that a PNG, OS4 or an OS 3.5 icon?

Please, upload your icon def_RAM.info here. Thx Michael !

Last edited by PeterK; 10 February 2015 at 20:55.
PeterK is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
ClassicWB Full and icon.library 46.4 Retroplay project.ClassicWB 8 05 August 2018 13:57
WB library conflict/versions Amiga1992 support.Apps 3 22 July 2010 18:47
PNG Icon to Color Icon Converter? Leandro Jardim request.Apps 1 24 May 2010 04:39
What's the latest version of icon.library for OS3.9? NovaCoder support.Apps 3 30 June 2009 15:43
Requesting icon.library v44+... nikvest request.Other 2 16 September 2007 01:58

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:33.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.29439 seconds with 16 queries