From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA00494; Fri, 14 May 2004 16:49:02 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA00490 for ; Fri, 14 May 2004 16:49:01 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from localhost (cpe-66-189-124-29.ma.charter.com [66.189.124.29]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i4EEm5EV009290 for ; Fri, 14 May 2004 16:49:01 +0200 Received: from awwaiid by localhost with local (Exim 3.36 #1 (Debian)) id 1BOdyK-0002En-00 for ; Fri, 14 May 2004 10:47:36 -0400 Date: Fri, 14 May 2004 10:47:35 -0400 From: Brock To: caml-list@inria.fr Subject: Re: [Caml-list] x-windows screensaver in OCaml Message-ID: <20040514144735.GA8556@thelackthereof.org> References: <20040512032044.GB3494@thelackthereof.org> <200405132353.13433.jdh30@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200405132353.13433.jdh30@cam.ac.uk> User-Agent: Mutt/1.4i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 x-windows:99 2004:99 --brock:01 bindings:01 ocaml:01 ocaml:01 primitives:01 opengl:02 opengl:02 module:03 wrote:03 wrote:03 cheers:06 i'd:06 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On 2004.05.13.23.53, Jon Harrop wrote: | On Wednesday 12 May 2004 04:20, Brock wrote: | > So one of these days I'd like to write a screensaver in OCaml for | > xscreensaver, which means drawing on X's root window. Any suggestions | > for a super-simple way to do this? The primitives in the built-in | > Graphics module are plenty for my needs, I just don't know how make it | > appear on the root window. | | I'd suggest trying to replace the functionality of one of the existing OpenGL | screensavers with your own code. | | Cheers, | Jon. You know of some OpenGL screensavers in OCaml by chance? So far it looks like I'm going to have to do some of my own C bindings. --Brock ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners