aboutsummaryrefslogtreecommitdiffstats
path: root/lispref/frames.texi
diff options
context:
space:
mode:
authorRichard M. Stallman2000-01-20 18:18:58 +0000
committerRichard M. Stallman2000-01-20 18:18:58 +0000
commit757081353df933080416901d87c28fc0237ab5ea (patch)
treec8a0babbe65742a25513e1b931e5883fc590f35b /lispref/frames.texi
parentcaccdcbb25c7fd120997c8c7d619a6ab8f072beb (diff)
downloademacs-757081353df933080416901d87c28fc0237ab5ea.tar.gz
emacs-757081353df933080416901d87c28fc0237ab5ea.zip
*** empty log message ***
Diffstat (limited to 'lispref/frames.texi')
-rw-r--r--lispref/frames.texi38
1 files changed, 20 insertions, 18 deletions
diff --git a/lispref/frames.texi b/lispref/frames.texi
index f00e94f1571..6552ac7f332 100644
--- a/lispref/frames.texi
+++ b/lispref/frames.texi
@@ -416,7 +416,7 @@ ordered most-recently-selected first.
416@item font 416@item font
417The name of the font for displaying text in the frame. This is a 417The name of the font for displaying text in the frame. This is a
418string, either a valid font name for your system or the name of an Emacs 418string, either a valid font name for your system or the name of an Emacs
419fontset (@pxref{Fontsets}). Changing this frame parameter on a frame, 419fontset (@pxref{Fontsets}). Changing this frame parameter on a frame
420also changes the font-related attributes of the default face on that 420also changes the font-related attributes of the default face on that
421frame. 421frame.
422 422
@@ -522,9 +522,11 @@ number you specify is whether it is greater than zero.)
522@item screen-gamma 522@item screen-gamma
523If this is a number, Emacs performs ``gamma correction'' on colors. The 523If this is a number, Emacs performs ``gamma correction'' on colors. The
524value should be the screen gamma of your display, a floating point 524value should be the screen gamma of your display, a floating point
525number. Usual PC monitors have a screen gamma of 2.2. Smaller values 525number. Usual PC monitors have a screen gamma of 2.2, so the default is
526result in darker colors; you might want to try a screen gamma of 1.5 for 526to display for that gamma value. Specifying a smaller value results in
527LCD color displays. The viewing gamma Emacs uses is 0.4545 (1/2.2). 527darker colors, which is desirable for a monitor that tends to display
528colors too light. A screen gamma value of 1.5 may give good results for
529LCD color displays.
528 530
529@item tool-bar-lines 531@item tool-bar-lines
530The number of lines to use for the toolbar. A value of @code{nil} means 532The number of lines to use for the toolbar. A value of @code{nil} means
@@ -1503,13 +1505,14 @@ amount of green, and the amount of blue. Each integer ranges in
1503principle from 0 to 65535, but in practice the largest value used is 1505principle from 0 to 65535, but in practice the largest value used is
150465280. 150665280.
1505 1507
1506 These functions accept a frame as an optional argument. We hope in 1508 These functions accept a display (either a frame or the name of a
1507the future to make Emacs support multiple text-only terminals; then 1509terminal) as an optional argument. We hope in the future to make Emacs
1508this'argument will specify which terminal to operate on (the default 1510support more than one text-only terminal at one time; then this argument
1509being the selected frame). At present, though, the @var{frame} argument 1511will specify which terminal to operate on (the default being the
1510has no effect. 1512selected frame's terminal). At present, though, the @var{display}
1513argument has no effect.
1511 1514
1512@defun tty-color-define name number &optional rgb frame 1515@defun tty-color-define name number &optional rgb display
1513@tindex tty-color-define 1516@tindex tty-color-define
1514This function associates the color name @var{name} with 1517This function associates the color name @var{name} with
1515color number @var{number} on the terminal. 1518color number @var{number} on the terminal.
@@ -1521,12 +1524,12 @@ approximate other colors, because Emacs does not know what it looks
1521like. 1524like.
1522@end defun 1525@end defun
1523 1526
1524@defun tty-color-clear &optional frame 1527@defun tty-color-clear &optional display
1525@tindex tty-color-clear 1528@tindex tty-color-clear
1526This function clears the table of defined colors for a text-only terminal. 1529This function clears the table of defined colors for a text-only terminal.
1527@end defun 1530@end defun
1528 1531
1529@defun tty-color-alist &optional frame 1532@defun tty-color-alist &optional display
1530@tindex tty-color-alist 1533@tindex tty-color-alist
1531This function returns an alist recording the known colors supported by a 1534This function returns an alist recording the known colors supported by a
1532text-only terminal. 1535text-only terminal.
@@ -1538,18 +1541,17 @@ If present, @var{rgb} is an rgb value that says what the color
1538actually looks like. 1541actually looks like.
1539@end defun 1542@end defun
1540 1543
1541@defun tty-color-approximate rgb &optional frame 1544@defun tty-color-approximate rgb &optional display
1542@tindex tty-color-approximate 1545@tindex tty-color-approximate
1543This function finds the closest color, among the known colors supported 1546This function finds the closest color, among the known colors supported
1544for @var{frame}'s terminal, to that described by the rgb value 1547for @var{display}, to that described by the rgb value @var{rgb}.
1545@var{rgb}.
1546@end defun 1548@end defun
1547 1549
1548@defun tty-color-translate color &optional frame 1550@defun tty-color-translate color &optional display
1549@tindex tty-color-translate 1551@tindex tty-color-translate
1550This function finds the closest color to @var{color} among the known 1552This function finds the closest color to @var{color} among the known
1551colors supported for @var{frame}'s terminal. If the name @var{color} is 1553colors supported for @var{display}. If the name @var{color} is not
1552not defined, the value is @code{nil}. 1554defined, the value is @code{nil}.
1553 1555
1554@var{color} can be an X-style @code{"#@var{xxxyyyzzz}"} specification 1556@var{color} can be an X-style @code{"#@var{xxxyyyzzz}"} specification
1555instead of an actual name. The format 1557instead of an actual name. The format