ColorsPanel.h 810 Bytes
Newer Older
Hisham Muhammad's avatar
Hisham Muhammad committed
1
/* Do not edit this file. It was automatically generated. */
Hisham Muhammad's avatar
Hisham Muhammad committed
2

3
4
#ifndef HEADER_ColorsPanel
#define HEADER_ColorsPanel
Hisham Muhammad's avatar
Hisham Muhammad committed
5
6
7
8
9
10
/*
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.
*/
Hisham Muhammad's avatar
Hisham Muhammad committed
11

Hisham Muhammad's avatar
Hisham Muhammad committed
12
13
14
15
16
17
// TO ADD A NEW SCHEME:
// * Increment the size of bool check in ColorsPanel.h
// * Add the entry in the ColorSchemes array below in the file
// * Add a define in CRT.h that matches the order of the array
// * Add the colors in CRT_setColors

Hisham Muhammad's avatar
Hisham Muhammad committed
18
19
20
#include "Panel.h"
#include "Settings.h"
#include "ScreenManager.h"
Hisham Muhammad's avatar
Hisham Muhammad committed
21

22
23
typedef struct ColorsPanel_ {
   Panel super;
Hisham Muhammad's avatar
Hisham Muhammad committed
24
25
26

   Settings* settings;
   ScreenManager* scr;
27
} ColorsPanel;
Hisham Muhammad's avatar
Hisham Muhammad committed
28
29


30
31
extern PanelClass ColorsPanel_class;

32
ColorsPanel* ColorsPanel_new(Settings* settings, ScreenManager* scr);
Hisham Muhammad's avatar
Hisham Muhammad committed
33
34

#endif