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

dev/src/CloneWindow.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Clone&Filter&Resize a window
Author: thellier at free.fr (Alain Thellier)
Uploader:thellier free fr
Type:dev/src
Version:9.0
Architecture:ppc-amigaos
Date:2017-06-10
Download:dev/src/CloneWindow.lha - View contents
Readme:dev/src/CloneWindow.readme
Downloads:1278

DESCRIPTION 
V7.0 14 Nov 2012: Now CloneWindow is resizable + usable from shell
v8.0 21 Nov 2012: Now redirect input (=all IDCMPs messages) to source window 
v9.0  8 Jun 2017: test maximum size so remove the 1800 pixels limit

Demonstrate how to use the OS function CompositeTags() to clone an existing window				
So the display from source window is copied to a new dest window
Display is resized+filtered and may be rotated (portrait,landscape,etc...)
So may redirect a game display to a nice window
CompositeTags() is an OS4 function that add blitter-like hardware accelerated functions
CloneWindow idea come from an Amiga forum post

USAGE 

From workbench:
Start CloneWindow then select the wanted window within 10 secondes
'R' 'r' rotate display
'F' 'f' skip frames
'W' 'w' change source window
'!' redirect input to source window
Close gadget : quit		
WARNING: This program may crash especially if you close the source window :-P

From shell
 CloneWindow Width Height Rot SkipFrames CopyInput
 example:
  CloneWindow 240 320 90 5 1
  
  
You can also use CloneWindow inside WinUAE/ppc with Aminet/PatchCompositeTags (option pat q)
                                                                                 
LICENSE 
CloneWindow: Clone&Filter&Resize a window - July 2012 				
Author: Alain Thellier - Paris - France .
GNU General Public License (GNU GPL) 
For recompiling a modified version just clik the build icon

------------------------------------------------------------------------------------------------
If you enjoyed CloneWindow send me a postcard at: Thellier. 43 Rue Ordener. 75018 PARIS. FRANCE
------------------------------------------------------------------------------------------------

	


Contents of dev/src/CloneWindow.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                 5232    6178  84.7% -lh5- 1c83 Jun  9 10:59 CloneWindow.info
[unknown]                   85     151  56.3% -lh5- 9b05 Jun  9 10:53 CloneWindow/build.sh
[unknown]                 2554    5504  46.4% -lh5- 5dbe Jun  9 10:59 CloneWindow/build.sh.info
[unknown]                 8134   73417  11.1% -lh5- f5e1 Jun  8 15:03 CloneWindow/CloneWindow
[unknown]                 1703    3430  49.7% -lh5- 4582 Jun  9 10:59 CloneWindow/CloneWindow.info
[unknown]                  954    1986  48.0% -lh5- e3e7 Jun  9 10:35 CloneWindow/CloneWindow.readme
[unknown]                 3115    5078  61.3% -lh5- 5188 Jun  9 10:59 CloneWindow/CloneWindow.readme.info
[unknown]                 5457   17041  32.0% -lh5- 61a8 Jun  8 15:01 CloneWindow/CloneWindow09.c
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         8 files   27234  112785  24.1%            Jun  9 21:45
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>