December 14, 2004
"Ben Hinkle" <bhinkle@mathworks.com> wrote in message news:cpn5fj$2a8j$1@digitaldaemon.com...
>
> "Ant" <Ant_member@pathlink.com> wrote in message news:cpn4b2$28l6$1@digitaldaemon.com...
> > In article <cpn2p7$26f7$1@digitaldaemon.com>, Ben Hinkle says...
> > >
> > >
> >
> > Ben, I wouldn't mind discussion some ideas on this,
> > the main window thing for example, but I don't feel confortable doing it
> here
> > (too specific for this group). Do you have another forum for this?
> > dsource comes to mind.
> >
> > BTW I thought dsource would host any D project but they say "Open Source Development for D"...
> >
> > Ant
> >
> >
>
> good idea. I've posted a request to open a MinWin forum on dsource.
Hosting
> the project there will probably come once I get more organized.
>
>

the MinWin forum is open now (thanks Brad!)
http://www.dsource.org/forums/viewforum.php?f=47


December 18, 2004
> yeah - I looked at wxWidgets (the new name for wxWindows) with an eye to just porting it to D but it is full of tons of C preprocessor macros that looked nasty to me and I had a hard time figuring out the source code
tree -
> it isn't described very well. Plus it has lots of stuff D wouldn't need about threading, streams, and other utility classes that are covered by phobos. So I figured it would be just as much work to start over (famous last words...). I did print out their widget list so I could start with that.

porting that lib would take ages.  personally, i think that focusing on swt, fltk or fox (in that order).

--alimoe



December 18, 2004
gtk and qt are prolly too much to depend on.
maybe using just gdk might solve some platform issues, but still not any
with the codebase.
i think motif should be let die.  and xt more than likely is something that
should be avoided if possible.

if you would use fltk (or swt) as a base, [the issue with macs] prolly
wouldnt be (too much of) an issue.

personally, i'd rather a lgpl with an exception clause than a zlib-like license. does this make sense?

how much software is really public domain? prolly not many well known packages, but small libraries, right?

> >> MinWin, too. Support for trees and tables won't be built-in. I see it
> >> being
> >> something like AWT-lite with better native access. The problem with
large
> >> cross-platform toolkits is that they never are really cross-platform
and
> >> they never really look like native apps. Cross-platform development is
> >> very
> >> hard so the MinWin approach will be to only do it where it works and
give
> >> easy access to the platform for everything else.

i think swt is rather light, and jface is completely java on top of that with support for trees on platforms that dont natively support them. plus, there is plenty of source that could be adapted.

fltk is a good kit, but is rather ugly.  although that is not a good reason not to use it.

-- alimoe


December 18, 2004
> >I do not know FLTK at all, but judging from the work on Swing, Look is reasonably easy to acheive, Feel is not!

look at idea. it is written in swing, but its feel is pretty much superior even to native windows apps.


December 18, 2004
> Indeed the best of both worlds! (for Java, D is different since it is not running managed code - and more low-level)

* maybe you want an interpreter written in d that would allow easier translation of java concepts?

* tk is even uglier and more non-functional than anything else
* ... and yes, i think as much code should be in d as possible
(swt/fltk/fox)
* check out ultimate++ as an alternative to qt and wxwin

--alimoe




December 18, 2004
* does `d' have an equivalent to c++'s auto_ptr?

--alimoe


December 18, 2004
unda dogg wrote:

>>Indeed the best of both worlds! (for Java, D is different
>>since it is not running managed code - and more low-level)
> 
> * maybe you want an interpreter written in d that would allow easier
> translation of java concepts?

Like GCJ you mean ? No thanks :-)

--anders
December 18, 2004
unda dogg wrote:
>>>I do not know FLTK at all, but judging from the work on Swing, Look is
>>>reasonably easy to acheive, Feel is not!
> 
> 
> look at idea. it is written in swing, but its feel is pretty much superior
> even to native windows apps.
> 

I believe you. But the idea developer team is one among hundreds, and if most
of the others does not achieve good native Windows feel, I think it is the
"feel" implementation in Swing that is lacking. I have not had the time to
look at the newest JDK yet. May be it is better.

Roald

December 18, 2004
"unda dogg" <unda_dogg@yahooc.om> wrote in message news:cq08l5$jqp$1@digitaldaemon.com...
>
> * does `d' have an equivalent to c++'s auto_ptr?

not exactly. It has an auto attribute for variables which ensures the destructor is called when the variable goes out of scope. So if your comment was aimed at removing that "delete font" statement I could have written "auto Font font =..." I like that better than what I originally posted.


1 2 3 4 5
Next ›   Last »