]> git.eshelyaron.com Git - emacs.git/commit
Allow specifying font size in the Haiku font selection dialog
authorPo Lu <luangruo@yahoo.com>
Sun, 1 May 2022 05:41:33 +0000 (05:41 +0000)
committerPo Lu <luangruo@yahoo.com>
Sun, 1 May 2022 05:42:32 +0000 (05:42 +0000)
commitd17d9c50c519dfba6b03488e3b702ddba56f54ad
tree8c7478a52bd1f2b7bbc33b8ffd8fb96674ec5c1c
parent5f220d9555a908dd9957afa27d168d74adf6c7df
Allow specifying font size in the Haiku font selection dialog

* src/haiku_support.cc (struct font_selection_dialog_message):
New fields `size' and `size_specified'.
(class EmacsFontSelectionDialog): New `size_entry' control.
(MessageReceived): Set size from that control if available.
(EmacsFontSelectionDialog): Initialize that control.
(FrameResized): Handle layout for that control.
(be_select_font): New field `size'.
* src/haiku_support.h: Update prototypes.
* src/haikufont.c (Fx_select_font): Populate font spec with
size.
src/haiku_support.cc
src/haiku_support.h
src/haikufont.c