root/foundation-apps/gmemusage-maxx/gmemusage.h
| Revision 1, 1.4 KB (checked in by emasson, 3 years ago) |
|---|
| 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 | |
| 30 | void gettotalmemory (void); |
| 31 | |
| 32 | void list (void); |
| 33 | void drawstring (int x, int y, char *str, int size); |
| 34 | void drawstringfixed (int x, int y, char *str); |
| 35 | void drawstringright (int x, int y, char *str, float width, int size); |
| 36 | void drawstringcenter (int x, int y, char *str, float width, int size); |
| 37 | void refresh (int ); |
| 38 | void display (void); |
| 39 | void mouseClick (int button, int state, int x, int y); |
| 40 | void displayMain (void); |
| 41 | void displayLinux (void); |
| 42 | void displayCurrent (void); |
| 43 | void displaySmall (void); |
| 44 | void cleanup (void); |
| 45 | #endif |
Note: See TracBrowser
for help on using the browser.
