svgalib windows


svgalib windows is a windowing program which uses svgalib. It is presently work-in-progress. It has polygonal windows and uses binary space partitioning trees. Application programs are processes which communicate via shared memory. Includes a small demo. The latest tested release is,

svgalib-windows-0.1.3.tar.gz
To decompress the archive, type in a terminal,
tar xvzf svgalib-windows-0.1.3.tar.gz

The most recent development version is,
svgalib-windows-0.1.5.tar.gz
It compiles and includes a bug fix. Because I cannot get svgalib to work with my card, I cannot test it.

There is also a project on sourceforge at,
http://sf.net/projects/svgalib-windows
To browse the source, select "Browse CVS", then "svgalib-windows". To download the current cvs snapshot click on "CVS Repository" and copy-paste the two lines replacing anonymous with your sf user name, and typing your password when prompted.

The demo requires a video card which is capable of 1024x768 at 16 bits per pixel.

You can post about svgalib-windows on the group,
http://groups.google.com/group/svgalib
or comp.os.linux.misc

Here is the readme file:

---------------------------------------

This is an an alpha-stage windowing program for svgalib with polygonal windows. It uses binary space partitioning trees. Application programs are independent processes which communicate via shared memory.

Requirements for the demo are,
- a video card capable of 1024x768 at 16 bits per pixel
- linux or compatible (tested with 2.2.16)
- svgalib (tested with 1.9.23)
- IJG's libjpeg
- a C compiler

You need two jpeg images to try the demo, one 1024x768 (suppose it is named wallpaper.jpg) and another smaller one (suppose it is named image.jpg).

Too see what it does now, you have to be logged in as root and go to text mode. If you are in X-Windows, press CTRL-ALT-F2 to open a text-mode console.

Go into the svgalib-windows folder and type,

make

This compiles the windowing program (multiplexer) and a sample application (client). You must have svgalib installed and configured (edit the file /etc/vga/libvga.config to configure svgalib). Then type

./multiplexer

If svgalib works not, try the most recent development release from svgalib.org. If it still works not, add the line

NoHelper

to /etc/vga/libvga.config. If svgalib still works not, write about it at http://www.groups.google.com/group/svgalib

If svgalib works, switch to a different virtual console by pressing ALT-F3, go to the svgalib-windows folder, and type

./client wallpaper.jpg &

switch to the multiplexer virtual console. Switch to the client virtual console, type

./client image.jpg image.jpg &

switch to the multiplexer virtual console. A dot in the upper left corner of each window changes color according to if the mouse icon is in or out of the window. You can have more windows by executing more times the client program. Pressing both the left and right mouse buttons simultaneously takes a screenshot.

If you encounter a problem with the program or have a comment, you can write at,

http://www.groups.google.com/group/svgalib



See who's visiting this page.View Page Stats

Hosted by www.Geocities.ws

1