English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 26 December 2012, 03:03   #321
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
Update to icon.library 46.4.271

This version fixes a few bugs in the colormapping. There was a problem in the new faster colormapping on screens with 256 colors. The white sometimes turned into a light pink without any obvious reason.

Last edited by PeterK; 26 December 2012 at 05:27.
PeterK is offline  
Old 25 January 2013, 02:40   #322
Leandro Jardim
Registered User
 
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
Hi PeterK, I copied the contents of the "IconDemo31ADF.rar" to my hardfile, and it works like a dream but for some reason, "C:NoIconBorder" dont disables the icon border... Whats could be wrong?

Thanks.
Leandro Jardim is offline  
Old 25 January 2013, 02:47   #323
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
You could try NoIconBorder from a shell window after booting has finished to see if it works at all. If it does, try a longer delay time like "Wait 5" in the startup-sequence.

Please don't expect to get transparent backgrounds. That won't work with WB 3.0/3.1. It's just removing the border or frame, not more.

It should at least work when booting the ADF image from floppy disk. Does it?

Last edited by PeterK; 25 January 2013 at 03:22.
PeterK is offline  
Old 25 January 2013, 03:18   #324
Leandro Jardim
Registered User
 
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
Quote:
Originally Posted by PeterK View Post
You could try NoIconBorder from a shell window after booting has finished to see if it works at all. If it does, try a longer delay time like "Wait 5" in the startup-sequence.

Please don't expect to get transparent backgrounds. That won't work with WB 3.0/3.1. It's just removing the border or frame, not more.

It should at least work when booting the ADF image from floppy disk. Does it?
With the ADF it is perfect.

I was using FastIPrefs and VisualPrefs, and I disabled them. Now it works partially; the bevel around the icon is removed, but the color border itself of the icons are painted with pen 0. Do you have any hint for whats happening with it?

Last edited by Leandro Jardim; 27 March 2019 at 13:43.
Leandro Jardim is offline  
Old 25 January 2013, 03:24   #325
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
I hope that you did not forget to add the "+" sign after the "Wait 4" instruction ! It is required in order to launch the NoIconBorder asynchronously with the "Run".

As I already said before, transparent backgrounds are not possible. I don't know any trick (patch) for workbench.library v39 or v40 to do that.

Why do you use these non-standard colors?

Last edited by PeterK; 25 January 2013 at 03:30.
PeterK is offline  
Old 25 January 2013, 03:32   #326
Leandro Jardim
Registered User
 
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
Quote:
Originally Posted by PeterK View Post
I hope that you did not forget to add the "+" sign after the "Wait 4" instruction ! It is required in order to launch the NoIconBorder asynchronously with the "Run".

As I already said before, transparent backgrounds are not possible.
Ok I followed your advice.

Hmm. Sorry, I tought you meant that the transparent backgrounds of dragged icons were the only thing that is not possible.

Thanks, Peter.

Last edited by Leandro Jardim; 25 January 2013 at 03:49.
Leandro Jardim is offline  
Old 26 January 2013, 11:49   #327
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
about transparent icons. i have those, at least i think so, on my desktop.
on the picture you can see them and also a information requester from one of them. they dont have such square in the background.
maybe they are magic icons and you need to convert your desired icons into this format.
Attached Thumbnails
Click image for larger version

Name:	desktop.jpg
Views:	330
Size:	243.0 KB
ID:	34021  
emufan is offline  
Old 27 January 2013, 00:07   #328
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
Hi emufan,
the transparency might be possible with the original newicon.library for those NewIcons, like in your case, where the image tooltypes start with IM1=B... or IM2=B..., , The "B" stands for a transparent background, a "C" means opaque. This may work with OS 3.0/3.1 with the original newicon.library.

But my setup uses the emulated newicon.library from Stephan Rupprecht which is required to support the OS 3.5 formatted icons, too. I guess that his newicon.library ignores transparency, but I will check that again.

Please tell me the version of your newicon.library. Or are there any other patches in your startup-sequence or WBStartup drawer doing this trick?
PeterK is offline  
Old 27 January 2013, 01:09   #329
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
i was not aware of the newicon.library in libs: sometimes it is good not to read instructions - for the sake of sideFX
i listed all the requested files and infos, take a look.

Edit: removed attachment to save space

