So is the objective to create a windowing library, or a drawing library for (for example) games?  The two are rather different - though you can build a windowing library on top of a drawing library, doing so is pointless given the plethora of GUI libraries already out there, several with D bindings.  If the bindings are hard to use, I'd address that directly rather than creating a whole new one.  <div>
<br></div><div>If you are building a drawing library, I'd definitely co-opt an existing one (SDL would be a good place, in particular since its license seems favorable and the API is well known.)  In fact, a good game-oriented library for D I think would be a fabulous idea.  D has a lot to offer game developers, a great mix of the high level and the low.  I don't know if it is popular with this crowd, but Microsoft DirectX or the XNA Framework might be a good place to go for pattern ideas as well.</div>
<div><br></div><div>But generally I'd strive to not create new APIs, just new implementations (as necessary.)<br><div><div><br><div class="gmail_quote">On Fri, Apr 8, 2011 at 7:18 PM, Adam D. Ruppe <span dir="ltr"><<a href="mailto:destructionator@gmail.com">destructionator@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Fri, Apr 08, 2011 at 06:40:47PM -0700, Cliff Hudson wrote:<br>
> Have you considered patterning your API off an existing (preferably popular)<br>
> one?<br>
<br>
</div>That's essentially what I'm doing - it's a very thin wrapper around<br>
the operating system libraries, meant to just make it easy.<br>
<br>
</blockquote></div><br></div></div></div>