aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.h
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-12-06 08:49:18 +0000
committerRichard M. Stallman <[email protected]>1994-12-06 08:49:18 +0000
commit95b999aae762c02d4316e78c8c92a0084f73edcb (patch)
tree9945e26f0a0efe69c049241c279d774b3d6b17da /src/frame.h
parent2b49050ad08e3376a26644cbf39164e4ef0dfc1e (diff)
(struct frame): New field cost_calculation_baud_rate.
(FRAME_COST_BAUD_RATE): New macro.
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h
index f9969d2c81..f21d4dcf64 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -247,6 +247,9 @@ struct frame
on the fly, using scroll_bar_cols and the current font width. */
int scroll_bar_pixel_width;
int scroll_bar_cols;
+
+ /* The baud rate that was used to calculate costs for this frame. */
+ int cost_calculation_baud_rate;
};
#ifdef MULTI_FRAME
@@ -305,6 +308,7 @@ typedef struct frame *FRAME_PTR;
#define FRAME_SCROLL_BARS(f) ((f)->scroll_bars)
#define FRAME_CONDEMNED_SCROLL_BARS(f) ((f)->condemned_scroll_bars)
#define FRAME_MENU_BAR_ITEMS(f) ((f)->menu_bar_items)
+#define FRAME_COST_BAUD_RATE(f) ((f)->cost_calculation_baud_rate)
/* Emacs's redisplay code could become confused if a frame's
visibility changes at arbitrary times. For example, if a frame is
@@ -449,6 +453,7 @@ extern FRAME_PTR last_nonminibuf_frame;
#define FRAME_SCROLL_BARS(f) (the_only_frame.scroll_bars)
#define FRAME_CONDEMNED_SCROLL_BARS(f) (the_only_frame.condemned_scroll_bars)
#define FRAME_MENU_BAR_ITEMS(f) (the_only_frame.menu_bar_items)
+#define FRAME_COST_BAUD_RATE(f) (the_only_frame.cost_calculation_baud_rate)
/* See comments in definition above. */
#define FRAME_SAMPLE_VISIBILITY(f) (0)