| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
returning it.
|
| | |
|
| |
|
|
| |
(standard_bitmaps): Use it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BG_WIDTH. All uses changed. Draw background if BG_WIDTH is not zero.
(mac_draw_image_string, mac_draw_image_string_16): New arg BG_WIDTH.
[USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg): Rename from
mac_draw_string_cg. New arg BG_WIDTH. All uses changed. Draw
background if BG_WIDTH is not zero. Use float constants as
divisors instead of double. Use alloca instead of xmalloc/xfree.
(x_draw_glyph_string_background, x_draw_glyph_string_foreground)
[!MAC_OS8 || USE_ATSUI]: Background may be drawn using
mac_draw_image_string* functions.
(XLoadQueryFont) [MAC_OS8 && USE_ATSUI]: Don't adjust heights of
some fonts when srcCopy text transfer mode might be used.
(mac_begin_clip, mac_end_clip): Check if region is empty.
(mac_set_clip_rectangles): When resetting clip region, make it
empty instead of disposing of it.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to use `int'.
(NO_FRINGE_BITMAP, UNDEF_FRINGE_BITMAP, MAX_STANDARD_FRINGE_BITMAPS):
Define explicitly.
(Qtruncation, Qcontinuation, Qempty_line, Qtop_bottom)
(Qhollow_small): New variables.
(syms_of_fringe): Intern and staticpro them.
(question_mark_bits): Rename from unknown_bits.
(left_curly_arrow_bits): Rename from continuation_bits.
(right_curly_arrow_bits): Rename from continued_bits.
(left_triangle_bits): Rename from ov_bits.
(right_triangle_bits): Added.
(filled_rectangle_bits): Rename from filled_box_cursor_bits.
(hollow_rectangle_bits): Rename from hollow_box_cursor_bits.
(filled_square_bits): Added.
(vertical_bar_bits): Rename from bar_cursor_bits.
(horisontal_bar_bits): Rename from hbar_cursor_bits.
(empty_line_bits): Rename from zv_bits.
(standard_bitmaps): Update to use new names.
(draw_fringe_bitmap_1): Make static.
(get_logical_cursor_bitmap, get_logical_fringe_bitmap): New functions
to map from logical cursors and indicators to physical bitmaps.
(draw_fringe_bitmap): Resolve fringe cursor and overlay-arrow
bitmaps using symbol names instead of bitmap numbers.
(update_window_fringes): Use logical indicator symbol names
instead of bitmap numbers for logical. Add bitmap cache.
(LEFT_FRINGE, RIGHT_FRINGE): New helper macros.
|
| |
|
|
| |
fringe_cursor_alist.
|
| |
|
|
|
|
|
|
| |
fringe-indicator-alist and fringe-cursor-alist. The proper
default values are set by pre-loading fringe.el.
(syms_of_buffer): defvar_per_buffer new fringe-indicator-alist and
fringe-cursor-alist buffer-local variables and defvar_lisp_nopro
correspondig default- variables.
|
| |
|
|
| |
Redefine malloc -> xmalloc, realloc -> xrealloc as in Emacs case.
|
| |
|
|
| |
Emacs.
|
| | |
|
| | |
|
| |
|
|
| |
(regcomp): Use xmalloc.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
(check_memory_limits) [HAVE_GETRLIMIT]: Use getrlimit.
|
| | |
|
| |
|
|
| |
w->update_mode_line if arg F is not the selected frame.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(next_menubar_widget_id): Remove variables.
(initialize_frame_menubar): Remove function.
(pop_down_menu, mac_menu_show): Simplify save value.
(dispose_menus): New function.
(pop_down_menu, fill_menubar): Use it.
(fill_submenu): Remove function. All uses changed to fill_menu.
(add_menu_item): Remove args SUBMENU and FORCE_DISABLE. New arg
POS. Don't call SetMenuItemHierarchicalID here.
(fill_menu): Add arg SUBMENU_ID. Return submenu_id that is to be
used next. Call SetMenuItemHierarchicalID here.
(fill_menubar): Add arg DEEP_P. All uses changed. Clean up menu
objects if needed. Reuse existing menu bar titles if possible.
(set_frame_menubar): Don't clean up menu objects here.
|
| |
|
|
| |
fringes.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
PREC arg (which must be a number of characters, not column width).
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
value of x-gtk-whole-detached-tool-bar.
(xg_tool_bar_attach_callback): Set show-arrow to FALSE.
* xfns.c (syms_of_xfns): New variable: x-gtk-whole-detached-tool-bar.
|
| | |
|
| |
|
|
| |
value of x-gtk-whole-detached-tool-bar.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
* xterm.h: Declare x_x_to_emacs_modifiers.
* gtkutil.c (xg_tool_bar_button_cb): New function.
(xg_tool_bar_callback): Call x_x_to_emacs_modifiers to
store modifiers in event.
(update_frame_tool_bar): Connect button-release-event to
xg_tool_bar_button_cb.
|
| |
|
|
|
|
|
| |
(xg_tool_bar_callback): Call x_x_to_emacs_modifiers to
store modifiers in event.
(update_frame_tool_bar): Connect button-release-event to
xg_tool_bar_button_cb.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|