htop/ColorsPanel.h

32 lines
751 B
C
Raw Normal View History

2006-05-30 13:47:28 +00:00
#ifndef HEADER_ColorsPanel
#define HEADER_ColorsPanel
2011-12-26 21:35:57 +00:00
/*
htop - ColorsPanel.h
(C) 2004-2011 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
2006-03-04 18:16:49 +00:00
2006-06-06 20:28:42 +00:00
// TO ADD A NEW SCHEME:
// * Increment the size of bool check in ColorsPanel.h
// * Add the entry in the ColorSchemeNames array below in the file
2006-06-06 20:28:42 +00:00
// * Add a define in CRT.h that matches the order of the array
// * Add the colors in CRT_setColors
2011-12-26 21:35:57 +00:00
#include "Panel.h"
#include "Settings.h"
#include "ScreenManager.h"
2006-03-04 18:16:49 +00:00
2006-05-30 13:47:28 +00:00
typedef struct ColorsPanel_ {
Panel super;
2006-03-04 18:16:49 +00:00
Settings* settings;
ScreenManager* scr;
2006-05-30 13:47:28 +00:00
} ColorsPanel;
2006-03-04 18:16:49 +00:00
extern PanelClass ColorsPanel_class;
ColorsPanel* ColorsPanel_new(Settings* settings, ScreenManager* scr);
2006-03-04 18:16:49 +00:00
#endif