Mercurial > hg > xemacs-beta
comparison src/frame.h @ 5126:2a462149bd6a ben-lisp-object
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 24 Feb 2010 19:04:27 -0600 |
parents | b5df3737028a d0c14ea98592 |
children | 7be849cb8828 |
comparison
equal
deleted
inserted
replaced
5125:b5df3737028a | 5126:2a462149bd6a |
---|---|
1 /* Define frame-object for XEmacs. | 1 /* Define frame-object for XEmacs. |
2 Copyright (C) 1988, 1992, 1993, 1994 Free Software Foundation, Inc. | 2 Copyright (C) 1988, 1992, 1993, 1994 Free Software Foundation, Inc. |
3 Copyright (C) 1995, 2002 Ben Wing. | 3 Copyright (C) 1995, 2002, 2010 Ben Wing. |
4 | 4 |
5 This file is part of XEmacs. | 5 This file is part of XEmacs. |
6 | 6 |
7 XEmacs is free software; you can redistribute it and/or modify it | 7 XEmacs is free software; you can redistribute it and/or modify it |
8 under the terms of the GNU General Public License as published by the | 8 under the terms of the GNU General Public License as published by the |
118 DEVICE_FRAME_LOOP (frmcons, XDEVICE (XCAR (devcons))) | 118 DEVICE_FRAME_LOOP (frmcons, XDEVICE (XCAR (devcons))) |
119 | 119 |
120 void update_frame_title (struct frame *f); | 120 void update_frame_title (struct frame *f); |
121 Lisp_Object next_frame (Lisp_Object, Lisp_Object, Lisp_Object); | 121 Lisp_Object next_frame (Lisp_Object, Lisp_Object, Lisp_Object); |
122 Lisp_Object previous_frame (Lisp_Object, Lisp_Object, Lisp_Object); | 122 Lisp_Object previous_frame (Lisp_Object, Lisp_Object, Lisp_Object); |
123 void pixel_to_frame_unit_size (struct frame *f, int pixel_width, int pixel_height, | |
124 int *char_width, int *char_height); | |
125 void frame_unit_to_pixel_size (struct frame *f, int char_width, int char_height, | |
126 int *pixel_width, int *pixel_height); | |
123 void pixel_to_char_size (struct frame *f, int pixel_width, int pixel_height, | 127 void pixel_to_char_size (struct frame *f, int pixel_width, int pixel_height, |
124 int *char_width, int *char_height); | 128 int *char_width, int *char_height); |
125 void char_to_pixel_size (struct frame *f, int char_width, int char_height, | 129 void char_to_pixel_size (struct frame *f, int char_width, int char_height, |
126 int *pixel_width, int *pixel_height); | 130 int *pixel_width, int *pixel_height); |
127 void round_size_to_char (struct frame *f, int in_width, int in_height, | 131 void round_size_to_char (struct frame *f, int in_width, int in_height, |
128 int *out_width, int *out_height); | 132 int *out_width, int *out_height); |
129 void pixel_to_real_char_size (struct frame *f, int pixel_width, int pixel_height, | |
130 int *char_width, int *char_height); | |
131 void char_to_real_pixel_size (struct frame *f, int char_width, int char_height, | |
132 int *pixel_width, int *pixel_height); | |
133 void round_size_to_real_char (struct frame *f, int in_width, int in_height, | |
134 int *out_width, int *out_height); | |
135 void change_frame_size (struct frame *frame, | 133 void change_frame_size (struct frame *frame, |
136 int newlength, int newwidth, | 134 int newlength, int newwidth, |
137 int delay); | 135 int delay); |
138 void adjust_frame_size (struct frame *frame); | 136 void adjust_frame_size (struct frame *frame); |
137 void internal_set_frame_size (struct frame *f, int cols, int rows, | |
138 int pretend); | |
139 void frame_size_slipped (Lisp_Object specifier, struct frame *f, | 139 void frame_size_slipped (Lisp_Object specifier, struct frame *f, |
140 Lisp_Object oldval); | 140 Lisp_Object oldval); |
141 void select_frame_1 (Lisp_Object frame); | 141 void select_frame_1 (Lisp_Object frame); |
142 void select_frame_2 (Lisp_Object frame); | 142 void select_frame_2 (Lisp_Object frame); |
143 struct frame *selected_frame (void); | 143 struct frame *selected_frame (void); |