Logo by Nickman (anonymous IP: 18.116.90.161,2258) | ||||||||||||||
| ||||||||||||||
Audio (343) Datatype (51) Demo (203) Development (602) Document (24) Driver (97) Emulation (149) Game (1011) Graphics (500) Library (118) Network (234) Office (66) Utility (932) Video (69) Total files: 4399 Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
Support the site
|
OO library brings object class style and easier programming to plain C language and AmigaOS. OO library makes also possible to create GUI's using GUIML (Graphical User Interface Markup Language). *** CHANGED ALL CALLBACKS in release 2.1 *** Callback functions in Amiga software uses usually func(struct Hook *, APTR object, APTR message) argument setup. Check the documentation for details. *** NOTE! Remember to open minimum version 2 of the oo.library ! *** *** NOTE: OO library uses it's own different sets of arguments in callback functions. That will change in the future releases. Amiga standard set of arguments will be used in callback functions in the next OO library release. They are struct Hook*, APTR object, APTR message where the message will be different structure for each callback. Check them in the header files. Prepare to change your tools and utilities which uses the OO library and recompile them. *** *** NOTE: Random class has it's own ooRandom.h header file. ooSys.h has been removed! *** *** NOTE: List class has it's own ooList.h header file. ooSys.h has been removed! *** * Known problems v1.17: Reading GUIML might crash! * Known problems v1.17: Using the close button of clicktab tabs will crash! * Requirements: knob.gadget, radiobuttonX.gadget, picflow.gadget, drawer.gadget (included in the package); avcodec2.library, avformat2.library, avutil2.library, swresample2.library, swscale2.library for Video class and can be found from Emotion video player package * Requirements for secure networking: AmiSSL v5 (minimum) Permission granted to redistribute oo.library in binary form in software packages made for AmigaOS and using the oo.library. Note: New releases of the library should be compatible with software using the older versions but recompiling your projects using the oo.library is recommended still. Drawing graphics to a window: Add a Space gadget to your window layout and use the Space gadget object to create a Graphics object. Use the Graphics object to draw into the Space gadget's rastport (which is the windows rastport). Graphics class takes care of rastport's and double buffering. Included examples: Drawerview, GUIfromGUIMLfile, KeyValuePairs, SamplePlayer, SimpleAudio, SimpleDOS, SimpleGUI, SimpleHTTP, SimpleServer, SimpleVideo, SimpleSpaceShooter, SimpleTalk, Inheritance, SimpleWWW, SimpleXML, ListTest, SimpleCalendar. Some highlights: * OO Window class adds new choices to a window popup menu (the popup gadget in a window title bar), when enabled: - Full screen mode: A custom screen is opened and the window is moved there and resized to fill up the screen below the screen title bar - Split screen mode: The window is resized to fill horizontally half of the screen area and moved either left side or right side of the screen (a modern feature to see two documents side by side, for example). Now there's options for quarter sized windows as well since v1.18. - Public screens, which are defined in Screen prefs and marked as auto open/close but not opened yet, are listed for screen jumping as well as already open public screens Version history: - 2.6 (4th October 2023): - New full screen button to window frame (using system ZOOM image) - Added StrFromUTF8() and StrToUTF8() functions to both Tool and Dos classes - Added DrawTextUTF8(), DrawTextColored() and DrawTextColoredTagList() functions to Graphics class (Space class) - 2.5 (7th June 2022): - Network class adapted for AmiSSL v5 - No other functional changes - Added information to the documentation - 2.4 (27th May 2022): - FIXED important bug in Window class JumpToPublicScreen method: All GUI objects will be set to new window pointer |
Copyright © 2004-2024 by Björn Hagström All Rights Reserved |