Slimelite BBS

MagnifyClass39.lha

Back to gui

Picture magnifying class for BGUI includi

Size
138K (141,285 bytes)
Added
2026-11-20 02:43
Downloads
2
Long Description
Small Bugfixes: - TestMagnify demos now also run on a 640x256 screen (instead only on >640x400) - RESTRACK option disabled for link & shared library MagnifyClass Version 39.2 ------------------------- MagnifyClass is (C) 1995/96 by Reinhard Katzmann and FREEWARE. All Rights reserved. Introduction ------------ Old users: Read the Changes section! Warning: You _must_ replace the old magnify_bgui.gadget before using the shared lib demo or your system may crash! This is the second release of Magnifyclass, a picture sizing (or magnify- ing) class for BGUI. I've included a test program (testmagnifyclass) for playing around. For closer information read magnifyclass.doc. If you don't know what the hell BGUI is, read the BGUI.intro text file :-) The usage of the class is similar to paletteclass or popbuttonclass which came both with BGUI12. The class was written with SAS/C6.56 but should work fine with other compilers, too. Please tell mel if you have any problems compiling the class. If you have compiled the class, simply link it with your program using the class. SAS/C-User may not forget to set the NOSTACKCHECK Option!! (This should belong to th BGUI-FAQ ;-) Copyright & Disclaimer ---------------------- MagnifyClass is (C) 1995/96 by Reinhard Katzmann. All Rights reserved. MagnifyClass is FREEWARE, i.e. you must not pay me anything using it with Public Domain, Freeware, Shareware and Giftware programs. Usage in commercial programs is NOT allowed without the written permission from me! It may and should be distributed on the BGUI Home Page and to the BGUI ftp server(s). Ian J. Einman has the exclusive right to add the (hopefully) bug-free version with the coming BGUI release(s). Distribution ------------ You may distribute this class freely as long as you don't charge any money for it. It may not be uploaded on any BBS which claim copyright on uploaded material. It may be only distributed as long as no profit is made out of it. If you want to distribute this archive on a magazine coverdisk you must send me a complimentery copy of the magazine issue in which it appears to my home address (see Cnntacting below). It may be freely included in PD Series or CD ROMs like the Aminet/Fresh Fish CD or Times series. Changes ------- V39.2 - Completely compiled with SAS/C 6.57 - MAGNIFY_GrapWidth/Height values are no longer width and height of the object but the size of the picture and they are no longer settable in initilisation - Consequently the object is no longer forced to use MAGNIFY_GrapWidth/Height as minimum dimensions. - You can instead use MAGNIFY_ScaleWidth/Height to specify which percentage of the picture you always want to view (only for startup) - Use MAGNIFY_BoxWidth/Height to be notified when the size of the window and thus the size of the magnify object changes. - Object size does not need to ne fixed any longer. Removed many problems with setting (left mouse button) and rendering to make this possible - Grid was drawn one pixel to large (both width & height) - RenderBitMap() used a wrong reference to the RastPort Usage ----- You need to have installed bgui.library V39 or better. Also the demo program uses iff.library for loading iff images. There exist two (or three) possibilities to use it. Either you use it as external gadget class (this is important if you don't program in C/C++ and you can not include SAS/C link libs in your code) or as an SAS/C (Dice/GCC ?) Link Library. You also can simply compile it and include the resulting object file. Warning: I did not create an option in the smakefile for DATA=FAR (i.e. tell the compiler to use 32 bit-references instead of 16bit). But I don't think it's difficult for you to add it, in case you need it in your application. I would not use it as external (shared library) gadget class because the size of gadget class + app is ~10k bigger than using it with link lib. It would only be useful if many apps are using it or i