<phoebos>
midfavila: yes, I think I sent you a couple of my awful athena programs
<phoebos>
on that topic, I was doing some particle simulations in plain Xlib yesterday
sam_sepi0l has joined #kisslinux
fdkol1 has quit [Ping timeout: 260 seconds]
fdkol1 has joined #kisslinux
<testuser[m]>
Send
<midfavila>
phoebos, i'm working on refurbing a library you'll be interested in, then
<midfavila>
it's called "libsx" - the Simple X Library. it's around 30 years old, but it's still maintained and (relatively) small
<midfavila>
about 8k lines of ANSI C. it sits atop Athena and provides some abstractions for working with common widget types so that using Xaw is slightly less homicidal-tendency-inducing
<midfavila>
it includes seven or so demos, and on average it seems to cut the amount of boilerplate necessary to use xaw to about half - maybe less
<midfavila>
it also includes some small additions to the athena widget set like a color selector
midfavila has quit [Remote host closed the connection]
midfavila has joined #kisslinux
<wael_>
xso ture
<wael_>
so ture
<wael_>
so true
<midfavila>
actually i just ran cloc on the source directory - the demos make up about 3.2k lines of C. library itself is 4834+358 lines of header
<midfavila>
(for libsx)
rohan has quit [Ping timeout: 260 seconds]
Torr has joined #kisslinux
midfavila has quit [Remote host closed the connection]
<midfavila>
you'll need to remove some function prototypes (compiler should error out with __P in them -- they're prototypes for posix funcs from pre-posix days) and you'll need to add #include <X11/IntrinsicP.h> to xstuff.h under src
<midfavila>
after that it's smooth sailing
<midfavila>
i'm thinking about rewriting some of the widgets from "A Survey of Widget Sets" to use libsx, tbqh - some of the behavior libsx provides is really nice. for example, autoconfiguration of scrollwheel callbacks on lists