Latest changes:
~~~~~~~~~~~~~~
Added a screen check to the functions GetDiskObject()
and GetDiskObjectNew(), which are often used by old
programs. If the process window appears on the Active
Screen then the color mapping will be done for that
and not for the default GlobalScreen like Workbench.
This can be useful if windows with icons should open
on a second screen, not WB, i.e. SwazInfo on DOpus4.
Added a workaround for a bug in Startmenu 1.30 from
Martin R. Elsner (MRE). Without any understandable
reason Startmenu uses IconControlA() with SetWidth to
change the internal width of the chunky image to 10.
That setting is ignored now for the task "Startmenu".
This won't work for a Project-icon in WBStartup. Copy
MRE:Executables/Startmenu with its icon to WBStartup.
This library needs the chunky image for DirectDrawing
the exact RGB icon colors on Hi/TrueColor screens. I
don't know what the author really wants to set to 10,
but changing the width without updating the image is
quite pointless and results in an image corruption.
Fixed a bug in my palette optimization for ColorIcons
when there was only 1 shared palette for both images.
The transparent color of the 2. image wasn't updated.
Sharing just one palette for both images is rarely a
good idea, because mostly both images will then need
more bits per pixel than for two smaller palettes,
and therefore the image compression may even suffer.
In the version string of #579 a space character was
missing, confusing the AmigaOS version command a bit.
Letzte Änderungen:
~~~~~~~~~~~~~~~~~
Bei den 2 Funktionen GetDiskObject/New() wird jetzt
geprüft, ob das Fenster des Prozesses auf dem Active-
Screen erscheint. Falls ja, werden die Icon-Farben
für dessen Palette gemappt und nicht per Default für
den GlobalScreen wie die Workbench. Dies hilft dann,
wenn Fenster mit Icons auf einem anderen Screen als
der WB angezeigt werden, z.B. SwazInfo auf DOpus4.
Für einen Bug in Startmenu 1.30 von Martin R. Elsner
(MRE) wurde ein Workaround hinzugefügt. Ohne irgend-
einen verständlichen Grund ändert Startmenu mittels
IconControlA() und SetWidth die Breite der internen
Chunky-Bilder auf 10. Diese Änderung durch eine Task
"Startmenu" wird nun ignoriert. Das geht aber nicht
mit dem Project-Icon in WBStartup. Dafür kopiert man
MRE:Executables/Startmenu plus Icon nach WBStartup.
Die Library braucht die Chunky-Bilder für exakte RGB
Farben durch DirectDrawing auf Hi/TrueColor Screens.
Ich weiß nicht, was der Autor wirklich auf 10 setzen
wollte, aber die Breite zu ändern ohne die Bilder zu
aktualisieren macht kaum Sinn und ergibt Grafikmüll.
Ein Fehler in der Palettenoptimierung für ColorIcons
mit nur einer Palette für beide Bilder wurde behoben.
Die transparente Farbe des 2. Bildes wurde nach der
Optimierung der Palette nicht aktualisiert. Nur eine
gemeinsame Palette zu nutzen, ist selten vorteilhaft,
denn meistens brauchen die beiden Bilder dann mehr
Bits pro Pixel als bei zwei kleineren Paletten und
lassen sich folglich beide schlechter komprimieren.
In der Versionsangabe von #579 fehlte ein Leerzeichen
und verwirrte den AmigaOS Versionsbefehl ein wenig.
Description:
~~~~~~~~~~~
This is an optimized replacement for the icon.library
of AmigaOS 3.0-3.9 or Aros 68k which can exist in the
Kickstart ROM or is loaded from the LIBS: directory.
This shared library offers several functions to load,
decode, display and save icon images and to configure
settings for the execution of the associated programs
by storing tooltypes, a default tool, stacksize, icon
position and drawer window data in the ".info" files.
Supported icon types are all old and MWB planar icons
as well as color-mapped NewIcons or OS 3.5 ColorIcons
and also OS4 and PNG TrueColor and merged Aros icons.
All icons can be displayed either with the blitter or
FBlit and the Amiga chipset or on a graphics card by
P96 or CGX in their best quality as fast as possible.
Beschreibung:
~~~~~~~~~~~~
Dies ist ein optimierter Ersatz für die icon.library
von AmigaOS 3.0-3.9 oder Aros 68k, die im Kickstart ROM
existiert oder aus dem LIBS: Verzeichnis geladen wird.
Diese Shared Library enthält die Funktionen zum Laden,
Dekodieren, Anzeigen und Speichern von Piktogrammen und
zum Verwalten von Einstellungen für die Ausführung der
zugehörigen Programme durch Erfassen von Tooltypes, dem
DefaultTool, der Stackgrösse, der Icon-Position und bei
Verzeichnissen von Fensterdaten in den ".info"-Dateien.
Unterstützt werden alle alten planaren und MWB-Icons,
sowie palettenbasierte NewIcons oder OS 3.5 ColorIcons,
als auch OS4 oder PNG TrueColor-Icons und Aros Icons.
Alle Icons werden entweder per Blitter oder FBlit vom
Amiga-Chipsatz oder mit P96 bzw CGX auf Grafikkarten in
ihrer besten Qualität so schnell wie möglich angezeigt.
Distribution:
~~~~~~~~~~~~
This program is freeware. I don't give any warranties.
You are using this program on your own risk and you
are responsible for any damage it could cause to your
system. This icon.library is completely independent
and free of the AmigaOS copyright. :)
It's not allowed to distribute or install the TrueColor
versions of this icon.library with or on AmiKit X or XE
or any other freeware distro or software package for
more than 10 Euro. Any other bundling with commercial
products is prohibited, too. This applies to the Aros-,
LD020 and all v51 versions. But you can still use the
new 68000 or 68020 versions, or any other versions of
older releases up to Build #538 without restrictions.
Verteilung:
~~~~~~~~~~
Dieses Programm ist Freeware. Ich gebe keine Garantien.
Die Benutzung erfolgt auf eigenes Risiko und der Nutzer
trägt für jegliche Schäden an seinem System selbst die
Verantwortung. Diese icon.library ist vollständig frei
und unabhängig vom AmigaOS Copyright. :)
Die Verteilung oder die Installation der TrueColor
Versionen dieser icon.library mit oder auf AmiKit X,
AmiKit XE oder einer anderen Freeware Distribution
für mehr als 10 Euro sind nicht erlaubt. Jede Art der
Bündelung mit kommerziellen Produkten ist verboten.
Dies gilt für die Aros-, LD020 und alle v51 Versionen.
Sie können aber weiterhin die neuen 68000 oder 68020
Versionen oder andere Versionen von älteren Ausgaben
bis hin zu Build #538 ohne Einschränkungen verwenden.
Copyright 2007-2023:
~~~~~~~~~~~~~~~~~~~
Peter Keunecke
|