aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.h
diff options
context:
space:
mode:
authorJuri Linkov2019-10-01 23:01:08 +0300
committerJuri Linkov2019-10-01 23:01:08 +0300
commit3f981a0a89bca47a207fb362485f07e7322bb145 (patch)
tree95001fa93b9693684108dd114da2a0232640e32e /src/xterm.h
parent457a7edb4784869079eac2a47d2dc1738332c07a (diff)
downloademacs-feature/tabs.tar.gz
emacs-feature/tabs.zip
Remove unused code and reformat to 70 columns.feature/tabs
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 5b4d47d3b62..69af552e078 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -505,16 +505,6 @@ struct x_output
505 int menubar_height; 505 int menubar_height;
506#endif 506#endif
507 507
508 /* Height of tab bar widget, in pixels. top_height is used if tab bar
509 at top, bottom_height if tab bar is at the bottom.
510 Zero if not using an external tab bar or if tab bar is vertical. */
511 int tabbar_top_height, tabbar_bottom_height;
512
513 /* Width of tab bar widget, in pixels. left_width is used if tab bar
514 at left, right_width if tab bar is at the right.
515 Zero if not using an external tab bar or if tab bar is horizontal. */
516 int tabbar_left_width, tabbar_right_width;
517
518 /* Height of tool bar widget, in pixels. top_height is used if tool bar 508 /* Height of tool bar widget, in pixels. top_height is used if tool bar
519 at top, bottom_height if tool bar is at the bottom. 509 at top, bottom_height if tool bar is at the bottom.
520 Zero if not using an external tool bar or if tool bar is vertical. */ 510 Zero if not using an external tool bar or if tool bar is vertical. */
@@ -582,11 +572,6 @@ struct x_output
582 GtkWidget *hbox_widget; 572 GtkWidget *hbox_widget;
583 /* The menubar in this frame. */ 573 /* The menubar in this frame. */
584 GtkWidget *menubar_widget; 574 GtkWidget *menubar_widget;
585 /* The tab bar in this frame */
586 GtkWidget *tabbar_widget;
587 /* True if tab bar is packed into the hbox widget (i.e. vertical). */
588 bool_bf tabbar_in_hbox : 1;
589 bool_bf tabbar_is_packed : 1;
590 /* The tool bar in this frame */ 575 /* The tool bar in this frame */
591 GtkWidget *toolbar_widget; 576 GtkWidget *toolbar_widget;
592 /* True if tool bar is packed into the hbox widget (i.e. vertical). */ 577 /* True if tool bar is packed into the hbox widget (i.e. vertical). */
@@ -830,15 +815,6 @@ extern void x_mark_frame_dirty (struct frame *f);
830 815
831#define FRAME_FONT(f) ((f)->output_data.x->font) 816#define FRAME_FONT(f) ((f)->output_data.x->font)
832#define FRAME_FONTSET(f) ((f)->output_data.x->fontset) 817#define FRAME_FONTSET(f) ((f)->output_data.x->fontset)
833#define FRAME_TABBAR_TOP_HEIGHT(f) ((f)->output_data.x->tabbar_top_height)
834#define FRAME_TABBAR_BOTTOM_HEIGHT(f) \
835 ((f)->output_data.x->tabbar_bottom_height)
836#define FRAME_TABBAR_HEIGHT(f) \
837 (FRAME_TABBAR_TOP_HEIGHT (f) + FRAME_TABBAR_BOTTOM_HEIGHT (f))
838#define FRAME_TABBAR_LEFT_WIDTH(f) ((f)->output_data.x->tabbar_left_width)
839#define FRAME_TABBAR_RIGHT_WIDTH(f) ((f)->output_data.x->tabbar_right_width)
840#define FRAME_TABBAR_WIDTH(f) \
841 (FRAME_TABBAR_LEFT_WIDTH (f) + FRAME_TABBAR_RIGHT_WIDTH (f))
842#define FRAME_TOOLBAR_TOP_HEIGHT(f) ((f)->output_data.x->toolbar_top_height) 818#define FRAME_TOOLBAR_TOP_HEIGHT(f) ((f)->output_data.x->toolbar_top_height)
843#define FRAME_TOOLBAR_BOTTOM_HEIGHT(f) \ 819#define FRAME_TOOLBAR_BOTTOM_HEIGHT(f) \
844 ((f)->output_data.x->toolbar_bottom_height) 820 ((f)->output_data.x->toolbar_bottom_height)