home *** CD-ROM | disk | FTP | other *** search
- ************************************************************************
- * Changes from the original EasyGUI 3.3b4 module code
- ************************************************************************
-
- You only need to read this if you are going to tweak any of the
- sources, or if you are willing to know what i did.
- Programmers info is provided in the EasyGUI_OS12 doc.
-
- Note that all these changes only affect EasyGUI on older Amiga-OS
- versions, if a newer version is detected then ALL remains the same.
- Also note that all changes could be switched off by commenting out
- the "#define EASY_OS12" line.
-
-
- gadtools.library
- ----------------
-
- The gadtools.library is opened in the following way:
-
- - setinit()
- EG attempts to open V36 of gadtools.library, and, if that fails
- attempts to open V34 of gadtools13.library, and if that fails
- too, EG will raise an exception as usual.
-
-
- utility.library
- ---------------
-
- The utility.library is fully optional now:
-
- - makehandle()
- EG just attempts to open V36 of utility.library (which is a library
- base private to EasyGUI) and if that fails the utilitybase will
- be NIL (no more exception here). All taglist parsing is done by the
- module hybrid/tagdata -> getTagData() which uses the utility
- function or a replacement, depending on the value of utilitybase.
-
-
- intuition.library
- -----------------
-
- intuition.library version sensitive code had to be added to the
- following routines, using the module hybrid/version -> intuiVersion()
- to switch between the new functions and the "old scool" way to do things:
-
- - setgui()
- ChangeWindowBox() -> MoveWindow()/SizeWindow()
- VideoControl() -> s.width-xsize/2 / s.height-ysize/2
- OpenWindowTagList() -> module hybrid/openwin -> openWindowTagList()
- The screen passed to the above function is SCREENPOINTER, which is defined
- different for both versions of EasyGUI, the normal version just passes
- gh.scr, the OS12 version passes NIL when opening on an old-OS workbench
- screen, since there is no real screen pointer available (see ouch below).
- - openwin()
- LockPubScreen() -> NEW gh.scr / GetScreenData() (ouch)
- - closewin()
- UnlockPubScreen() -> END gh.scr (ouch)
- - getrealbot()
- GetScreenDrawInfo()/NewObjectA() -> fixed size SIZERY=10
-
- - BUGFIX: movewin()/sizewin()
- Added parameter clipping to prevent intuition from trashing the entire
- system when moving/sizing windows across the borders of a screen. (Newer
- intuition is safe with any values)
-
-
- exec.library
- ------------
-
- Two exec function calls were replaced with exec.library version
- sensitive hybrid code from the module hybrid/ports -> createMsgPort()
- and deleteMsgPort(), which uses amigalib/ports on lower exec versions
- instead:
-
- - CreateMsgPort() used by setinit() and multiinit()
- - DeleteMsgPort() used by cleaninit() and cleanmulti()
-
-
- workbench.library
- -----------------
-
- All App-windows (and gadgets) safely degrade graceful under older
- Amiga-OS versions due to these changes:
-
- - setinit()
- EG attempts to open workbench.library V36, and, if that
- fails EG will not bomb out any more but will set gh.awproc
- to zero. (so no appwin will be created for that gui).
- gh.wb_isopen is used as one would expect.
- - creategadget()
- gh.gl.mutualexclude is only set to EG_MAGIC if gh.wb_isopen is TRUE
-
-
- ************************************************************************
- * Changes to the demo sources and plugins:
- ************************************************************************
-
- All changes could be switched off by commenting out the
- "#define EASY_OS12" line.
-
- - osversion:
- OSVERSION=37 has been disabled everywhere
-
- - module names
- OS12 compatible plugins all end in an "_os12"
- OS12 compatible tools/easygui_os12 is included everywhere
-
- - tagdata code:
- utility.library/GetTagData replaced by hybrid version
- from module 'hybrid/tagdata'
-
- - utility code:
- utility.library is opened optional using module 'hybrid/utility'
-
- - drawinfo code:
- Get/FreeScreenDrawInfo intuition version sensitive code from
- module 'hybrid/drawinfo'
-
- - PrintF:
- All occurances of "PrintF" have been changed to "WriteF"
-
-
- Changes from the original EasyGUI 3.3b4 plugins and demo sources
- ----------------------------------------------------------------
-
- - all_os12.e osversion + module names + LARGE for OS12 version
- - testaw_os12.e osversion + module names + PrintF
- - testchange_os12.e osversion + module names
- - testchange_os12_2.e osversion + module names
- - testkey_os12.e osversion + module names + PrintF
- - testmulti_os12.e osversion + module names
- - testmulti_os12_2.e osversion + module names
- - testqual_os12.e osversion + module names + PrintF
- - ticker_os12.e osversion + module names
- - test_ticker_os12.e osversion + module names
- - password_os12.e osversion + module names
- - password_test_os12.e osversion + module names + PrintF
-
-
- Changes from the EasyPlugins 1.8 by Ali Graham
- ----------------------------------------------
-
- - bar_os12.e osversion + module names + tagdata code
- - bar_os12_demo.e osversion + module names + utility code
- - corners_os12.e osversion + module names + tagdata code
- - corners_os12_demo.e osversion + module names + utility code
- - space_os12.e osversion + module names + tagdata code
- - space_os12_demo.e osversion + module names + utility code
- - xygadget_os12.e osversion + module names + tagdata code
- - xygadget_os12_demo.e osversion + module names + utility code
- - dclistview_os12.e osversion + module names + tagdata code
- - dclistview_os12_demo1.e osversion + module names + utility code + PrintF
- - multitext_os12.e osversion + module names + tagdata code
- - multitext_os12_demo.e osversion + module names + utility code + diskfont.library -> V33 + 2 standard wb fonts
- - toolbar_os12.e osversion + module names + tagdata code
- - toolbar_os12_demo.e osversion + module names + utility code
- - location_os12.e osversion + module names
- - location_os12_demo.e osversion + module names
- - popmisc_os12.e osversion + module names + tagdata code + strcmp code
- - popmisc_os12_demo.e osversion + module names + utility code + LARGE for OS12 version
- - iconbox_os12.e osversion + module names + tagdata code
- - iconbox_os12_demo.e osversion + module names + utility code + icon.library -> V0
-
-
- Changes from the EasyPlugins 1.8 by Fabio Rotondo
- -------------------------------------------------
-
- - icongad_os12.e osversion + module names + ram:disk(.info) -> sys:disk(.info)
- - icongad_os12_demo.e osversion + module names
- - rawkey_os12.e osversion + module names
- - rawkey_os12_demo.e osversion + module names
-
-
- Changes from the EasyPlugins 1.8 by Ralph Wermke
- ------------------------------------------------
-
- - simplegauge_os12.e osversion + module names + tagdata code + version code + utility code + drawinfo code
- - simplegauge_os12_demo.e osversion + module names + utility code
-
-