Thread overview
Thinlet in D?
Mar 01, 2006
Marcio
Mar 02, 2006
Marcio
March 01, 2006
I like SWT/DWT, but here's an idea of a small GUI libarry for D (embedded?): http://thinlet.sourceforge.net/home.html

Small is beautiful...

marcio
March 01, 2006
Marcio wrote:

> I like SWT/DWT, but here's an idea of a small GUI libarry for D (embedded?): http://thinlet.sourceforge.net/home.html

Somehow, I don't think it'll work:

public class Thinlet
extends java.awt.Container

> Small is beautiful...

MinWin might be a bet then ?

--anders
March 02, 2006
Anders F Björklund wrote:
> Somehow, I don't think it'll work:
> 
> public class Thinlet
> extends java.awt.Container


   This is an implementation decision, for Java. In D you don't have to do that. It just needs a place to draw things etc. There's a MIDP port of it, for example:

July 15, 2005.  Porsche Engineering  developed a version of Thinlet based on MIDP. The source is available here.


>> Small is beautiful...
> 
> MinWin might be a bet then ?


   I was thinking of a multi-platform Thinlet impl, and not something Windoze-specific.

marcio

March 02, 2006
Marcio wrote:

>> public class Thinlet
>> extends java.awt.Container
> 
>    This is an implementation decision, for Java. In D you don't have to do that. It just needs a place to draw things etc. 

Okay, didn't mean to be negative before it had even been tried...

But what would provide such a place (and drawing methods), for D ?
Do you mean using something like SDL or GL, or writing new peers ?

> There's a MIDP port of it, for example:
> 
> July 15, 2005.  Porsche Engineering  developed a version of Thinlet
> based on MIDP. The source is available here. 

public class Thinlet
extends javax.microedition.lcdui.Canvas

OK.

>>> Small is beautiful...
>>
>> MinWin might be a bet then ?
> 
>    I was thinking of a multi-platform Thinlet impl, and not something Windoze-specific.

MinWin is not Windows-only. Stands for "Minimal Window toolkit":

http://home.comcast.net/~benhinkle/minwin/

Then again, it doesn't have a Mac port yet either. Just Win/Linux.

--anders