Short: free icon.library in optimized ASM code Author: Peter Keunecke Uploader: pkeunecke alice-dsl net Type: util/libs Version: 46.4.582 Requires: 68000 CPU or 68020+ Architecture: m68k-amigaos >= 3.0.0 Latest changes: ~~~~~~~~~~~~~~ Another small fix for the color mapping, when more than one screen is open and an icon of a mounted disk should suddenly appear on the inactive screen in the background. There was a workaround for a few P96 3.x versions which forced DOpus5 to map icon colors for the active screen, because P96 was confused by switching screenmodes, but then mounted disks showed wrong colored icons. Now disk icons are an exception for this older P96 workaround. And there was an Enforcer read-hit on WB 3.0/3.1 after the switching to a new screenmode when the wrong colored icons were selected. The screen depth was read from the old rastport bitmap. Since an icon selection will only happen on the active screen, this can be corrected now, although it was a harmless bug anyway. In order to get a correct color mapping after a screen mode switching on WB 3.0/3.1 I've written the small tool RefreshIcons, which will try to reload or remap wrong colored icons in all open or silent windows and also the disk icons and left out icons on the Workbench screen. This tool executes the "Update All" function from the WB menu, then calls the UpdateWorkbench() function for all the objects that were skipped and for all volumes as well as all left out icons in the ".backdrop" files. If disks don't have a real icon then only a DiskChange can reload the deficons by sending an Inhibit command. Unfortunately, a DiskChange can take quite a long time, therefore the update for floppy disks waits 5 seconds. The new RefreshIcons tool was added to the bonus drawer together with some nice icons contributed by Mason. Thx! Letzte Änderungen: ~~~~~~~~~~~~~~~~~ Ein weiterer kleiner Fix für das Colormapping bei mehr als einem geöffneten Bildschirm, wenn gemountete Disks mit ihrem Icon plötzlich auf einem inaktiven Screen im Hintergrund erscheinen sollen. Es gab einen Workaround für einige P96 3.x Versionen, bei dem DOpus5 gezwungen wurde, Icons für den aktiven Screen zu mappen, da P96 durch die Screenumschaltung verwirrt wurde (gefixt), aber im Hintergrund geladene Disks hatten nun falsche Farben. Disks werden jetzt vom Workaround ausgenommen. Und es gab einen Enforcer Read-Hit auf WB 3.0/3.1 nach einer Screenumschaltung, wenn ein falschfarbiges Icon selektiert wurde. Die Farbtiefe wurde noch vom alten Screen aus der RastPort-Bitmap gelesen. Weil Icons nur auf dem aktiven Screen selektiert werden können, wird dieser Fehler jetzt korrigiert, obwohl er harmlos war. Um für die WB 3.0/3.1 nach einer Screenmodeumschaltung wieder korrekte Farbzuweisungen für die ColorIcons zu erhalten, habe ich das RefreshIcons Tool geschrieben, das versucht, alle Icons neu zu laden oder zu mappen, die sich in geöffneten oder Silent-Fenstern befinden, sowie alle Disks und ausgelagerten Icons auf der WB. Das Tool führt zunächst "Alles aktualisieren" aus dem WB Menü aus und ruft danach für ausgelassene Objekte die Funktion UpdateWorkbench() auf, aber auch für alle Volumes und ausgelagerte Icons auf der Workbench. Bei Disks ohne ein echtes Icon funktioniert dies nicht, weshalb dann ein DiskChange zum Laden des DefIcons mit dem Befehl Inhibit ausgeführt wird. Bei Floppy-Disks kann dieser Reload mit 5 Sekunden Delay lange dauern. Das neue RefreshIcons Tool liegt im Bonus-Verzeichnis zusammen mit einigen schönen Icons von Mason. Danke! 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-2024: ~~~~~~~~~~~~~~~~~~~ Peter Keunecke