Pergunta

How are the windows created in linux when working on graphics using allegro library? does it uses X11 or its own primitive library?

Foi útil?

Solução

In order to draw anything on X11 server display, one have to use X11 protocol. There is just no reason to do it in any other way then using xlib one way or another.

http://alleg.sourceforge.net/stabledocs/en/build/unix.html

Short version: whenever X available, xlib is used. If none present, it will try SVGA directly on console.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top