caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [ANN]Amthing - a multi-threaded GUI library
@ 2009-04-14  5:11 Satoshi Ogasawara
  2009-04-14  7:58 ` [Caml-list] " David MENTRE
  0 siblings, 1 reply; 6+ messages in thread
From: Satoshi Ogasawara @ 2009-04-14  5:11 UTC (permalink / raw)
  To: caml-list

Hello list,

I'm please to announce the  first public release of Amthing, a multi-threaded 
GUI library for OCaml.

Features are:

- Multi-threaded design using Concurrent ML style message passing.
- Time-line animation and functional reactive sprite system.
- X11 Binding.
- 2D vector rendering by cairo.

Here's a "Hello world" example of Amthing.

  open Ccell 
  open Event
  open Amthing.Util.Persavatives

  module W = Amthing.Core.Window ( Amthing.XWindow )
  module K = Amthing.KeyCode
  module E = Amthing.WinEvent
  module S = Amthing.Sprite
  module C = Amthing.Component
  let wh = W.make  (Amthing.XWindow.default_parameter ()) 
  let tc = lazy (W.make_text_context wh)

  let _ =
    W.resize wh {| x = 0; y = 0; w = 200; h = 200 |};
    let hello =
      new S.label !$tc "hello world!"
        +> S.set (`X 55.)
        +> S.set (`Y 90.)
        +> S.set (`Color Amthing.Color.blue)
        +> C.make
    in
    W.add_visible wh hello;
    W.set_title wh "amthing hello world!";
    W.show wh;
    let main_loop () =
      match select [ Bcast.receive (W.event wh) ] with
        `KEY_PRESS input when E.key_code input = Some K._q ->
	      W.close wh;
	      exit 0
      | #E.t -> ()
    in
    forever main_loop ()


you can clone the repository from OCamlForge subversion :

  svn checkout svn://svn.forge.ocamlcore.org/svnroot/amthing

or view souce code on the web.

  http://forge.ocamlcore.org/plugins/scmsvn/viewcvs.php/trunk/?root=amthing


have fun,

---
 Ogasawara Satoshi
    | - Email:  ogasawara@itpl.co.jp


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] [ANN]Amthing - a multi-threaded GUI library
  2009-04-14  5:11 [ANN]Amthing - a multi-threaded GUI library Satoshi Ogasawara
@ 2009-04-14  7:58 ` David MENTRE
  2009-04-14  8:54   ` Satoshi Ogasawara
  0 siblings, 1 reply; 6+ messages in thread
From: David MENTRE @ 2009-04-14  7:58 UTC (permalink / raw)
  To: Satoshi Ogasawara; +Cc: caml-list

Hello,

On Tue, Apr 14, 2009 at 07:11, Satoshi Ogasawara <ogasawara@itpl.co.jp> wrote:
> - Multi-threaded design using Concurrent ML style message passing.
> - Time-line animation and functional reactive sprite system.
> - X11 Binding.
> - 2D vector rendering by cairo.

 1. Are there any screenshots?

 2. Is there a widget system like in GTK/Qt?

 3. What is the domain space covered by this library? Was it made for
a specific purpose? IT Planning, Inc. is apparently a Japanese company
using OCaml but the main software is using Java Swing GUI.

Sincerely yours,
david


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] [ANN]Amthing - a multi-threaded GUI library
  2009-04-14  7:58 ` [Caml-list] " David MENTRE
@ 2009-04-14  8:54   ` Satoshi Ogasawara
  2009-04-14  9:11     ` Alp Mestan
  0 siblings, 1 reply; 6+ messages in thread
From: Satoshi Ogasawara @ 2009-04-14  8:54 UTC (permalink / raw)
  To: David MENTRE; +Cc: caml-list

Hello,

On 2009/04/14, at 16:58, David MENTRE wrote:
> 1. Are there any screenshots?

I've just take it.
http://www.itpl.co.jp/amthing/concurrent_example.png

> 2. Is there a widget system like in GTK/Qt?

Widgets are under developing. We will support button, label, textbox, 
checkbox, radio button, tab, listbox, tree, grid,..etc. We already supports
Pango and XIM for textbox.

> 3. What is the domain space covered by this library? Was it made for
> a specific purpose? IT Planning, Inc. is apparently a Japanese company
> using OCaml but the main software is using Java Swing GUI.

The main purpose is to develop an ordinary desktop application covered 
by GTK/Qt. In addition, Amthing is applicable to rich client which access 
to internet services. Animation makes application rich. Concurrent environment
helps us to write asynchronous communications.