Last edited by emufan; 27 January 2013 at 01:37.
emufan is offline  
Old 27 January 2013, 01:22   #330
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
Such a simple trick:
You're using workbench.library 45.131 and not just WB 3.0 or 3.1. That explains it all. The workbench.libraries v44 and v45 don't have any problems with transparency, of course.
PeterK is offline  
Old 27 January 2013, 01:24   #331
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
ahhh, ok. so Leandro just need to add the new workbench.library?
just in case:
Code:
Version >NIL: workbench.library 45
If WARN
   LoadResident >NIL: LIBS:icon.library
   LoadResident >NIL: LIBS:workbench.library REBOOT
EndIf
workbench.library 45.132 patch here
patch needs original workbench.library 45.127 from BoingBag1.

Last edited by emufan; 27 January 2013 at 01:34.
emufan is offline  
Old 27 January 2013, 01:29   #332
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
Yes, that's the solution.

Or, he could also use ClassicWB with my AddOn package for Scalos.
http://eab.abime.net/showthread.php?t=63342
And I'm not sure if the original newicon.library could also do this trick.
PeterK is offline  
Old 27 January 2013, 01:35   #333
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
ok. i edited my previous post.
emufan is offline  
Old 27 January 2013, 10:20   #334
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
IconDemo31newADF.lha added to the first post

This demo uses the original newicon.library and also the instruction C:NewIcons from the NewIcon 4.6 distribution to make transparent icon backgrounds possible.
PeterK is offline  
Old 03 February 2013, 02:31   #335
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
Updated: new IconDemoADF package.

The NewIcons patch uses RTG mode now and FBlit needs no ChipMem anymore. NiPrefs is also included and supports transparent icon backgrounds and outlined iconnames.

Attachment 34137

Last edited by PeterK; 10 May 2018 at 21:22.
PeterK is offline  
Old 21 February 2013, 02:35   #336
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
Update to icon.library 46.4.272

Finally, this library needs no ChipMem anymore under WB 3.5/3.9, which could make some systems even a little faster again.

Last edited by PeterK; 21 February 2013 at 04:52.
PeterK is offline  
Old 21 February 2013, 06:34   #337
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,408
Quote:
Originally Posted by PeterK View Post
Update to icon.library 46.4.272

Finally, this library needs no ChipMem anymore under WB 3.5/3.9, which could make some systems even a little faster again.
Awesome, great work Peter

I run 3.9 & FBlit (not FText though), what should I set icon's to in WB Prefs, 'graphics' or 'other memory'?

Thanks
NovaCoder is offline  
Old 21 February 2013, 06:53   #338
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
Please, choose Other Memory in the Prefs/Workbench settings and if you're using FBlit instead of P96 or CGX then you may also need to start your WB with LoadWB SIMPLEGELS which would then disable the transparent dragging. Or, as an alternative, you could start FBlitGUI, disable AddBobPatch and RemIBobPatch and enable QBSBlitPatch instead. Please, read the FBlit.guide carefully.

Quote:
FBlit.guide: OS3.5 colour icons
There is an alternative method for supporting OS3.5 RTG icons which
allows you to keep the transparent drag effect at the cost of some
speed. Using FBlitGUI...

install and activate 'QBSBlitPatch'
un-install both 'AddBobPatch' and 'RemIBobPatch'

Now you can safely remove the 'SIMPLEGELS' switch (if it exists) from
the 'LoadWB' command in your S:startup-sequence.
2.032.552 bytes ChipMem left on my WB 3.9 with P96 and more icons won't eat a single byte:
Attached Thumbnails
Click image for larger version

Name:	WB39_P96.png
Views:	251
Size:	29.9 KB
ID:	34359  

Last edited by PeterK; 21 February 2013 at 13:27.
PeterK is offline  
Old 22 February 2013, 11:33   #339
Retrofan
Ruler of the Universe
 
Retrofan's Avatar
 
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,195
That's wonderful PeterK.
By the way I would like to ask you about an icon on AmiKit, the def_disk.info one. It does a very extrange thing. That's the icon that gets assigned for example on WinUAE to windh_c, or on the miggy to a new partition.

Well, with Workbench you can open those drawers, but on Magellan you can't., it's like it was a project icon or something, but only there.

Edit: I've changed it in deficons to be a drawer icon (it was tool), but after a reboot it's the same, a tool icon that you can't open on magellan.

Do you have any idea? It's this (packed as rar):
Attached Files
File Type: rar def_disk.rar (2.7 KB, 126 views)

Last edited by Retrofan; 22 February 2013 at 14:01.
Retrofan is offline  
Old 22 February 2013, 12:38   #340
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
What an awesome update!!!
Thanks a lot for the continuous work there Peter my friend.
I tested last night and it works just fine as always.

I need to give it a test on my GREX 4000 setup
mfilos 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 14:08.

Top

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