simple display (from: GUI library for D)

"Jérôme M. Berger" jeberger at free.fr
Tue Apr 12 10:35:11 PDT 2011


Nick Sabalausky wrote:
> "teo" <teo.ubuntu at yahoo.com> wrote in message 
> news:io00gq$5rc$1 at digitalmars.com...
>> On Fri, 08 Apr 2011 20:26:07 +0000, Adam D. Ruppe wrote:
>>
>>> We discussed this first in the GUI library thread, but since it
>>> meandered so much, I decided to split off into a new subject. Much of
>>> what I say here will be old to anyone who saw the previous thread.
>>> There's some new stuff nearer to the bottom though.
>>>
>>> I, with input from others, have started writing a little module for
>>> simple uses of a display. You can write to a bitmap, display it to a
>>> window, and handle events all in an easy way. The basics are cross
>>> platform, but you can use native function calls too.
>>>
>>> http://arsdnet.net/dcode/simpledisplay.d
>>>
>> I admit I didn't read the whole thread...
>>
>> I just wanted to point out the following:
>> - XCB (http://xcb.freedesktop.org/) - aims to replace Xlib
>> - Wayland (http://wayland.freedesktop.org/) - aims to replace the X server
>>
>> A quick look at the source code shows that you are targeting the X
>> server, which might not be the best idea.
>>
>> Please ignore my post, if the above is well known and has already been
>> discussed.
> 
> Even the Wayland site says that it's not going to replace X server anytime 
> soon and that they're going to co-exist for the forseeable future. Don't 
> know anything about XCB though.
> 
	AFAIK, Xlib has already been rewritten on top of XCB, but most
"big" GUI toolkits (Gtk, Qt, ...) are staying on Xlib (some of them
did take a stab at XCB and dropped it as not worth the trouble).

		Jerome
-- 
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110412/bddd6f86/attachment.pgp>


More information about the Digitalmars-d mailing list