reindent-20030715
[openafs.git] / src / gtx / gtxX11win.h
index fe16a13..c1bfe3a 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __gator_X11windows_h
 #define        __gator_X11windows_h  1
 
-#include "gtxwindows.h"        /*Base gator window dfns */
+#include "gtxwindows.h"                /*Base gator window dfns */
 
 /*Value for gwin w_type field*/
 #define        GATOR_WIN_X11    3
 /*Private data for a X11 gwin*/
 #if 0
 struct gator_X11gwin {
-    WINDOW *wp;                /*Window pointer*/
-    int        charwidth;      /*Character width in pixels*/
-    int        charheight;     /*Character height in pixels*/
-    char box_vertchar; /*Vertical char for boxing purposes*/
-    char box_horizchar;        /*Horizontal char for boxing purposes*/
+    WINDOW *wp;                        /*Window pointer */
+    int charwidth;             /*Character width in pixels */
+    int charheight;            /*Character height in pixels */
+    char box_vertchar;         /*Vertical char for boxing purposes */
+    char box_horizchar;                /*Horizontal char for boxing purposes */
 };
 #endif /* 0 */
 
 /*X11 gwin's creation parameters*/
 struct gator_X11gwin_params {
-    struct gwin_createparams gwin_params;   /*Basic params for the window*/
-    char box_vertchar;                     /*Vertical char for boxing purposes*/
-    char box_horizchar;                            /*Horizontal char for boxing purposes*/
+    struct gwin_createparams gwin_params;      /*Basic params for the window */
+    char box_vertchar;         /*Vertical char for boxing purposes */
+    char box_horizchar;                /*Horizontal char for boxing purposes */
 };
 
 /*X11 initialization routine*/
@@ -41,11 +41,11 @@ extern int gator_X11gwin_init();
      *    Initialize the X11 window package.
      *
      * Args:
-     *   int adebug: Is debugging turned on?
+     *    int adebug: Is debugging turned on?
      *
      * Returns:
-     *   0 on success,
-     *   Error value otherwise.
+     *    0 on success,
+     *    Error value otherwise.
      */
 
 /*X11 window's creation routine*/
@@ -56,11 +56,11 @@ extern struct gwin *gator_X11gwin_create();
      *    Create a X11 window.
      *
      * Args:
-     *   struct gator_X11gwin_params *params : Ptr to creation parameters.
+     *    struct gator_X11gwin_params *params : Ptr to creation parameters.
      *
      * Returns:
-     *   Ptr to the created X11 window structure if successful,
-     *   Error value otherwise.
+     *    Ptr to the created X11 window structure if successful,
+     *    Error value otherwise.
      */
 
 /*X11 cleanup routine*/
@@ -71,11 +71,11 @@ extern int gator_X11gwin_cleanup();
      *    Clean up after the X11 window package.
      *
      * Args:
-     *   struct gwin *gwp : Ptr to base window.
+     *    struct gwin *gwp : Ptr to base window.
      *
      * Returns:
-     *   0 on success,
-     *   Error value otherwise.
+     *    0 on success,
+     *    Error value otherwise.
      */
 
 extern struct gwinbaseops gator_X11_gwinbops;
@@ -88,12 +88,12 @@ extern int gator_X11gwin_box();
      *    Draw a box around the given X11 window.
      *
      * Args:
-     *  struct gwin *gwp : Ptr to the X11 window to draw
-     *                             a box around.
+     *   struct gwin *gwp : Ptr to the X11 window to draw
+     *                              a box around.
      *
      * Returns:
-     *   0: Success.
-     *   Error value otherwise.
+     *    0: Success.
+     *    Error value otherwise.
      */
 
 extern int gator_X11gwin_clear();
@@ -102,12 +102,12 @@ extern int gator_X11gwin_clear();
      *    Clear out the given X11 window.
      *
      * Args:
-     *  struct gwin *gwp : Ptr to the X11 window to clear
-     *                             out.
+     *   struct gwin *gwp : Ptr to the X11 window to clear
+     *                              out.
      *
      * Returns:
-     *   0: Success.
-     *   Error value otherwise.
+     *    0: Success.
+     *    Error value otherwise.
      */
 
 extern int gator_X11gwin_destroy();
@@ -116,11 +116,11 @@ extern int gator_X11gwin_destroy();
      *    Destroy the given X11 window.
      *
      * Args:
