OS4 DepotLogo by Nickman 
(anonymous IP:,1551) 

   Bug tracker
   Locale browser


   o Audio (331)
   o Datatype (50)
   o Demo (188)
   o Development (555)
   o Document (21)
   o Driver (90)
   o Emulation (143)
   o Game (903)
   o Graphics (477)
   o Library (103)
   o Network (212)
   o Office (60)
   o Utility (837)
   o Video (64)

Total files: 4034

Full index file
Recent index file



Support the site

 Readme for:  Development » Library » oo.lha

OO library

Description: Bring easier programming to C and AmigaOS
Download: oo.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 1Mb
Version: 1.7
Date: 26 Jan 2020
Author: Tuomas Hokka
Submitter: Tuomas Hokka
Requirements: Check the Readme
Category: development/library
Replaces: development/library/oo.lha
License: Freeware
Distribute: yes
Min OS Version: 4.1
FileID: 11154
Comments: 9
Snapshots: 2
Videos: 0
Downloads: 37  (Current version)
498  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
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).

* 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 

Permission granted to redistribute oo.library in binary form in software
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

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.

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
 - Half 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)
 - 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:
- 1.7 (26th January 2020):
 - Bug fixes
 - Implemented some unimplemented functions
 - Added MIDI class

- 1.6 (3rd March 2019):
 - Important ! Fixed Virtual gadget so it won't dispose all the (Intuition)
objects when updating content
 - Important ! Fixed List object using wrong value internally which prevented
   alloc node and free node handlers
 - Added RemoveObject, RemoveChild, RemoveImage methods to Layout gadget
 - Added GetSuccObj, GetPredObj to Node class and List class
 - Added GetHeadObj, GetTailObj to List class
 - Fixed documentation

- 1.5 (6th January 2019):
 - *** Fixed string printing functions in Tools class
 - Added DateTime class
 - Added new features to AInput class (updated Tool class also)
 - Added RequestFont function to Graphics class
 - Added command line args handling functions to DOS class
 - Added more functions to different classes
 - Some other improvements and fixes
 - Some of the examples modified a bit and all of them recompiled

- 1.4 (24th November 2018):
 - *** Fixed very important bug, wrong amount of memory was allocated for the
Video object ***
 - *** Fixed handling of nested GUI layouts in GUIML parser ***
 - Added Virtual gadget class to Tool class
 - Added GetFile gadget to Tool class
 - Added GoHalfScreen() to Window class
 - Added GetNodeUserData() to ListBrowserGadget class
 - Added EnableHalfScreenMenu() to Window class
 - Added half screen menu item to window popup menu (if it's enabled, see above)
 - Added GetWindowLeft() and GetWindowTop() to Window class
 - Added GetBitMap() to BitMap class
 - Added GetFrame() to Video class
 - Implemented two new objects and related methods to Video class
 - Added 3 methods to handle AppWindow or drag&drop window and zone handling
 - Removed unnecessary code from some examples
 - Added new examples

Copyright © 2004-2020 by Björn Hagström All Rights Reserved