FLTK logo

Re: [fltk.coredev] Towards a Wayland platform for the FLTK library ?

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Towards a Wayland platform for the FLTK library ? Manolo Jun 06, 2021  
 

Le lundi 7 juin 2021 à 00:03:51 UTC+2, spi...@gmail.com a écrit :
This all seems like a good idea.
Thanks.


Using that existing libdecor code is probably an ok start, but I would like to see it done reusing as much functionality from FLTK as possible. It does look like that code is pretty minimal (ie it does not link with GTK) so that is a relief. In the end the FlWindow object would do all of this.
libdecor is used both by the FLTK library and by a component of the Wayland system itself (the compositor I believe).
That's why it's necessarily a shared library which plugs into the compositor.
That also makes it a software requiring deep Wayland knowledge.
Thus, using an existing library is an attractive solution.


I assume this is using Cairo for rendering? You should, as that is what the titlebar code is using. The Cairo code needs to be fixed up so it is an acceptable backend for FLTK, and use the same cairo api in both the X11 and Wayland versions.
Yes. All drawing is done using Cairo, and Pango for text.
Thus, there's now a complete Cairo+Pango-based graphics driver in he Wayland branch,
which could be used by the X11 platform too. That would bring antialiasing to the X11 platform.

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/9bff03f6-da73-436d-8468-cc4be8dad967n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.