
    UROUHACK V0.8 alpha by Tinic Urou in 1996
    ----------------------------------------------------------------------

    NOTE: THIS IS A HACK LIKE "SYSIHACK"!!! I AM NOT RESPONSIBLE FOR ANY
    DAMAGES THIS SOFTWARE DOES CAUSE!!!

    System requirements:

	- OS3.0+ (!), OS2.0 was NOT tested and will NOT work, since OS 3.0 features are used.
	- Preferably a standard MagicWB Workbench

    Installing:

	If you use any tools like ProcurePens or MagicWB Daemon,
	please make sure, that these tools are started BEFORE
	the Workbenchscreen was opened. Many users put these
	tools in WBStartup, urouhack won't work correctly then.

	Launch urouhack before ANY Screen was opened by the system,
	preferably after "setpatch" in the startup-sequence, but
	BEFORE IPrefs was started with this line:

	    run >NIL: urouhack SYSGADGETBG

	For ECS machines use:

	    run >NIL: urouhack SYSGADGETBG COLOR_1_RED=128 COLOR_1_GREEN=128 COLOR_1_BLUE=128 COLOR_2_RED=160 COLOR_2_GREEN=160 COLOR_2_BLUE=160

	You can also put the arguments in a file, f.ex. s:urouhack.config
	You start urouhack in this case with this line:

	    run >NIL: urouhack `type s:urouhack.config`

	Oops, what a UNIX stuff 8)) Note, that T: should be assigned before.
	Someone gave me this tip, I just don't know who it was, but
	I will mention him in the next release when I have examined my
	mail folder...

	Other configs are possible, please look down for the supported
	arguments... If you have any good configs, please send them
	to me!

    Contact to the author via EMail:

	If you want to tell me that urouhack destroys your machine or simply
	want to have a little chat then write to:

	    5uro@informatik.uni-hamburg.de
	    ------------------------------

    Notes for programmers:

	If you want to include some of the patches in your programs
	( like MCP,MCX, MagicCX etc.) simply leave me a mail, you will
	get the sources.

    History:

	0.6     first public release
	0.7     BorderBottom now font sensitive
		added arguments for most settings
		added possibilty keep the blue background for the window gadgets
		grafical trash should be now removed in most cases
		palette preferences should now work correctly
	0.8     no more manual refreshes now
		added fine adjust for the bottom size gadgets
		size gadgets now a bit higher

    Future:

	- I am working on a general replacment for all gadgets. It will feature
	  MUI preferences and user customizale gadgets (Yes, also pictures
	  will be supported! 8))
	- better documentation (easier to read!) and real preferences handling 8))
	- adding the possibility what should be patched
	- more patches on the standard system gadgets, like checkmarks etc
	- making it possible to remove some of the patches at runtime.
	- MagicWB colors for all other screens ( Only the screens with correct
	  color allocations may be used ).

    This tool patches the following functions and classes with SetFunction():

	- OpenScreen()
	- OpenScreenTagList()
	- OpenWindow()
	- OpenWindowTagList()

	The classes are "patched" by changing the public names of the old classes
	and inserting the own classes with the orginal names in the classtree.
	The methods I do not support are simply given to the old class with
	DoSuperMethodA():

	- frameiclass   (orginal becomes "breizhclass")
	- buttongclass  (orginal becomes "tiniclass")
	- sysiclass     (orginal becomes "urouclass")


    These are the arguments, which urouhack supports.  Please  do  not
    use them, if you don't understand them...

    Window bordersizes in pixels:

	WINDOW_TOP=
	WINDOW_BOTTOM=
	WINDOW_LEFT=
	WINDOW_RIGHT=

	FINE_BOTTOM=

    Selectable pens for the Workbench:

	PEN_MWB_BRIGHT=
	PEN_MWB_DARK=
	PEN_MWB_HBRIGHT=
	PEN_MWB_HDARK=
	PEN_MWB_BRIGHT_WINDOW=
	PEN_MWB_DARK_WINDOW=
	PEN_MWB_HBRIGHT_WINDOW=
	PEN_MWB_HDARK_WINDOW=
	PEN_MWB_PAINT=
	PEN_MWB_BGBUTTON=
	PEN_MWB_BGNORMAL=

    Selectable pens for all other screens:

	PEN_NML_BRIGHT=
	PEN_NML_DARK=
	PEN_NML_HBRIGHT=
	PEN_NML_HDARK=
	PEN_NML_BRIGHT_WINDOW=
	PEN_NML_DARK_WINDOW=
	PEN_NML_HBRIGHT_WINDOW=
	PEN_NML_HDARK_WINDOW=
	PEN_NML_PAINT=
	PEN_NML_BGBUTTON=
	PEN_NML_BGNORMAL=

	/*******************************************************************/

	    The appended "_WINDOW" stands for the standard window gadgets.
	    The pens use the following values:

	    0       DETAILPEN        compatible Intuition rendering pens
	    1       BLOCKPEN         compatible Intuition rendering pens
	    2       TEXTPEN          text on background
	    3       SHINEPEN         bright edge on 3D objects
	    4       SHADOWPEN        dark edge on 3D objects
	    5       FILLPEN          active-window/selected-gadget fill
	    6       FILLTEXTPEN      text over FILLPEN
	    7       BACKGROUNDPEN    always color 0
	    8       HIGHLIGHTTEXTPEN special color text, on background
	    9       BARDETAILPEN     text/detail in screen-bar/menus
	    10      BARBLOCKPEN      screen-bar/menus fill
	    11      BARTRIMPEN       trim under screen-bar

	    Only available on the Workbench:

	    65280   HALFSHADOW       special Color 1
	    65281   HALFSHINE        special Color 2
	    65282   CUSTOM           special Color 3

	/*******************************************************************/

    If you want to have my new style for the Window gadgets (They will
    have a background) include this argument:

	SYSGADGETBG

    If you want to change the colors for the Workbench (f.ex.  if  you
    have  an ECS machine) use these arguments. 0 is the darkest value,
    255 the highest:

	Color 1  normally  represents  the  color  halfshadow.  Normal
	values for AGA are 112,112,112 and for ECS 128,128,128.

	    COLOR_1_RED=
	    COLOR_1_GREEN=
	    COLOR_1_BLUE=

	Color 2 normally represents the color halfshine. Normal values
	for AGA are 175,175,175 and for ECS 160,160,160.

	    COLOR_2_RED=
	    COLOR_2_GREEN=
	    COLOR_2_BLUE=

	Color 3 is freely user customizable.

	    COLOR_3_RED=
	    COLOR_3_GREEN=
	    COLOR_3_BLUE=


