comparison src/frame.h @ 31147:a158ff61b113

(FRAME_FLAGS_AREA_COLS, FRAME_FLAGS_AREA_WIDTH) (FRAME_LEFT_FLAGS_AREA_WIDTH): Return 0 unless frame is a graphical frame.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 24 Aug 2000 11:05:49 +0000
parents b5e905b3b506
children 8b2fa657800d
comparison
equal deleted inserted replaced
31146:8779f864ca44 31147:a158ff61b113
705 705
706 /* Pixel width of areas used to display truncation marks, continuation 706 /* Pixel width of areas used to display truncation marks, continuation
707 marks, overlay arrows. This is 0 for terminal frames. */ 707 marks, overlay arrows. This is 0 for terminal frames. */
708 708
709 #ifdef HAVE_WINDOW_SYSTEM 709 #ifdef HAVE_WINDOW_SYSTEM
710
710 #define FRAME_FLAGS_AREA_COLS(F) \ 711 #define FRAME_FLAGS_AREA_COLS(F) \
711 (FRAME_WINDOW_P ((F)) ? FRAME_X_FLAGS_AREA_COLS ((F)) : 0) 712 (FRAME_WINDOW_P (F) ? FRAME_X_FLAGS_AREA_COLS (F) : 0)
712 #define FRAME_FLAGS_AREA_WIDTH(F) FRAME_X_FLAGS_AREA_WIDTH (F) 713 #define FRAME_FLAGS_AREA_WIDTH(F) \
713 #define FRAME_LEFT_FLAGS_AREA_WIDTH(F) FRAME_X_LEFT_FLAGS_AREA_WIDTH (F) 714 (FRAME_WINDOW_P (F) ? FRAME_X_FLAGS_AREA_WIDTH (F) : 0)
715 #define FRAME_LEFT_FLAGS_AREA_WIDTH(F) \
716 (FRAME_WINDOW_P (F) ? FRAME_X_LEFT_FLAGS_AREA_WIDTH (F) : 0)
714 717
715 #else 718 #else /* not HAVE_WINDOW_SYSTEM */
719
716 #define FRAME_FLAGS_AREA_WIDTH(F) 0 720 #define FRAME_FLAGS_AREA_WIDTH(F) 0
717 #define FRAME_FLAGS_AREA_COLS(F) 0 721 #define FRAME_FLAGS_AREA_COLS(F) 0
718 #define FRAME_LEFT_FLAGS_AREA_WIDTH(F) 0 722 #define FRAME_LEFT_FLAGS_AREA_WIDTH(F) 0
719 #endif 723
724 #endif /* not HAVE_WINDOW_SYSTEM */
720 725
721 726
722 727
723 728
724 /*********************************************************************** 729 /***********************************************************************