aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfns.c
Commit message (Collapse)AuthorAgeFilesLines
* (png_load): Set screen_gamma based on f->gamma.Richard M. Stallman2002-03-031-7/+5
| | | | | If png_get_sRGB gives an answer, call png_set_gamma using the default image gamma value.
* (x_encode_text): Accept additional arg SELECTIONP; allEli Zaretskii2002-02-221-5/+19
| | | | | callers changed. If SELECTIONP is non-zero, run the pre-write-conversion function before encoding the selection text.
* (gif_load): Use correct width and height for GIF images.Pavel Janík2002-02-201-2/+2
|
* xfns.c (x_set_frame_parameters): Typo in previous fix corrected.Jan Djärv2002-01-221-1/+1
|
* xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjustJan Djärv2002-01-211-4/+4
| | | | if fullscreen is being set.
* (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): New variables.Eli Zaretskii2002-01-131-43/+176
| | | | | | | | | | (syms_of_xfns): Intern and staticpro them. (x_frame_parms) <"fullscreen">: New parameter. (x_fullscreen_move, x_set_fullscreen): New functions. (x_set_frame_parameters): Support for Qfullscreen. (x_real_positions): More accurate computation of the frame position. (x_figure_window_size): Support full-screen frames. (Fx_create_frame): Default the fullscreen parameter.
* (compute_tip_xy): If tooltip won't fit on the screenRichard M. Stallman2001-12-211-2/+7
| | | | | to the left or to the right of the pointer, put it against the left screen edge.
* (x_frame_parms): Add missing braces around initializer.Pavel Janík2001-12-181-29/+29
| | | | (visual_classes): Likewise.
* (Frame_parameters): Makes the scroll-bar-width frame parameter haveEli Zaretskii2001-12-131-0/+4
| | | | a numeric value all the time.
* (x_report_frame_params): Make the scroll-bar-width frame parameter have a ↵Kim F. Storm2001-12-051-0/+4
| | | | numeric value
* (x_frame_parms): Add `left-fringe' and `right-fringe' parms.Kim F. Storm2001-12-011-4/+25
| | | | | | | | | (x_set_frame_parameters): Process Process `font' parameter before other parameters as fringe widths depend on it. (x_set_fringe_width): New function. (x_figure_window_size): Use x_compute_fringe_widths. (Fx_create_frame): Process `left-fringe' and `right-fringe' frame parameters.
* (compute_tip_xy): Initialize root_x and root_y fromJason Rumney2001-11-241-1/+1
| | | | mouse position if either left or top is not specified.
* Fringe cleanup.Kim F. Storm2001-11-161-2/+2
| | | | Use renamed symbols.
* (x_set_frame_parameters): Revert change of 2001-11-07.Gerd Moellmann2001-11-151-9/+6
| | | | | Some x_set_* function expect to be called even if old and new value are equal.
* (Fx_create_frame): Accept zero tool_bar_button_relief.Gerd Moellmann2001-11-151-2/+2
|
* (x_set_frame_parameters): Avoid infinite recursion.Miles Bader2001-11-071-12/+22
|
* (Fx_create_frame): Doc fix.Pavel Janík2001-11-041-1/+1
|
* Include unistd.h, if it exists.Richard M. Stallman2001-11-041-0/+4
|
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-46/+46
|
* (x_build_heuristic_mask): Use four_corners_bestGerd Moellmann2001-11-011-1/+1
| | | | instead of IMAGE_BACKGROUND.
* (four_corners_best): Reindent.Gerd Moellmann2001-11-011-18/+18
|
* (x-get-resource): Reindent.Pavel Janík2001-11-011-1/+1
|
* (x_set_internal_border_width): Set frame garbagedGerd Moellmann2001-10-291-0/+2
| | | | when X window doesn't exist yet.
* (x_build_heuristic_mask): Use x_alloc_image_color.Gerd Moellmann2001-10-281-10/+2
|
* (x_build_heuristic_mask): Fix a bug not incrementingGerd Moellmann2001-10-281-4/+2
| | | | a loop counter.
* (XScreenNumberOfScreen): Fix struct to pointerGerd Moellmann2001-10-261-1/+1
| | | | comparison.
* (png_load): Make sure SPECIFIED_BG is a string.Miles Bader2001-10-251-5/+5
| | | | | (png_load): BG is a pointer to a structure, not a structure. (gif_format, png_format): Add missing commas.
* (image_background, image_background_transparent)Miles Bader2001-10-241-44/+211
| | | | | | | | | | | | | | | | | | | | | (four_corners_best): New functions. (xpm_format, png_format, jpeg_format, tiff_format, gif_format) (gs_format): Add `:background' entry. (lookup_image): Set IMG's background color if specified. (pbm_load, xbm_load_image, png_load): Set IMG's background field when appropriate. (x_clear_image_1): Reset `background_valid' and `background_transparent_valid' fields. (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of calculating it here. Set IMG's background_transparent field. (enum xpm_keyword_index): Add XPM_BACKGROUND. (enum png_keyword_index): Add PNG_BACKGROUND. (enum jpeg_keyword_index): Add JPEG_BACKGROUND. (enum tiff_keyword_index): Add TIFF_BACKGROUND. (enum gif_keyword_index): Add GIF_BACKGROUND. (enum gs_keyword_index): Add GS_BACKGROUND. (pbm_load, png_load, jpeg_load, tiff_load, gif_load): Pre-calculate image background color where necessary.
* (Fx_show_tip): Remove unused variables `buffer', `top', `left', `max_width'Pavel Janík2001-10-231-1/+0
| | | | and `max_height'.
* (x_laplace_read_row, x_laplace_write_row): Prototypes removed.Pavel Janík2001-10-201-4/+0
|
* Change doc-string comments to `new style' [w/`doc:' keyword].Miles Bader2001-10-171-139/+137
|
* Fix multi-line string.Gerd Moellmann2001-10-141-3/+3
|
* Put doc strings in comments.Gerd Moellmann2001-10-141-286/+292
|
* (syms_of_xfns): Update calls to Fprovide.Stefan Monnier2001-10-121-3/+2
|
* Update calls to openp.Stefan Monnier2001-10-121-4/+4
|
* Don't define min/max.Gerd Moellmann2001-10-081-3/+0
|
* *** empty log message ***Pavel Janík2001-10-081-4/+2
|
* (x_set_scroll_bar_background) [USE_TOOLKIT_SCROLL_BARS]:Miles Bader2001-10-051-0/+22
| | | | | | Free scroll-bar shadow colors when the background color changes. (Fx_create_frame, x_create_tip_frame) [USE_TOOLKIT_SCROLL_BARS]: Initialize scroll-bar shadow-color fields.
* (tiff_error_handler, tiff_warning_handler): New functions.Gerd Moellmann2001-10-051-0/+31
| | | | (tiff_load): Install them as error and warning handler.
* (x_kill_gs_process): Recognize if someone has clearedGerd Moellmann2001-09-251-1/+5
| | | | the image cache under us.
* (Fx_window_property): Handle case that property getsGerd Moellmann2001-09-131-1/+1
| | | | deleted between the two calls to XGetWindowProperty.
* (x_set_background_color): Don't change the colorsGerd Moellmann2001-09-061-8/+13
| | | | of the X window of scroll bar widgets.
* (x_create_im): Remove prototype.Gerd Moellmann2001-08-091-1/+0
|
* (x_set_tool_bar_lines): Clear the tool bar window'sGerd Moellmann2001-08-011-0/+3
| | | | current matrix when the window gets smaller.
* (x-show-tip): Doc fix.Gerd Moellmann2001-07-261-1/+4
|
* (Vx_max_tooltip_size): New variable.Gerd Moellmann2001-07-261-8/+33
| | | | | | | | (syms_of_xfns): DEFVAR_LISP it. (Fx_show_tip): Set frame's window_width to the width of the window. Use a maximum tooltip size specified by Vx_max_tooltip_size, if that has valid contents. (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil.
* (Fx_file_dialog): Block/unblock input while processingGerd Moellmann2001-07-251-2/+10
| | | | events so that we get a chance of processing expose events.
* (valid_image_p): Protect better against invalid imageGerd Moellmann2001-07-241-5/+16
| | | | specifications.
* (Fx_create_frame): Initialize frame colors to -1,Gerd Moellmann2001-07-101-0/+10
| | | | for the case that x_decode_colors signals an error.
* (Qwait_for_wm): New variable.Gerd Moellmann2001-06-251-2/+23
| | | | | | | (x_frame_parms): Add entry for `wait-for-wm". (x_set_wait_for_wm): New function. (Fx_create_frame): Call x_default_parameter for wait-for-wm. (syms_of_xfns): Initialize and staticpro Qwait_for_wm.