From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id C312DBC75 for ; Wed, 2 Mar 2005 07:36:54 +0100 (CET) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j226as8P016530 for ; Wed, 2 Mar 2005 07:36:54 +0100 Received: by wproxy.gmail.com with SMTP id 71so148736wra for ; Tue, 01 Mar 2005 22:36:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=g9jRaxROX5arXiElEjqXOQSrBrX2oGTu/YxjtqsFohp3FI9/E6EiJNTjm0Bq68Kc1Nb6uG4tMgbhZXv+1ADvF1u7J8ZXhvV1DMLeg+L9RNTdMIvVBIKeeygpl7VG8eJMYL9pixrgUmQr6Ka/lFZI2YndFIbQZ/9jdNsUHJAhUgc= Received: by 10.54.5.47 with SMTP id 47mr12929wre; Tue, 01 Mar 2005 22:36:53 -0800 (PST) Received: by 10.54.41.46 with HTTP; Tue, 1 Mar 2005 22:36:53 -0800 (PST) Message-ID: <5fc951a0050301223646a48b5e@mail.gmail.com> Date: Wed, 2 Mar 2005 00:36:53 -0600 From: Ken Rawlings Reply-To: Ken Rawlings To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Cross-platform "Hello, World" graphical application in OCaml In-Reply-To: <20050223054011.3414.28936.Mailman@yquem.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20050223054011.3414.28936.Mailman@yquem.inria.fr> X-Miltered: at nez-perce with ID 42255F06.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 lablglut:01 ocaml:01 higher-level:01 ocaml-win:01 lgpl:01 hchomsky:01 ocaml-win:01 checkbox:98 wrote:01 sticking:01 speakeasy:01 opengl:01 opengl:01 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.2 X-Spam-Level: On Wednesday 23 February 2005 03:57, Jon Harrop wrote: >I'd suggest sticking to lablglut and writing your own GUI entirely using >OpenGL though, as I have found this to be much more stable. I don't really >think users will be too bothered by a slightly-different-looking GUI though >especially if it looks better. :-) I've been down this road myself. I posted an OCaml version of Conway's Game of Life on my webpage [1] a while back that uses "Kog", an OCaml OpenGL based GUI I've been working on. The Life application only uses the label, checkbox and button controls, but Kog also supports spinners and drop-down listboxes. My experiences building Kog were overall positive. However, writing a full-featured GUI from scratch is a lot of work, so Kog is likely to remain a toy implementation for the foreseeable future. If there's much interest in the OCaml community for this sort of thing though, I'd love to work with a group on a project getting a full-featured lightweight GUI up and running with OCaml, whether it be on OpenGL directly, or one of the higher level vector libraries. Speaking of GUI libraries, I'm looking into writing a higher-level wrapper around the GUI parts of Harry Chomsky's OCaml-Win32 library[2]. If anyone has already done this (and made it available under a LGPL or BSD like license) and I've somehow missed it, please let me know and I'll contribute to your project rather than reinventing the wheel. Thanks, Ken Rawlings [1] http://www.kenrawlings.com/archives/2004/10/06/life/ [2] http://www.speakeasy.org/~hchomsky/ocaml-win32.html