www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - Thinlet in D?

reply Marcio <mqmnews123 sglebs.com> writes:
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
Mar 01 2006
parent reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
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
Mar 01 2006
parent reply Marcio <mqmnews123 sglebs.com> writes:
Anders F Bj=F6rklund wrote:
 Somehow, I don't think it'll work:
=20
 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=20 of it, for example: July 15, 2005. Porsche Engineering developed a version of Thinlet=20 based on MIDP. The source is available here.
 Small is beautiful...
=20 MinWin might be a bet then ?
I was thinking of a multi-platform Thinlet impl, and not something=20 Windoze-specific. marcio
Mar 01 2006
parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
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
Mar 01 2006