English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 26 November 2014, 23:13   #1261
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
@Retrofan
Your description of the safety check is correct, that's exactly how it should work. My library doesn't support writing icons in PNG or OS4 format.

I have made some experiments with a simple "No" response for the requester, too. But unfortunately, this can have strange effects, that you won't expect and want to happen. If you drag&drop a drawer with WB to another window and then send a simple "No" reply without an error code to the requester and the calling task, it would just skip writing the drawer icon but would still copy the complete drawer with all its contents onto the disk.

@Michael
Yes, the Copy$Paste and also Cut&Paste are additional features of the AmiKit setup for the DOpus5 menu.

Last edited by PeterK; 26 November 2014 at 23:24.
PeterK is offline  
Old 26 November 2014, 23:59   #1262
ancalimon
Supernormal
 
ancalimon's Avatar
 
Join Date: Jul 2007
Location: Istanbul / Turkey
Age: 43
Posts: 1,416
I accidentally choose "always" when it asked me to change the os4 icon to os3.9 format. Where does it store this information?
ancalimon is offline  
Old 27 November 2014, 01:38   #1263
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
No problem, just reboot the system. It's stored in the private memory of the icon.library until the next reboot occurs.
PeterK is offline  
Old 27 November 2014, 03:04   #1264
Retrofan
Ruler of the Universe
 
Retrofan's Avatar
 
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,195
Quote:
Originally Posted by PeterK View Post
@Retrofan
Your description of the safety check is correct, that's exactly how it should work. My library doesn't support writing icons in PNG or OS4 format.
What I mean is that now you can not change the icons position if you don't change the icons format. That didn't happen before. What's more, with this icon.library if I make a new icon with IconEdit, if I want to save it then the request to change the icon format will appear again, so I can not create but icons with the 3.5 format.
Retrofan is offline  
Old 27 November 2014, 03:27   #1265
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
Your 1. statement is wrong. Try an older IconLib. You never could snapshot PNG icons without changing the format.

IconEdit did always save all icons in the standard OS 3.5 format. It is not able to save in PNG or OS4format and it never was. The only difference is, that you will now see the requester when you save an existing PNG or OS4 icon with IconEdit, because these icons have to be converted for saving. But this conversion has always happened in the past, too. There just was no safty check before and no requester appeared.

As long as you don't save the icon to the same file where you loaded it from the original icon will not be converted, only the new icon.

Last edited by PeterK; 30 November 2014 at 18:06.
PeterK is offline  
Old 27 November 2014, 09:08   #1266
Retrofan
Ruler of the Universe
 
Retrofan's Avatar
 
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,195
Thanks for explaining that.
Retrofan is offline  
Old 30 November 2014, 15:16   #1267
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 841
@PeterK

What do you think about ReqAttack (icon Logos) ?

Can we have GlowIcons(3.5) with transparent background in requesters with wallpaper ?
Currently we are getting a grey box background.
Michael is offline  
Old 30 November 2014, 18:11   #1268
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
Look at AmiKit or Aminet for ReqAttack and possible add-ons and configs.
http://aminet.net/search?query=ReqAttack
PeterK is offline  
Old 01 December 2014, 05:08   #1269
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 841
I know that, and it works fine here, just that icons get a grey filled background for some reason and not transparent (when used as logo in requesters).

EDIT: Looks like it's a bug in one of the many icon datatypes Stefans seems to work ok, but in turn causes problems with MUI39. That's life.

Last edited by Michael; 02 December 2014 at 05:08.
Michael is offline  
Old 04 December 2014, 01:45   #1270
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
Update to icon.library 46.4.403:

Improved safty requester for saving and converting TrueColor icons in the OS 3.5 format. It's now possible to allow or prevent the conversion for all icons in the current drawer (which path is also displayed in the requester). This was very difficult to achieve since the Workbench and DOpus5 are handling dir locks differently. Please tell me about any unexpected effects.

Last edited by PeterK; 10 May 2018 at 21:20.
PeterK is offline  
Old 04 December 2014, 20:07   #1271
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 841
The order of the buttons needs to be changed imho.
Yes Always to be placed under Yes this icon.
This will align all negatives to one side.
Michael is offline  
Old 05 December 2014, 19:00   #1272
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
No, the two drawer related buttons should appear close to the "Dir =" line.
Btw, the PNG iconset shown on the screenshot can be downloaded from Aminet:
http://aminet.net/package/pix/picon/GlowRevolution3
PeterK is offline  
Old 05 December 2014, 21:50   #1273
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 841
Thanks for the icon hint, do you know/remember where the original NewIcon or Gi versions were?

