Re: [As-users] AfterStep 2.0 beta4 release

Sasha Vasko (sasha@aftercode.net)
Tue, 30 Mar 2004 09:54:04 -0600




M.-A. DARCHE wrote:

> Le 2004-03-18 12:06 (jeudi), Sasha Vasko a =E9crit /=20
> On 2004-03-18 12:06 (jeudi), Sasha Vasko wrote :
>=20
>>M.-A. DARCHE wrote:
>>>
>>>I could not test that since the CVS code doesn't build at the moment.
>>
>>doesn't build? whats the error ?
>>
>=20
>=20
> The CVS code from yesterday builds and installs alright :-)
> I did a fresh cvs checkout and no more errors. Maybe something was
> broken in my local checkout or maybe you've changed something since my
> last try. Anyway it runs fine.

You may need to do :

cvs update -d

-d here requests cvs to download any new files from repository.


>=20
> But the "Restart session" still generates crashes on my machine :-( I'v=
e
> just sent an email to <as-bugs@afterstep.org> with two log files.

Should be fixed now.

>=20
> But I guess we could have the screenshot functionalities without using
> forms. This was the concern that made me ask about forms.

AfterStep 2.0 has new set of functions :

TakeScreenShot "" [ filename ]
TakeFrameShot  "" [ filename ]
TakeWindowShot "" [ filename ]

This functions will take a shot of entire screen, window including=20
frame/titlebar and window contents.

By default screenshot will be saved in your home dir with name :

screenshot.########.jpg  where ####### is unix time value so not to=20
overwrite same file. Alternatively you can specify filenames for each of=20
this functions to save screenshot into.
>=20
> Now, what I'm looking for is an "vertically and horizontally mirrored t=
iled"
> background. This couldn't be achieved with the previous version of
> AfterStep and the only program I know which did that was xv [1]. It's
> still possible to create mirrored tiles by hand and then giving them to
> AfterStep but I would like AfterStep to provide this kind of tiling.
>=20
> So for example one provide this tile [2] to AfterStep and it gets
> mirrored and tiled like [3]. Sasha could you make AfterStep do that ?

You need to use XML to do that :

<scale id=3D"tile" width=3D"$xroot.width/2" height=3D"$xroot.height/2">
	<img src=3D"background_tile"/>
</scale>

<composite id=3D"left_tile" width=3D"$xroot.width/2" height=3D"$xroot.hei=
ght">
	<recall srcid=3D"tile"/>
	<mirror x=3D0 y=3D"$xroot.height/2" dir=3D"vertical">
		<recall srcid=3D"tile"/>
	</mirror>
</composite>

<composite width=3D"$xroot.width" height=3D"$xroot.height">
	<recall srcid=3D"left_tile"/>
	<mirror x=3D"$xroot.width/2" y=3D0 dir=3D"horizontal">
		<recall srcid=3D"left_tile"/>
	</mirror>
</composite>


where "background_tile" should be the filename of your original image,=20
for example : "tiles/DefenselessElsie"


Sasha
_______________________________________________
As-users mailing list
As-users@afterstep.org
http://mail.afterstep.org/mailman/listinfo/as-users