diff options
author | Po Lu <luangruo@yahoo.com> | 2022-04-19 04:39:37 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-04-19 04:39:37 +0000 |
commit | d78e4460727c348fb5a5a62b774797c4374a1190 (patch) | |
tree | 77be56944b16623f14cc77b463a9ac1c7baf8ddb /src/haiku_draw_support.cc | |
parent | 92667cc2fb17af947c202d2de765d8736679e858 (diff) | |
download | emacs-d78e4460727c348fb5a5a62b774797c4374a1190.tar.gz |
Minor cleanups to Haiku menu code
* src/haiku_draw_support.cc (BView_SetHighColorForVisibleBell):
Delete function.
* src/haiku_font_support.cc (BFont_dat): Rename to
`BFont_metrics'.
* src/haiku_support.cc (DrawContent): Use correct UI color for
control text.
* src/haiku_support.h (HAIKU_MODIFIER_ALT): Turn into enum.
(enum haiku_modifier_specification): New enum.
* src/haikufont.c (haikufont_open, haikufont_close): Fix coding
style.
Diffstat (limited to 'src/haiku_draw_support.cc')
-rw-r--r-- | src/haiku_draw_support.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/haiku_draw_support.cc b/src/haiku_draw_support.cc index f8df298958f..a8d46d000a3 100644 --- a/src/haiku_draw_support.cc +++ b/src/haiku_draw_support.cc @@ -469,16 +469,6 @@ BView_FillTriangle (void *view, int x1, int y1, } void -BView_SetHighColorForVisibleBell (void *view, uint32_t color) -{ - BView *vw = (BView *) view; - rgb_color col; - rgb32_to_rgb_color (color, &col); - - vw->SetHighColor (col); -} - -void BView_InvertRect (void *view, int x, int y, int width, int height) { BView *vw = get_view (view); |