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.
Latest changes:
~~~~~~~~~~~~~~
"Tricky Drag°n" allows icon dragging in true RGB colors
and with soft alpha channel fading at the borders with
P96 on Workbench 3.0-3.9 for OS4 and PNG icons and RGB
for palette based ColorIcons and NewIcons. This should
also work with P96 v3.x, but I can't test new versions.
"Tricky Drag°n" now also works under DOpus 5.x on P96
RTG screens without using "Custom Dragging Routines",
even with DOpus 5.9x, but not under Aros 68k or CGX4.
Improved the identification of the main DOpus5 process.
Added workarounds for some rtg-lib v42 palette issues,
with WB in TrueColor, but DOpus5 in chunky screen mode,
while color mapping should occur on non-active screens.
This problem does not exist with rtg.libraries v39-41.
"DOnoColorMapping" is always activated for TrueColor
versions now, so this option is not required anymore.
Only the dragged icon under the mouse pointer appears
half-transparent as usual on Workbench, all the other
icons will remain opaque. On DOpus5 this was a random
selection before how the transparency was spreaded.
In order to reduce the amount of data that has to be
transferred between the CPU and the gfx-card over the
slow Zorro bus, the rectangles of TrueColor images are
made as small as possible by removing the outer parts,
which are nearly 100 % transparent, when alpha is 0-2.
This was already implemented for ColorIcons on RTG.
The rectangles of the first images (unselected icons)
can be reduced by 20-40%, but the 2. images only < 5%,
because the glow effect covers most of the free space.
For some configurations the delayed image decoding of
the selected icons is not immediately possible for the
invisible icons which are at positions outside of the
current window view. If you click on "Select all icons"
and drag them around then the "hidden" icons may appear
as half transparent or striped rectangles or small dots.
The delayed decoding improves the window opening speed.
Fixed a bug in the delayed decompression of the second
image of ColorIcons (RLEjit) for a ProcessIcon issue.
A 2. bug in IconControlA(GetImageData2) has been fixed.
FastWB will use do_ToolWindow only as Workbench task,
and checks ib_ActiveWindow for possible NULL-pointers.
Color mapping checks for *ColorMap changes in order to
refresh the cache, and will reject wrong icon screens.
Until now only any changes of NShared were monitored.
There are seperate RTG flags for WB and other screens.
Some memory leaks have been fixed for the WB refresh.
"DiskMagic" will also be set for GetDiskObject(NULL).
A ReadDiskObject Low-Memory bug has been fixed and the
Open() call for icons is done prior to mem-allocation
in order to avoid a reversal in case of missing icons.
Splitted the source into two branches, 1 for TrueColor
and the other one for the 68000 and 68020 versions.
Removed some dead 680x0 code from TrueColor versions.
Removed all WB 3.1 related code from the Aros version.
Added a special "HalfBright" version which replaces the
automatic glow-effect for TrueColor icons with 1 image.
There are no new features added to the 680x0 versions,
but some existing known bugs have been fixed. Updates
for HAM8, CGX4 and Aros may come in future releases...
Letzte Änderungen:
~~~~~~~~~~~~~~~~~
"Tricky Drag°n" erlaubt das Icon-Ziehen mit RGB-Farben
und weichen Alpha-Kanal Übergängen an den Rändern mit
P96 auf Workbench 3.0-3.9 für OS4 und PNG Icons und RGB
für palettenbasierte OS 3.5 und NewIcons. Dieser neue
Gfx-Patch Hack sollte auch mit P96 v3.x funktionieren,
aber ich kann es nicht selbst testen, da ich v2 nutze.
"Tricky Drag°n" funktioniert jetzt auch mit DOpus 5.x
auf P96 RTG Screens ohne die "speziellen Ziehroutinen",
sogar mit DOpus 5.9x, aber nicht unter Aros oder CGX4.
Die Erkennung des DOpus5 Hauptprozesses erfolgt besser.
Vermeidung einiger rtg-lib v42 Farbfehler der Palette,
bei WB in TrueColor, aber DOpus5 im Chunky-Screenmode,
wo ColorMapping auf inaktiven Screens erfolgen sollte.
Bei rtg.library v39-41 existiert dieses Problem nicht.
"DOnoColorMapping" ist bei den TrueColor Versionen nun
immer aktiviert, so dass die Option überflüssig wird.
Wie bei der Workbench üblich, wird nur das Icon unter
dem Mauszeiger halb-transparent dargestellt, solange
verschoben wird, alle anderen bleiben undurchsichtig.
Bei DOpus5 gab es zuvor zufällige Icon-Transparenzen.
Um die Datenmenge zu reduzieren, die zwischen der CPU
und der Grafikkarte über den langsamen Zorro-Bus über-
tragen werden muss, werden die Rechtecke der TrueColor
Bilder soweit wie möglich verkleinert, indem die fast
100 % transparenten Bereiche am Rand entfernt werden,
wo Alpha 0-2 ist. Dies gab es für ColorIcons bereits.
Die Rechtecke der ersten Icon-Bilder (nicht selektiert)
können um 20-40% verkleinert werden, die 2. nur < 5%,
weil der Glow-Effekt den meisten freien Platz abdeckt.
Bei einigen Konfigurationen kann die verzögerte Bild-
Dekodierung für die nicht sichtbaren Icons ausserhalb
des Fensterbereichs nicht mehr zeitnah vor dem Ziehen
erfolgen, wenn man "Alle Icons auswählen" anklickt. Die
zuvor verdeckten Icons erscheinen dann nur als halb-
transparente oder gestreifte Rechtecke oder als Punkte.
Verzögertes Dekodieren beschleunigt das Fenster-Öffnen.
In der verzögerten Dekomprimierung des zweiten Bildes
von ColorIcons wurde ein Fehler für ProcessIcon gefixt,
ein 2. Bug in IconControlA(GetImageData2) nachträglich.
FastWB nutzt do_ToolWindow nur noch als Workbench Task
und testet ib_ActiveWindow auf mögliche NULL-Pointer.
Das Colormapping prüft Änderungen von *ColorMap, um den
Cache zu löschen und weist falsche Icon-Screens zurück.
Zuvor wurden nur Veränderungen von NShared überwacht.
Für WB und andere Screens gibt es 2 seperate RTG-Flags.
Es wurden mehrere Speicherlecks beim WB-Refresh gefixt.
"DiskMagic" wird auch bei GetDiskObject(NULL) gesetzt.
Ein ReadDiskObject Low-Memory-Bug wurde behoben und der
Open()-Call für Icons erfolgt vor der Speicherbelegung,
damit es bei fehlendem Icon nicht revidiert werden muß.
Der Source wurde geteilt, in einen Zweig für TrueColor
und den anderen nur für die 68000 und 68020 Versionen.
Es wurde 680x0-DeadCode aus den RTG Versionen entfernt.
Der WB 3.1 betreffende Code wurde bei Aros entfernt.
Eine spezielle "HalfBright" Version wurde hinzugefügt,
die den automatischen Glow-Effekt bei TrueColor Icons
mit nur einem Bild ersetzt.
Für die 680x0 Versionen gibt es keine neuen Features,
aber die bekannten Fehler wurden behoben. Updates für
HAM8, CGX4 und Aros folgen vielleicht irgendwann mal...
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. They may switch into a low
quality mode after a while and it's not recommended to
use them on AmiKit X or XE, which are not supported
anymore! 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 schalten sich möglicherweise nach einiger Zeit
in einen Modus mit geringerer Qualität und es wird
nicht empfohlen, sie mit AmiKit X, XE zu verwenden,
die inzwischen nicht mehr unterstützt werden !
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-2022:
~~~~~~~~~~~~~~~~~~~
Peter Keunecke
|