• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/emacs-92/emacs/src/

Lines Matching +defs:how +defs:to

19 along with GNU Emacs; see the file COPYING.  If not, write to
96 /* Non-zero means to draw the underline at the same place as the descent line. */
130 is the frame to apply to. */
133 /* This is a frame waiting to be autoraised, within w32_read_socket. */
143 /* Flag to enable Unicode output in case users wish to use programs
148 /* Flag to enable Cleartype hack for font metrics. */
186 so w32_mouse_position can know whether to report a scroll bar motion or
190 to Qnil, to tell w32_mouse_position to return an ordinary motion event. */
196 doesn't seem to be any way to wrest the time-stamp from the server
203 /* Incremented by w32_read_socket whenever it really tries to read
218 /* A mask of extra modifier bits to put into every keyboard char. */
409 This function is called prior to calls to x_update_window_begin for
432 to the window being updated and set output_cursor to the cursor
458 /* If F needs to be redrawn, simply forget about any prior mouse
465 unequal to rows in a desired matrix which never have that
467 scrolled, and we don't have to switch the mouse highlight off
468 here to prevent it from being scrolled. */
471 where the mouse highlight is? If so, no need to turn off.
493 /* Draw a vertical window border from (x,y0) to (x,y1) */
521 /* End update of window W (which is equal to updated_window).
527 glyphs in mouse-face were overwritten. In that case we have to
557 XTframe_up_to_date to redisplay the mouse highlight. */
566 was visible before the corresponding call to HideCaret in
624 between bitmaps to be drawn between current row and DESIRED_ROW. */
674 window W. ROW is the glyph row for which to display the bitmap; it
675 determines the vertical position at which the bitmap has to be
806 must be done to Emacs's own window if it is suspended (though that
903 /* Disabled until we can find a way to get the right results
913 /* Cleartype antialiasing causes characters to overhang
923 /* As far as I can tell, this is the best way to determine what
940 though - we can call GetTextExtentPoint32 to get rbearing and
942 is assumed to be zero. */
992 cached metrics to be used, which seems to work, but in cases
994 char2b appropriately. All callers need checking to see what they
995 are passing. This is most likely to affect variable width fonts
997 that rely on rbearing and lbearing to provide composition. I
999 to have anyone testing such languages on Windows. */
1055 not worth it, to cache other chars, since we may change
1111 /* FONT_INFO may define a scheme by which to encode byte1 and byte2.
1165 /* If charset is not ASCII or Latin-1, may need to move it into
1263 /* Set S->gc to a suitable GC for drawing glyph string S in cursor
1325 /* What face has to be used last for the mouse face? */
1368 /* Set S->gc of glyph string S to a GC suitable for drawing a mode line.
1369 Faces to use in the mode line have already been computed when the
1370 matrix was built, so there isn't much to do, here. */
1381 S->stippled_p to a non-zero value if the face of S has a stipple
1448 /* TODO: Windows does not appear to have a method for
1461 /* Convert to unicode! */
1506 /* Nothing to do if background has already been drawn or if it
1551 of S to the right of that box line. */
1601 /* For overstriking (to simulate bold-face), draw the
1602 characters again shifted to the right by one pixel. */
1623 of S to the right of that box line. */
1676 brightness is less than this value (on a scale of 0-255) have to
1688 DISPLAY is the X display, CMAP is the colormap to operate on.
1717 /* Make an additive adjustment to NEW, because it's dark enough so
1740 /* TODO: Map to palette and retry with delta if same? */
1753 string S. RELIEF is a pointer to a struct relief containing the GC
1830 to draw, it must be >= 0. RAISED_P non-zero means draw a raised
1833 side of the rectangle. CLIP_RECT is the clipping rectangle to use
1895 RIGHT_X, and BOTTOM_Y. WIDTH is the thickness of the lines to
1899 rectangle to use when drawing. */
1997 /* If first glyph of S has a left box line, start drawing it to the
2090 /* If first glyph of S has a left box line, start drawing it to the
2132 /* Draw the foreground of image glyph string S to PIXMAP. */
2144 /* If first glyph of S has a left box line, start drawing it to the
2221 give the rectangle to draw. */
2269 taller than image or if image has a clip mask to reduce
2288 #if 0 /* TODO: figure out if we need to do this on Windows. */
2292 with the background color. Copy the image to it, using
2293 its mask. Copy the temporary pixmap to the display. */
2536 you make this work, don't forget to change the doc string of
2598 /* Shift display to make room for inserted glyphs. */
2664 /* We have to clear the scroll bars, too. If we have changed
2704 /* Specify how many text lines, from the top of the window,
2707 that is bounded by calls to x_update_begin and x_update_end. */
2793 RECT to;
2797 from.left = to.left = x;
2798 from.right = to.right = x + width;
2801 to.top = y;
2802 to.bottom = bottom_y;
2804 ScrollWindowEx (hwnd, 0, to_y - from_y, &from, &to, dirty,
2807 /* Combine this with what we expect to be dirty. This covers the
2844 /* The focus has changed. Update the frames as necessary to reflect
2959 /* The focus has changed, or we have redirected a frame's focus to
2963 The FRAME argument doesn't necessarily have anything to do with which
2964 frame is being highlighted or un-highlighted; we only use it to find
3009 /* Convert a keysym to its name. */
3032 button messages. Returns FALSE if unable to parse the message. */
3158 coordinates, so cast to short to interpret them correctly. */
3223 /* Function to report a mouse movement to the mainstream Emacs code.
3267 to keep track of the mouse for help_echo and highlighting at
3305 *fp should be a frame which indicates which display to ask about.
3308 and *part to the frame, window, and scroll bar part that the mouse
3309 is over. Set *x and *y to the portion and whole of the mouse's
3312 If the mouse movement started elsewhere, set *fp to the frame the
3313 mouse is on, *bar_window to nil, and *x and *y to the character cell
3316 Set *time to the server time-stamp for the time at which the mouse
3319 Don't store anything if we don't have a valid set of values to report.
3388 last_mouse_glyph is a rectangle used to reduce the
3447 This can be called in GC, so we have to make sure to strip off mark
3471 /* This trick allows us to search both the ordinary and
3496 /* We use the whole scroll-bar height in the calculations below, to
3505 /* We used to change the nPage setting while dragging the handle,
3510 get near to the end of the buffer, in which case we often have to
3511 resize the handle to "go all the way". */
3530 to nothing if it is held at the bottom of the buffer. */
3581 my_show_window (FRAME_PTR f, HWND hwnd, int how)
3585 (WPARAM) hwnd, (LPARAM) how);
3587 return ShowWindow (hwnd, how);
3636 the Emacs window on which to create the scroll bar. TOP, LEFT,
3662 /* Requires geometry to be set before call to create the real window */
3678 /* Add bar to its frame's list of scroll bars. */
3691 /* Destroy scroll bar BAR, and set its Emacs window's scroll bar to
3711 /* Set the handle of the vertical scroll bar for WINDOW to indicate
3764 /* It may just need to be moved and resized. */
3790 for them on the frame, we have to clear "under" them. */
3798 /* Make sure scroll bar is "visible" before moving, to ensure the
3833 are going to be deleted, because keeping track of when windows go
3836 that *all* scroll bars are to be removed, and then save a scroll bar
3839 /* Arrange for all scroll bars on FRAME to be removed at the next call
3840 to `*judge_scroll_bars_hook'. A scroll bar may be spared if
3841 `*redeem_scroll_bar_hook' is applied to its window before the judgment. */
3847 /* Transfer all the scroll bars to FRAME_CONDEMNED_SCROLL_BARS. */
3909 last call to `*condemn_scroll_bars_hook'. */
3919 /* Clear out the condemned list now so we won't try to process any
3933 /* Now there should be no references to the condemned scroll bars,
3938 is set to something other than NO_EVENT, it is enqueued.
3940 This may be called from a signal handler, so we have to ignore GC
3954 /* not really meaningful to distinguish up/down */
4022 handle size to normal and do a final redraw. Otherwise do
4049 /* Return information to the user about the current position of the mouse
4109 background colors, and the scroll bars may need to be redrawn.
4130 /* Hide scroll bar until ready to repaint. x_scroll_bar_move
4131 arranges to refresh the scroll bar if hidden. */
4148 to help debug the loss-of-chars-during-GC problem. */
4156 We return as soon as there are no more events to be read.
4159 thus pretending to be `read'.
4163 Some of these messages are reposted back to the message queue since the
4167 will set a variable to indicate we are in the read_socket call and indicate
4239 /* Force a redisplay sooner or later to update the
4384 But it was originally changed to this to fix a bug, so I have
4404 /* If we decide we want to generate an event to be seen
4546 /* wParam non-zero means Window is about to be shown, 0 means
4547 about to be hidden. */
4557 visibility of all frames. Direct changes to our own
4616 to update the frame titles
4639 /* TODO: Clip size to the screen dimensions. */
4643 to check the pixel dimensions as well. */
4674 /* Generate a nil HELP_EVENT to cancel a help-echo.
4675 Do it only if there's something to cancel.
4709 /* Generate a nil HELP_EVENT to cancel a help-echo.
4710 Do it only if there's something to cancel.
4817 /* If the focus was just given to an autoraising frame,
4819 /* ??? This ought to be able to handle more than one such frame. */
4828 do this here because there doesn't seem to be any direct
4867 such (we do this by setting async_visible to 2 so
4886 DebPrint (("obscured frame %p (%s) found to be visible\n", f,
4909 we operate. GC is the graphics context to set clipping in.
4912 clipped to the interior of the window dedicated to text display,
4913 mode lines must be clipped to the whole window. */
4977 Implementation note: One would like to draw a bar cursor with an
4978 angle equal to the one given by the font property XA_ITALIC_ANGLE.
5092 /* If the user wants to use the system caret, make sure our own
5096 /* Call to erase_phys_cursor here seems to use the
5112 /* If this is the active cursor, we need to track it with the
5197 /* Try to load a small icon to go with it. */
5340 to do. */
5387 /* Try to get the actual values of these two variables. We compute
5412 /* Treat negative positions as relative to the rightmost bottommost
5426 /* The left_pos and top_pos are now relative to the top and left
5432 to really change the position, and 0 when calling from
5473 /* Check if we need to resize the frame due to a fullscreen request.
5487 /* We do not need to move the window, it shall be taken care of
5495 /* Wait for the change of frame size to occur */
5501 /* Call this to change the size of frame F's x-window.
5502 If CHANGE_GRAVITY is 1, we change to top-left-corner window gravity
5547 but the window manager will get around to dealing with the size
5548 change request eventually, and we'll hear how it went when the
5553 might be kind of confusing to the Lisp code, since size changes
5563 /* We've set {FRAME,PIXEL}_{WIDTH,HEIGHT} to the values we hope to
5565 for, then the event won't cause the screen to become garbaged, so
5566 we have to make sure to do it here. */
5635 /* Give input focus to frame. */
5638 /* Try not to change its Z-order if possible. */
5662 on X where the usual policy is point-to-focus. However, this
5664 click-to-focus.
5666 On X, if the mouse happens to be over the raised frame, it gets
5669 is sufficient to give it focus. On Windows, the user must actually
5670 click on the frame (preferrably the title bar so as not to move
5672 raises a window to the top but leaves another window (possibly now
5676 to choose the point to focus policy, we make the strict semantics
5681 /* The obvious call to my_set_window_pos doesn't work if Emacs is
5683 above all other frames belonging to us, but not above the
5684 current top window. To achieve that, we have to resort to this
5743 /* This tries to wait until the frame is really visible.
5744 However, if the window manager asks the user where to position
5764 /* We test FRAME_GARBAGED_P here to make sure we don't
5766 if we get to x_make_frame_visible a second time
5774 /* Adjust vertical window position in order to avoid being
5793 /* Synchronize to ensure Emacs knows the frame is visible
5815 to go into a busy-wait here. So we'll fake an alarm signal
5816 to let the handler know that there's something to be read.
5817 We used to raise a real alarm, but it seems that the handler
5833 /* Change from mapped state to withdrawn state. */
5852 and synchronize with the server to make sure we agree. */
5861 /* Change window state from mapped to iconified. */
5961 FLAGS is the flags word to use--or 0 meaning preserve the flags
6006 /* The following functions are listed here to help diff stay in step
6039 /* Set *W to the minimum width, *H to the minimum font height of FONT.
6051 * TODO: Windows does not appear to offer min bound, only
6061 and smallest_font_height in F's x_display_info structure to
6100 /* The following functions are listed here to help diff stay in step
6160 /* Create an xrdb-style database of resources to supercede registry settings.
6162 \0. The string are submitted to some basic normalization, so
6267 bitmap data to be Word aligned. For some reason they are
6268 horizontally reflected compared to how they appear on X, so we
6269 need to bitswap and convert to unsigned shorts before creating
6350 { /* Nothing to do */ }
6443 /* Wait for thread to start */
6459 following call to AttachThreadInput, which should do precisely what
6462 instead we need to send messages to windowsThread to make some API
6495 /* Determine if Cleartype is in use. Used to enable a hack in
6496 the char metric calculations which adds extra pixels to
6534 with the normal Windows click-to-focus policy, but might not be
6535 desirable when using a point-to-focus policy. */);
6540 doc: /* Apply CapsLock state to non character input keys.
6562 doc: /* Flag to make the system caret visible.
6567 variable is initialized to t when Emacs detects that screen reader
6582 to 4.1, set this to nil.
6589 doc: /* *Non-nil means to draw the underline at the same place as the descent line.
6590 A value of nil means to draw the underline according to the value of the