emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Motif support


From: Eli Zaretskii
Subject: Re: Motif support
Date: Wed, 22 Dec 2021 19:40:21 +0200

> From: Arthur Miller <arthur.miller@live.com>
> Cc: xenodasein@tutanota.de,  emacs-devel@gnu.org
> Date: Wed, 22 Dec 2021 18:26:41 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> Date: Tue, 21 Dec 2021 18:58:18 +0100 (CET)
> >> From: xenodasein@tutanota.de
> >> Cc: Emacs Devel <emacs-devel@gnu.org>
> >> 
> >> If I wanted to work on something like --with-x-toolkit=no but pretty and
> >> customizable, using simple software rendering to run on all platforms,
> >> is this something desirable?
> >
> > I don't think I understand what that means in practice.  GUI
> > programming for drawing is inherently system-dependent; for example,
> > the --with-x-toolkit=no build uses Xlib calls all over the place.  Can
> > you explain how something like that can work on all platforms?
> 
> Games usually do all GUI drawing themselves.

So you are saying that so should we??

> Doesn't gdk/gtk use Cairo
> to render it's own gui on a surface so they are not dependent on any OS 
> toolkit?

Did you look at, for example, the MS-Windows back-end of the Cairo
port to Windows?

> Blender for example also uses this approach to render entire GUI in the
> application, and just uses low level stuff from the OS to open a window and
> obtain drawing contexts, to deal with input, keyboard, mouse and such, but gui
> elements such as buttons and menus are created and managed by Blender itself.

I don't understand what you are saying.  Should we use GTK or should
we reinvent its code inside Emacs?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]