"Fossies" - the Fresh Open Source Software Archive

Member "procmeter3-3.6+svn387/xaw/window.h" (24 Dec 2010, 1376 Bytes) of package /linux/misc/procmeter3-3.6+svn387.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "window.h" see the Fossies "Dox" file reference documentation.

    1 /***************************************
    2   $Header: /home/amb/CVS/procmeter3/xaw/window.h,v 1.5 2002-06-04 12:52:32 amb Exp $
    3 
    4   ProcMeter - A system monitoring program for Linux - Version 3.3b.
    5 
    6   Global X windows header file.
    7   ******************/ /******************
    8   Written by Andrew M. Bishop
    9 
   10   This file Copyright 1998,99,2000 Andrew M. Bishop
   11   It may be distributed under the GNU Public License, version 2, or
   12   any higher version.  See section COPYING of the GNU Public license
   13   for conditions under which this file may be redistributed.
   14   ***************************************/
   15 
   16 
   17 #ifndef XWINDOW_H
   18 #define XWINDOW_H    /*+ To stop multiple inclusions. +*/
   19 
   20 #include "procmeterp.h"
   21 
   22 /* In window.c */
   23 
   24 extern Display *display;
   25 extern XtAppContext app_context;
   26 
   27 void MoveOutput(Output output1,Output output2,int direction);
   28 void Resize(void);
   29 
   30 /* In menus.c */
   31 
   32 void CreateMenus(Widget parent);
   33 void DestroyMenus(void);
   34 void AddMenuToOutput(Widget widget,Module module);
   35 
   36 /* In resources.c */
   37 
   38 XFontStruct *StringToFont(char *string);
   39 Pixel StringToPixel(char *string);
   40 Boolean StringToBoolean(char *string);
   41 int StringToInt(char *string);
   42 int StringToLabelPosition(char *string);
   43 
   44 /* In bitmap.c */
   45 
   46 extern Pixmap CircleBitmap;
   47 extern Pixmap TextBitmap;
   48 extern Pixmap GraphBitmap;
   49 extern Pixmap BarBitmap;
   50 
   51 void CreateBitmaps(Widget w);
   52 
   53 #endif /* XWINDOW_H */