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

util/libs/ScreenNotify10.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Notify on screen close/private/public (V1.0)
Author:stefanb at yello.ping.de (Stefan Becker)
Uploader:stefanb yello ping de (Stefan Becker)
Type:util/libs
Architecture:m68k-amigaos
Date:1995-03-26
Download:http://aminet.net/util/libs/ScreenNotify10.lha - View contents
Readme:http://aminet.net/util/libs/ScreenNotify10.readme
Downloads:2626
Starting with AmigaOS V37 the Workbench offers a library with some useful
functions for applications. Although this is a _BIG_ improvement over the
old Workbench there are still some important features missing.  The  most
annoying one is that an application with an open window on the  Workbench
screen prevents the closing of the screen, e.g. after pressing  "Use"  in
the ScreenMode preferences editor.

To circumvent these programs have either to  patch  the  CloseWorkBench()
and OpenWorkBench() functions  in  the  intuition.library  or  to  add  a
notification for the screenmode.prefs file. The ideal solution would be a
new App* message from the Workbench, but  as  we  all  know  a  Workbench
update/rewrite is not very likely in the near future :-(

ScreenNotify offers  an  intermediate  solution.  It  patches  the  above
mentioned functions and offers a notification service for  clients.  This
hides the "dirty" things in one location and offers a clean interface  to
the outside world. Clients only  have  to  close  their  windows  on  the
Workbench screen after receiving a CLOSE notification. They may open them
again after receiving an OPEN notification.

Additionally ScreenNotify patches CloseScreen() and PubScreenStatus(). It
can therefore offer a notification when a  public  screen  is  closed  or
opened. This may be useful for utilities  which  open  their  windows  on
public screens.


Contents of util/libs/ScreenNotify10.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  279     632  44.1% -lh5- 9a9e Mar 26  1995 ScreenNotify.info
[generic]                  292     743  39.3% -lh5- a658 Mar 26  1995 ScreenNotify/dlib/DMakefile
[generic]                  202     389  51.9% -lh5- 6609 Mar 26  1995 ScreenNotify/fd/screennotify_lib.fd
[generic]                  262     528  49.6% -lh5- 8b54 Mar 26  1995 ScreenNotify/include/clib/screennotify_protos.h
[generic]                  558    1646  33.9% -lh5- 73fb Mar 26  1995 ScreenNotify/include/libraries/screennotify.h
[generic]                  148     439  33.7% -lh5- 06a8 Mar 26  1995 ScreenNotify/include/pragmas/screennotify_pragmas.h
[generic]                  138     210  65.7% -lh5- 375a Mar 26  1995 ScreenNotify/include/proto/screennotify.h
[generic]                 1456    2608  55.8% -lh5- e0cd Mar 26  1995 ScreenNotify/libs/screennotify.library
[generic]                 2666    6072  43.9% -lh5- 940d Mar 26  1995 ScreenNotify/README
[generic]                  637     731  87.1% -lh5- 174c Mar 26  1995 ScreenNotify/README.info
[generic]                 1867    9947  18.8% -lh5- 1a70 Mar 26  1995 ScreenNotify/screennotify.doc
[generic]                  641     731  87.7% -lh5- e299 Mar 26  1995 ScreenNotify/screennotify.doc.info
[generic]                 2127    3124  68.1% -lh5- 38dc Mar 26  1995 ScreenNotify/screennotifytest
[generic]                  442    1014  43.6% -lh5- 18fe Mar 26  1995 ScreenNotify/src/DMakefile
[generic]                 1039    3712  28.0% -lh5- 70bf Mar 26  1995 ScreenNotify/src/functions.c
[generic]                 2379   10716  22.2% -lh5- bfb3 Mar 26  1995 ScreenNotify/src/patch.c
[generic]                 1729    5903  29.3% -lh5- 8ebc Mar 26  1995 ScreenNotify/src/screennotify.c
[generic]                  727    2185  33.3% -lh5- 3bc0 Mar 26  1995 ScreenNotify/src/screennotify.h
[generic]                 1102    3123  35.3% -lh5- 7302 Mar 26  1995 ScreenNotify/src/screennotifytest.c
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        19 files   18691   54453  34.3%            Mar 26  1995

Aminet © 1992-2018 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>