home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume18 / bricons-1.0 / part01 / main.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-03  |  2.1 KB  |  53 lines

  1. static char* sccs_main_c = "%W%%G%"; 
  2.  
  3. /* 
  4.  * Copyright 1992 Bruce. R. Ingram.
  5.  * University of Kent at Canterbury, UK
  6.  *
  7.  * Permission  to   use, copy, modify  and  distribute  this  software  and its
  8.  * documentation   for any purpose is hereby granted without fee, provided that
  9.  * the   above  copyright  notice  appear  in  all  copies  and  that both that
  10.  * copyright  notice   and  this   permission   notice  appear  in   supporting
  11.  * documentation,  and  that  the name  of the author and The University  of
  12.  * Kent  at  Canterbury  not be  used in advertising or publicity pertaining to
  13.  * distribution  of  the  software  without specific, written prior permission.
  14.  * The   author  and   The   University   of   Kent at   Canterbury   make  no
  15.  * representations  about  the  suitability  of this  software for any purpose.
  16.  * It is provided "as is" without express or implied warranty.
  17.  *
  18.  * THE   AUTHOR  AND  THE  UNIVERSITY  OF KENT  AT   CANTERBURY  DISCLAIMS ALL
  19.  * WARRANTIES  WITH  REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED  WARRANTIES
  20.  * OF   MERCHANTABILITY  AND  FITNESS,  IN NO  EVENT  SHALL THE AUTHOR  OR THE
  21.  * UNIVERSITY  OF KENT  AT  CANTERBURY  BE LIABLE FOR ANY SPECIAL, INDIRECT  OR
  22.  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS  OF USE,
  23.  * DATA  OR  PROFITS,  WHETHER  IN  AN ACTION OF CONTRACT, NEGLIGENCE  OR OTHER
  24.  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  25.  * OF THIS SOFTWARE.
  26.  *
  27.  * Author:
  28.  *
  29.  * Mr  B. R. Ingram email bri@ukc.ac.uk
  30. */
  31.  
  32. #include "gen.h"
  33. #include "widgets.h"
  34.  
  35.  
  36. /*  Forward  references  */
  37.  
  38. extern    void    GetPath PROTO((char *));
  39. extern    void    PositionButtons PROTO((int,int)), ManageButtons();
  40. extern  void    set_popup PROTO((Widget,XEvent *,String *,Cardinal *));
  41. extern    void    delay PROTO((Widget,XEvent *,String *,Cardinal *));
  42. extern    void    Quit PROTO((Widget,XtPointer,XtPointer));
  43. static    void    AddResource PROTO((char *, char *, int));
  44. extern    int    ProcessFile PROTO((Info*, char*));
  45.  
  46. #include "trans.h"
  47.  
  48. /*
  49.     We set various default resources for the various widgets.
  50. */
  51. String fallback_resources[] = {
  52. "*borderColor:        black",
  53.