From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,78789c3cd24c4152,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1994-12-03 02:12:22 PST Path: bga.com!news.sprintlink.net!pipex!sunic!news.tele.fi!news.csc.fi!news.helsinki.fi!not-for-mail From: steinj@clio.rz.uni-duesseldorf.de (Jochen Stein) Newsgroups: comp.os.linux.announce Subject: Shared image of small X library on sunsite Followup-To: comp.os.linux.development Date: 3 Dec 1994 11:59:12 +0200 Organization: ? Sender: wirzeniu@cc.Helsinki.FI Message-ID: <3bpfhg$dmb@kruuna.Helsinki.FI> NNTP-Posting-Host: kruuna.helsinki.fi Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Summary: Compiled shared image, all sources and examples Keywords: libsx, shared library, X11 programming This is a shared library of the Small X Library. It comes with sources, objects, compiled demo programs and a shareable image. You will need at least libc 4.5.26 and X11R6 to use the binaries. The shared library resides at 0x6f000000, so there should be no conflict with existing libraries. If anyone wants to assign this library an address space, I will happily move it there. After unpacking, you will find the compiled libraries in libsx/shared, together with a simple install script. Use this or copy the libraries where you want them (and ld.so will find them) and start playing with the example programs :-) >>From the README: --- What is libsx? Libsx (the Simple X library) is a library of code that sits on top of and to the side of the Athena widget set. Its purpose is to make writing X applications *much* easier. To accomplish this, libsx encapsulates a large portion of the uglier details that arise while programming in X and it fills in some gaps that exist with the Athena Widget set (such as a widget for drawing graphics); libsx tries to simplify the common case down to a single function call with only a few arguments. With libsx, writing a simple program that opens a window, has a few buttons and draws some graphics (lines, circles, bitmaps, etc) is a matter of 5-10 lines of code, including the drawing code. Hello World is 2 lines. More complicated programs that respond to mouse clicks, have buttons, scrollbars, etc, can be written in 25-50 lines of code. Some libraries take the approach of completely hiding whatever they are layering on top of. In contrast, libsx doesn't drastically alter the base abstractions of X, it just packages them in the way they get used most of the time, so that with one function call and a few arguments you get the effect of 10-20 lines of pure X code. Access to the underlying X objects (Window id's, Display pointers, etc) is also possible if necessary, but not required. With libsx, the simple things are simple and the complex things are possible (where have I heard that before? :-). Final word from me: If you always wanted to program X apps and did not know where to start, this is the right thing for you! Jochen Stein -- Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu PLEASE remember Keywords: and a short description of the software.