-     *  struct gwin *gwp : Ptr to the X11 window to destroy.
+     *   struct gwin *gwp : Ptr to the X11 window to destroy.
      *
      * Returns:
-     *   0: Success.
-     *   Error value otherwise.
+     *    0: Success.
+     *    Error value otherwise.
      */
 
 extern int gator_X11gwin_display();
@@ -129,11 +129,11 @@ extern int gator_X11gwin_display();
      *    Display/redraw the given X11 window.
      *
      * Args:
-     *  struct gwin *gwp : Ptr to the X11 window to draw.
+     *   struct gwin *gwp : Ptr to the X11 window to draw.
      *
      * Returns:
-     *   0: Success.
-     *   Error value otherwise.
+     *    0: Success.
+     *    Error value otherwise.
      */
 
 extern int gator_X11gwin_drawline();
@@ -143,13 +143,13 @@ extern int gator_X11gwin_drawline();
      *    window.
      *
      * Args:
-     *  struct gwin *gwp : Ptr to the X11 window in which
-     *                             the line is to be drawn.
-     *  struct gwin_lineparams *params : Ptr to other params.
+     *   struct gwin *gwp : Ptr to the X11 window in which
+     *                              the line is to be drawn.
+     *   struct gwin_lineparams *params : Ptr to other params.
      *
      * Returns:
-     *   0: Success.
-     *   Error value otherwise.
+     *    0: Success.
+     *    Error value otherwise.
      */
 
 extern int gator_X11gwin_drawrectangle();
@@ -158,13 +158,13 @@ extern int gator_X11gwin_drawrectangle();
      *    Draw a rectangle in the given X11 window.
      *
      * Args:
-     *  struct gwin *gwp : Ptr to the X11 window in which
-     *                             the rectangle is to be drawn.
-     *  struct gwin_rectparams *params : Ptr to other params.
+     *   struct gwin *gwp : Ptr to the X11 window in which
+     *                              the rectangle is to be drawn.
+     *   struct gwin_rectparams *params : Ptr to other params.
      *
      * Returns:
-     *   0: Success.
-     *   Error value otherwise.
+     *    0: Success.
+     *    Error value otherwise.
      */
 
 extern int gator_X11gwin_drawchar();
@@ -173,13 +173,13 @@ extern int gator_X11gwin_drawchar();
      *    Draw a character in the given X11 window.
      *
      * Args:
-     *  struct gwin *gwp : Ptr to the X11 window in which
-     *                             the character is to be drawn.
-     *  struct gwin_charparams *params : Ptr to other params.
+     *   struct gwin *gwp : Ptr to the X11 window in which
+     *                              the character is to be drawn.
+     *   struct gwin_charparams *params : Ptr to other params.
      *
      * Returns:
-     *   0: Success.
-     *   Error value otherwise.
+     *    0: Success.
+     *    Error value otherwise.
      */
 
 extern int gator_X11gwin_drawstring();
@@ -188,13 +188,13 @@ extern int gator_X11gwin_drawstring();
      *    Draw a string in the given X11 window.
      *
      * Args:
-     *  struct gwin *gwp : Ptr to the X11 window in which
-     *                             the string is to be drawn.
-     *  struct gwin_strparams *params : Ptr to other params.
+     *   struct gwin *gwp : Ptr to the X11 window in which
+     *                              the string is to be drawn.
+     *   struct gwin_strparams *params : Ptr to other params.
      *
      * Returns:
-     *   0: Success.
-     *   Error value otherwise.
+     *    0: Success.
+     *    Error value otherwise.
      */
 
 extern int gator_X11gwin_invert();
@@ -203,13 +203,13 @@ extern int gator_X11gwin_invert();
      *    Invert a region in the given X11 window.
      *
      * Args:
-     *  struct gwin *gwp : Ptr to the X11 window in which
-     *                             the inverted region lies.
-     *  struct gwin_invparams *params : Ptr to other params.
+     *   struct gwin *gwp : Ptr to the X11 window in which
+     *                              the inverted region lies.
+     *   struct gwin_invparams *params : Ptr to other params.
      *
      * Returns:
-     *   0: Success.
-     *   Error value otherwise.
+     *    0: Success.
+     *    Error value otherwise.
      */
 
 extern int gator_X11gwin_getchar();