diff src/widget.c @ 5706:75570af32e92

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Sun, 30 Jan 1994 03:17:32 +0000
parents 3929b3fb37ee
children 4870efc489ea
line wrap: on
line diff
--- a/src/widget.c	Sun Jan 30 03:04:13 1994 +0000
+++ b/src/widget.c	Sun Jan 30 03:17:32 1994 +0000
@@ -58,14 +58,14 @@
 #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 @@
 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 @@
 }
 
 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);