]> git.eshelyaron.com Git - emacs.git/commit
Implement bitmap loading for faces on Haiku
authorPo Lu <luangruo@yahoo.com>
Sun, 8 May 2022 03:08:42 +0000 (03:08 +0000)
committerPo Lu <luangruo@yahoo.com>
Sun, 8 May 2022 03:08:42 +0000 (03:08 +0000)
commitfaa342c794dec66d6b77ccf550361d58455a4454
tree9a893aed86a998df5f976c38535657b6944d7e81
parent672a296d3b353249ed829a7164c3db55ee204e47
Implement bitmap loading for faces on Haiku

Stipples don't completely work yet.

* lisp/faces.el (face-valid-attribute-values): Enable `:stipple'
on Haiku.
* src/haiku_draw_support.cc (BView_DrawBitmap)
(BView_DrawBitmapWithEraseOp, BView_DrawMask): Don't push and
pop states.
(BView_DrawBitmapTiled): New function.

* src/haiku_support.cc (BBitmap_import_mono_bits): Delete
function.
* src/haiku_support.h: Update prototypes.
* src/haikuterm.c (get_string_resource): Fix coding style.
(haiku_get_bitmap, haiku_draw_stipple_background): Implement
partially.
(haiku_set_scroll_bar_default_width)
(haiku_set_scroll_bar_default_height, haiku_scroll_bar_create)
(haiku_set_horizontal_scroll_bar, haiku_set_vertical_scroll_bar)
(haiku_create_terminal, haiku_scroll_bar_remove): Fix coding
style.

* src/image.c (image_create_bitmap_from_data)
(image_create_bitmap_from_file): Implement on Haiku.
lisp/faces.el
src/haiku_draw_support.cc
src/haiku_support.cc
src/haiku_support.h
src/haikuterm.c
src/image.c