]> git.eshelyaron.com Git - emacs.git/commit
Implement font selection dialog on Haiku
authorPo Lu <luangruo@yahoo.com>
Sun, 1 May 2022 00:59:55 +0000 (00:59 +0000)
committerPo Lu <luangruo@yahoo.com>
Sun, 1 May 2022 01:00:15 +0000 (01:00 +0000)
commitb2fdf78fd9ef46683775014716a2cbf98f11ad8c
tree7f728276bbdaa82bf6c17d9fd397c3a8f4ec0cbd
parent02bf6650b073ffad702772a2ebae20023fa8276a
Implement font selection dialog on Haiku

* src/haiku_font_support.cc (font_style_to_flags): Handle style
allocation failures.
(be_font_style_to_flags): New function.

* src/haiku_support.cc (struct font_selection_dialog_message):
New struct.
(class EmacsFontSelectionDialog): New class.
(be_select_font): New function.

* src/haiku_support.h: Update prototypes.
* src/haikufont.c (Fx_select_font): New function.
(syms_of_haikufont): Define new subr.
src/haiku_font_support.cc
src/haiku_support.cc
src/haiku_support.h
src/haikufont.c