best regards,
---
 Ogasawara Satoshi
    | - Email:  ogasawara@itpl.co.jp


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] [ANN]Amthing - a multi-threaded GUI library
  2009-04-14  8:54   ` Satoshi Ogasawara
@ 2009-04-14  9:11     ` Alp Mestan
  2009-04-14 10:29       ` Satoshi Ogasawara
  0 siblings, 1 reply; 6+ messages in thread
From: Alp Mestan @ 2009-04-14  9:11 UTC (permalink / raw)
  To: Satoshi Ogasawara; +Cc: caml-list

[-- Attachment #1: Type: text/plain, Size: 1572 bytes --]

Have you planned to write a little introductory tutorial so that we could do
some tests and give feedback about Amthing ?

Thanks.

On Tue, Apr 14, 2009 at 10:54 AM, Satoshi Ogasawara <ogasawara@itpl.co.jp>wrote:

> Hello,
>
> On 2009/04/14, at 16:58, David MENTRE wrote:
> > 1. Are there any screenshots?
>
> I've just take it.
> http://www.itpl.co.jp/amthing/concurrent_example.png
>
> > 2. Is there a widget system like in GTK/Qt?
>
> Widgets are under developing. We will support button, label, textbox,
> checkbox, radio button, tab, listbox, tree, grid,..etc. We already supports
> Pango and XIM for textbox.
>
> > 3. What is the domain space covered by this library? Was it made for
> > a specific purpose? IT Planning, Inc. is apparently a Japanese company
> > using OCaml but the main software is using Java Swing GUI.
>
> The main purpose is to develop an ordinary desktop application covered
> by GTK/Qt. In addition, Amthing is applicable to rich client which access
> to internet services. Animation makes application rich. Concurrent
> environment
> helps us to write asynchronous communications.
>
> best regards,
> ---
>  Ogasawara Satoshi
>    | - Email:  ogasawara@itpl.co.jp
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>



-- 
Alp Mestan
In charge of the C++ section on Developpez.com.

[-- Attachment #2: Type: text/html, Size: 2531 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] [ANN]Amthing - a multi-threaded GUI library
  2009-04-14  9:11     ` Alp Mestan
@ 2009-04-14 10:29       ` Satoshi Ogasawara
  2009-04-14 11:04         ` Alp Mestan
  0 siblings, 1 reply; 6+ messages in thread
From: Satoshi Ogasawara @ 2009-04-14 10:29 UTC (permalink / raw)
  To: Alp Mestan; +Cc: caml-list


On 2009/04/14, at 18:11, Alp Mestan wrote:
> Have you planned to write a little introductory tutorial so that we could do some tests and give feedback about Amthing ?


Thank you for your help.
We plan for write some webpages including build sequence, tutorial and API document
in a month.

regards,
---
  Ogasawara Satoshi
    | - Email:  ogasawara@itpl.co.jp


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] [ANN]Amthing - a multi-threaded GUI library
  2009-04-14 10:29       ` Satoshi Ogasawara
@ 2009-04-14 11:04         ` Alp Mestan
  0 siblings, 0 replies; 6+ messages in thread
From: Alp Mestan @ 2009-04-14 11:04 UTC (permalink / raw)
  To: Satoshi Ogasawara; +Cc: caml-list

[-- Attachment #1: Type: text/plain, Size: 485 bytes --]

On Tue, Apr 14, 2009 at 12:29 PM, Satoshi Ogasawara <ogasawara@itpl.co.jp>wrote:

>
> On 2009/04/14, at 18:11, Alp Mestan wrote:
> > Have you planned to write a little introductory tutorial so that we could
> do some tests and give feedback about Amthing ?
>
>
> Thank you for your help.
> We plan for write some webpages including build sequence, tutorial and API
> document
> in a month.
>

Great. Keep us updated :-)


-- 
Alp Mestan
In charge of the C++ section on Developpez.com.

[-- Attachment #2: Type: text/html, Size: 815 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-04-14 11:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-14  5:11 [ANN]Amthing - a multi-threaded GUI library Satoshi Ogasawara
2009-04-14  7:58 ` [Caml-list] " David MENTRE
2009-04-14  8:54   ` Satoshi Ogasawara
2009-04-14  9:11     ` Alp Mestan
2009-04-14 10:29       ` Satoshi Ogasawara
2009-04-14 11:04         ` Alp Mestan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).