diff options
| author | Richard M. Stallman | 2000-01-20 18:18:58 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2000-01-20 18:18:58 +0000 |
| commit | 757081353df933080416901d87c28fc0237ab5ea (patch) | |
| tree | c8a0babbe65742a25513e1b931e5883fc590f35b /lispref/frames.texi | |
| parent | caccdcbb25c7fd120997c8c7d619a6ab8f072beb (diff) | |
| download | emacs-757081353df933080416901d87c28fc0237ab5ea.tar.gz emacs-757081353df933080416901d87c28fc0237ab5ea.zip | |
*** empty log message ***
Diffstat (limited to 'lispref/frames.texi')
| -rw-r--r-- | lispref/frames.texi | 38 |
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 |
| 417 | The name of the font for displaying text in the frame. This is a | 417 | The name of the font for displaying text in the frame. This is a |
| 418 | string, either a valid font name for your system or the name of an Emacs | 418 | string, either a valid font name for your system or the name of an Emacs |
| 419 | fontset (@pxref{Fontsets}). Changing this frame parameter on a frame, | 419 | fontset (@pxref{Fontsets}). Changing this frame parameter on a frame |
| 420 | also changes the font-related attributes of the default face on that | 420 | also changes the font-related attributes of the default face on that |
| 421 | frame. | 421 | frame. |
| 422 | 422 | ||
| @@ -522,9 +522,11 @@ number you specify is whether it is greater than zero.) | |||
| 522 | @item screen-gamma | 522 | @item screen-gamma |
| 523 | If this is a number, Emacs performs ``gamma correction'' on colors. The | 523 | If this is a number, Emacs performs ``gamma correction'' on colors. The |
| 524 | value should be the screen gamma of your display, a floating point | 524 | value should be the screen gamma of your display, a floating point |
| 525 | number. Usual PC monitors have a screen gamma of 2.2. Smaller values | 525 | number. Usual PC monitors have a screen gamma of 2.2, so the default is |
| 526 | result in darker colors; you might want to try a screen gamma of 1.5 for | 526 | to display for that gamma value. Specifying a smaller value results in |
| 527 | LCD color displays. The viewing gamma Emacs uses is 0.4545 (1/2.2). | 527 | darker colors, which is desirable for a monitor that tends to display |
| 528 | colors too light. A screen gamma value of 1.5 may give good results for | ||
| 529 | LCD color displays. | ||
| 528 | 530 | ||
| 529 | @item tool-bar-lines | 531 | @item tool-bar-lines |
| 530 | The number of lines to use for the toolbar. A value of @code{nil} means | 532 | The 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 | |||
| 1503 | principle from 0 to 65535, but in practice the largest value used is | 1505 | principle from 0 to 65535, but in practice the largest value used is |
| 1504 | 65280. | 1506 | 65280. |
| 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 |
| 1507 | the future to make Emacs support multiple text-only terminals; then | 1509 | terminal) as an optional argument. We hope in the future to make Emacs |
| 1508 | this'argument will specify which terminal to operate on (the default | 1510 | support more than one text-only terminal at one time; then this argument |
| 1509 | being the selected frame). At present, though, the @var{frame} argument | 1511 | will specify which terminal to operate on (the default being the |
| 1510 | has no effect. | 1512 | selected frame's terminal). At present, though, the @var{display} |
| 1513 | argument 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 |
| 1514 | This function associates the color name @var{name} with | 1517 | This function associates the color name @var{name} with |
| 1515 | color number @var{number} on the terminal. | 1518 | color number @var{number} on the terminal. |
| @@ -1521,12 +1524,12 @@ approximate other colors, because Emacs does not know what it looks | |||
| 1521 | like. | 1524 | like. |
| 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 |
| 1526 | This function clears the table of defined colors for a text-only terminal. | 1529 | This 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 |
| 1531 | This function returns an alist recording the known colors supported by a | 1534 | This function returns an alist recording the known colors supported by a |
| 1532 | text-only terminal. | 1535 | text-only terminal. |
| @@ -1538,18 +1541,17 @@ If present, @var{rgb} is an rgb value that says what the color | |||
| 1538 | actually looks like. | 1541 | actually 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 |
| 1543 | This function finds the closest color, among the known colors supported | 1546 | This function finds the closest color, among the known colors supported |
| 1544 | for @var{frame}'s terminal, to that described by the rgb value | 1547 | for @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 |
| 1550 | This function finds the closest color to @var{color} among the known | 1552 | This function finds the closest color to @var{color} among the known |
| 1551 | colors supported for @var{frame}'s terminal. If the name @var{color} is | 1553 | colors supported for @var{display}. If the name @var{color} is not |
| 1552 | not defined, the value is @code{nil}. | 1554 | defined, 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 |
| 1555 | instead of an actual name. The format | 1557 | instead of an actual name. The format |