As for the button, I am afraid the lines have nothing to do with their position since your (AmiKit) orientation is very rare and hacked, by default all buttons are at the bottom in one row.
And logic says that the the current order is not good and a bit confusing in that case.
Michael is offline  
Old 05 December 2014, 23:29   #1274
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
No, I've never seen the GlowIcon or NewIcon version of this iconset.

Yes, I know the standard EasyRequestArgs()-function of intuition displays the buttons below the requester text. Nevertheless, I won't change the button order and I don't know what's so confusing with it. You will get used to it sooner or later.

But who wants to live still without ReqAttack? It depends on the settings of Prefs/ReqAttack => Edit => Requester => Button Position (top, bottom, left or RIGHT).
PeterK is offline  
Old 06 December 2014, 03:24   #1275
ancalimon
Supernormal
 
ancalimon's Avatar
 
Join Date: Jul 2007
Location: Istanbul / Turkey
Age: 43
Posts: 1,416
How do I configure the color of icon text outline and shadow?
ancalimon is offline  
Old 06 December 2014, 05:22   #1276
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
@ancalimon

Wrong question !!
You would better ask: Why should I read a readme file ?

Quote:
Other new features are the ghosted deficons (50% transparent)
and the optional outline text for icons on the Workbench v44+.
Furthermore, you can enable shadow text for icons on WB 3.5+.
Generating the shadow text is a lot faster than outline text.
....
To enable the outline text call OutlineIconText before LoadWB.
For shadow text call ShadowIconText from the startup-sequence.
In Prefs/Fonts you should set the text and the field color for
the text background and then switch back into text only mode.
PeterK is offline  
Old 06 December 2014, 07:22   #1277
ancalimon
Supernormal
 
ancalimon's Avatar
 
Join Date: Jul 2007
Location: Istanbul / Turkey
Age: 43
Posts: 1,416
Quote:
Originally Posted by PeterK View Post
@ancalimon

Wrong question !!
You would better ask: Why should I read a readme file ?
I read the readme but I read wrong :P Didn't see the "field" part.
ancalimon is offline  
Old 06 December 2014, 11:35   #1278
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 841
There are more problems...

A compromise for the order, button 3 and 4 change places.
This will keep the dir button near dir as you wish.
Also you need to set fonts and button size properly so it matches more or less when patched in vertical requester.

Now why you have a space in requester title ?!

And finally, it does not work ok in classic mode (does not fit!)
We need to shorten the button text a bit.

Yes this dir & No this dir

Hopefully it will fit.

Also now even WB refuses to copy icons without confirming changing
Previous version allowed to copy icons as is when you hit No, cancel
only DO failed, and still does.
Attached Thumbnails
Click image for larger version

Name:	req1.png
Views:	167
Size:	29.8 KB
ID:	42395   Click image for larger version

Name:	req2.png
Views:	164
Size:	2.1 KB
ID:	42396  
Michael is offline  
Old 06 December 2014, 13:38   #1279
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
Sorry Michael, but sometimes you don't get it. We are not on an oriental bazaar here, I don't want to negotiate the appearance of this requester.

If you want to change the button text (but not the order), you can simply take any hex-editor and modify (translate or shorten) the strings starting at offset $5A72. The button text starts at $5B02 and ends at $5B46, all in one string with "|" signs working as separators. Of course, every string is finished with a $00 character finally.
Attached Thumbnails
Click image for larger version

Name:	requester.png
Views:	138
Size:	15.6 KB
ID:	42397  
PeterK is offline  
Old 06 December 2014, 14:22   #1280
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 841
All I am trying to say is that you are breaking the classic rule
All requesters must fit 640x200 display in topaz 8
And your library is used on many classic setups.
So please modify it so that it fits.
Otherwise it's a clear bug by the book.

As for the order of buttons, it's just a suggestion, you don't like it and that's absolutely fine, it's your toy in the end.

So what happened to WB icon copy ? Why it's not working anymore ?
Michael is offline  
 


Currently Active Users Viewing This Thread: 3 (0 members and 3 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 05:27.

Top

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