diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-01-30 03:17:32 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-01-30 03:17:32 +0000 |
commit | 9205dd358450b60056456cb837b44ccf08debff9 (patch) | |
tree | 049b494a9cf0ceca8aa1fbc7ed10dffe6c5f7d3b /src | |
parent | 1c626db5b63735b8501d91ea9cd59ee0d70e7770 (diff) | |
download | emacs-9205dd358450b60056456cb837b44ccf08debff9.tar.gz |
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r-- | src/widget.c | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/src/widget.c b/src/widget.c index e5092b1eb73..e93fbaf5c6b 100644 --- a/src/widget.c +++ b/src/widget.c @@ -58,14 +58,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define DEFAULT_FACE_FONT "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" -static void EmacsFrameInitialize (Widget, Widget, ArgList, Cardinal *); -static void EmacsFrameDestroy (Widget); -static void EmacsFrameRealize (Widget, XtValueMask*, XSetWindowAttributes*); -void EmacsFrameResize (Widget widget); -static Boolean EmacsFrameSetValues (Widget, Widget, Widget, - ArgList, Cardinal *); -static XtGeometryResult EmacsFrameQueryGeometry (Widget, XtWidgetGeometry*, - XtWidgetGeometry*); +static void EmacsFrameInitialize (/*Widget, Widget, ArgList, Cardinal * */); +static void EmacsFrameDestroy (/* Widget */); +static void EmacsFrameRealize (/* Widget, XtValueMask*, XSetWindowAttributes* */); +void EmacsFrameResize (/* Widget widget */); +static Boolean EmacsFrameSetValues (/* Widget, Widget, Widget, + ArgList, Cardinal * */); +static XtGeometryResult EmacsFrameQueryGeometry (/* Widget, XtWidgetGeometry*, + XtWidgetGeometry* */); #undef XtOffset @@ -162,8 +162,10 @@ EmacsFrameClassRec emacsFrameClassRec = { WidgetClass emacsFrameClass = (WidgetClass) &emacsFrameClassRec; static void -get_default_char_pixel_size (EmacsFrame ew, int* pixel_width, - int* pixel_height) +get_default_char_pixel_size (ew, pixel_width, pixel_height) + EmacsFrame ew; + int* pixel_width; + int* pixel_height; { /* *pixel_width = XTextWidth (ew->emacs_frame.font, "n", 1); @@ -176,9 +178,12 @@ get_default_char_pixel_size (EmacsFrame ew, int* pixel_width, } static void -pixel_to_char_size (EmacsFrame ew, - Dimension pixel_width, Dimension pixel_height, - int* char_width, int* char_height) +pixel_to_char_size (ew, pixel_width, pixel_height, char_width, char_height) + EmacsFrame ew; + Dimension pixel_width; + Dimension pixel_height; + int* char_width; + int* char_height; { struct frame* f = ew->emacs_frame.frame; *char_width = PIXEL_TO_CHAR_WIDTH (f, pixel_width); |