root/foundation-apps/gmemusage-maxx/gmemusage.h

Revision 1, 1.4 KB (checked in by emasson, 3 years ago)

initial import for the community edition

Line 
1/*
2        gmemusage
3
4        Copyright 1998, Michael Pruett
5        Copyright 1999, Mark B. Allan
6        Copyright 2000-2008, Eric Masson
7        Copyright 2008-2009, Genirix Systems
8       
9        This program is free software; you can redistribute it and/or
10        modify it under the terms of the GNU General Public License
11        as published by the Free Software Foundation; either version 2
12        of the License, or (at your option) any later version.
13
14        This program is distributed in the hope that it will be useful,
15        but WITHOUT ANY WARRANTY; without even the implied warranty of
16        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17        GNU General Public License for more details.
18
19        You should have received a copy of the GNU General Public License
20        along with this program; if not, write to the Free Software
21        Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
22        USA.
23*/
24/*! \file   gmemusage.h
25 *  \brief  guts of gmemusage.
26 */
27#ifndef gmemusage_h
28#define gmemusage_h
29
30void gettotalmemory (void);
31
32void list (void);
33void drawstring (int x, int y, char *str, int size);
34void drawstringfixed (int x, int y, char *str);
35void drawstringright (int x, int y, char *str, float width, int size);
36void drawstringcenter (int x, int y, char *str, float width, int size);
37void refresh (int );
38void display (void);
39void mouseClick (int button, int state, int x, int y);
40void displayMain (void);
41void displayLinux (void);
42void displayCurrent (void);
43void displaySmall (void);
44void cleanup (void);
45#endif
Note: See TracBrowser for help on using the browser.