This patch fixes a few errors in my gutter and widget support and combine
everything to provide tabbed buffers on devices that support tabbed widgets
(i.e. only mswindows currently).
I will apply this to cvs once I have fixed the specifier caching bug that
is currently eluding me.
andy
1999-07-18 Andy Piper <andy(a)xemacs.org>
* glyphs-msw.c (console_type_create_glyphs_mswindows): add
resize_subwindow.
(mswindows_resize_subwindow): new function.
* menubar-items.el (default-menubar): add gutter options.
* gutter.c (redraw_exposed_gutter): only reset the
current_display_lines if non-zero.
(Fgutter_pixel_height): new function.
(Fgutter_pixel_width): new function.
* gutter-items.el: new file.
(gutter): new group for custom.
(gutter-visible-p): new variable.
(default-gutter-position): ditto.
(buffers-tab): new group for the buffers tab.
(gutter-buffers-tab): widget to put in the gutter.
(buffers-tab-max-size): max number of tabs.
(buffers-tab-switch-to-buffer-function): function to call when a
tab is pressed.
(buffers-tab-omit-function): filter buffers with this function.
(buffers-tab-format-buffer-line-function): format buffer names for
inclusion in tabs.
(buffers-tab-switch-to-buffer): like switch-to-buffer but without the record.
(build-buffers-tab-internal): build a list of tab items.
(buffers-tab-items): ditto.
(add-tab-to-gutter): put a tab in the gutter area.
(update-tab-in-gutter): reset the buffers in the tab.
* dumped-lisp.el (preloaded-file-list): dump gutter-items.
* buffer.el (switch-to-buffer): run switch-to-buffer-hooks.
(switch-to-buffer-hooks): new hook.
* event-msw.c (mswindows_wnd_proc): set the mask of the parameter
we want to retrive from the tab control.
1999-07-17 Andy Piper <andy(a)xemacs.org>
* toolbar.el (default-toolbar-position): fix typo.
* window.c (change_window_height): mark gutters changed when we're
done.
* gutter.c (specifier_vars_of_gutter): make defaults more
sensible.
* gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
height gutter.
(DEFAULT_GUTTER_WIDTH): change.
(DEFAULT_GUTTER_BORDER_WIDTH): change.
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd
Show replies by date