ColorsPanel.h 699 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

Hisham Muhammad's avatar
Hisham Muhammad committed
6
#include "CRT.h"
Hisham Muhammad's avatar
Hisham Muhammad committed
7

8
#include "Panel.h"
Hisham Muhammad's avatar
Hisham Muhammad committed
9
10
11
12
13
14
15
#include "CheckItem.h"
#include "Settings.h"
#include "ScreenManager.h"

#include "debug.h"
#include <assert.h>

Hisham Muhammad's avatar
Hisham Muhammad committed
16
17
18
19
20
21
// 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
22

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

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


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

#endif