Re: [fltk.coredev] Please vote: add a Wayland platform to FLTK

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: Please vote: add a Wayland platform to FLTK Albrecht Schlosser 08:35 Jan 15 top right image
 
On 1/14/22 10:14 AM Manolo wrote:
Le lundi 10 janvier 2022 à 18:27:16 UTC+1, Albrecht Schlosser a écrit :
Here are my first results (I'll continue testing later). I tested on Ubuntu 20.04 with Wayland desktop.

(1) The window title fonts are way too large (obviously in CSD mode). Can we reduce the font size?
As I wrote before, I would prefer not to modify libdecor because it's packaged in recent distros.

I understand and I agree. It's at least good as a start.

But, libdecor is constructed as a host for plugins which draw titlebars :
"It aims to provide multiple backends that implement the decoration drawing."
Only one plugin I know of exists now, libdecor-cairo, which hardcodes the fontsize used for window titles.
But, other libdecor plugins might appear in the future.

How complicated would it be to ...

(a) write everything needed directly in FLTK as Bill suggested (IIRC) ?

(b) write a plugin for libdecor if that's easier than (a) ?

Don't understand me wrong, it's only a question.

Theoretically I would prefer to use (a) rather than relying on libdecor if (when) we need to use client-side decorations and we don't need to care anyway on platforms that use server-side decorations.

--
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/e9dff4ce-06b8-5cc3-5f86-ea1c3a6f5522%40online.de.
Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]
 
 

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