AminetAminet
Search:
84783 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/wb/ObtainPens.lha

Mirror:Random
Showing: m68k-amigaos icongeneric icon
No screenshot available
Short:A better MWB-Color-Daemon (e.g. for NewIcons / MUI)
Author:"ALeX Kazik" akazik at TechFak.Uni-Bielefeld.DE
Uploader:ALeX Kazik <akazik TechFak Uni-Bielefeld DE>
Type:util/wb
Version:1.0
Architecture:m68k-amigaos
Date:1996-11-26
Requires:OS3 (supports PatchControl)
Download:util/wb/ObtainPens.lha - View contents
Readme:util/wb/ObtainPens.readme
Downloads:904

Description:
¯¯¯¯¯¯¯¯¯¯¯¯
   This patch allocates the Colors 4-7 from the WB with the MWB-Colors,
   like other Daemons. But this patch has some advantages:
   · The OpenScreenTagList-Function and not the OpenWorkBench-Function is
     patched. This means that the Pens also allocated, if the WB wont be
     opened by OpenWorkBench(), e.g. LoadWB / LockPubScreen() don't use
     OpenWorkBench().
   · The pens, which will allocated, are SHARED. That means that all
     programms can use this pens. (ForcePens, my model, reserved the pens
     EXCLUSIVE, the result is that the pens can only used by ForcePens)
   · If PatchControl is running, you can remove the daemon by sending a
     break (CTRL-C) to ObtainPens.
   · The programm is really small. Exact 2304 Bytes.

Requiements:
¯¯¯¯¯¯¯¯¯¯¯¯
   OS3

Installation:
¯¯¯¯¯¯¯¯¯¯¯¯¯
   Simply, use the Install-Script, OR:
   · Copy ObtainPens to C: (or where you want).
   · Add a line, like the following, to the user-startup.
     run <NIL: >NIL: C:ObtainPens
   · The line should be at the beginning of the user-startup, because
     it is possible, that ObtainsPens will be active, after LoadWB started,
     that results in no colors, bad look.

Usage:
¯¯¯¯¯¯
   Install it.
   The programm will return immedatly with error code 20, if you
   don't have OS3. The programm NEVER produces an output.

Colors:
¯¯¯¯¯¯¯
   The colors, which will be allocated, are the Standard MWB-Colors.
   If you want to use others, there a two ways:
   1) Change the sourecode.
   2) Take a hex editor, and change the programm.
   In general: The colors are 32bit-left-alligned, for the color 123 (0x7B)
   you have to write 0x7B7B7B7B. Beginning with line 20 in the source, and
   Offset 2082 (0x822) in the programm, you'll find 4×4 longwords.
   The first specifies the pen number, the next three the colors (red,
   green blue). That will be repeated for the next 3 pens.

Shareware:
¯¯¯¯¯¯¯¯¯¯
   This programm is CARD/MAILWARE. All rigths reserved.

Disclaimer:
¯¯¯¯¯¯¯¯¯¯¯¯
   I gurantee for nothing.

Author:
¯¯¯¯¯¯¯

                        Alex  Kazik
                    Stapenhorststr.  81
                      33615 Bielefeld
                          Germany

         E-Mail: akazik@TechFak.Uni-Bielefeld.DE






                                                ###### ##      ####  ##   ##
                                               ##   ## ##     ##  ##  ## ##
                                               #### ## ##     ######   ###
                                               ## #### ##     ##      ## ##
                                               ##   ## ######  ####  ##   ##


Contents of util/wb/ObtainPens.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1583    2686  58.9% -lh5- 92ff Nov 24  1996 ObtainPens.info
[generic]                  512     943  54.3% -lh5- 9396 Nov 23  1996 ObtainPens/Install
[generic]                 1744    2714  64.3% -lh5- 0805 Nov 21  1996 ObtainPens/Install.info
[generic]                 1590    2304  69.0% -lh5- 5e0d Nov 21  1996 ObtainPens/ObtainPens
[generic]                  731    1763  41.5% -lh5- d1e5 Nov 21  1996 ObtainPens/ObtainPens.c
[generic]                 2299    2967  77.5% -lh5- 734d Nov 21  1996 ObtainPens/ObtainPens.c.info
[generic]                 1280    2901  44.1% -lh5- 465e Nov 23  1996 ObtainPens/ObtainPens.readme
[generic]                 1606    2727  58.9% -lh5- 74bd Nov 23  1996 ObtainPens/ObtainPens.readme.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         8 files   11345   19005  59.7%            Nov 25  1996
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>