htop/ColorsPanel.h

39 lines
805 B
C
Raw Normal View History

2006-06-06 20:28:42 +00:00
/* Do not edit this file. It was automatically generated. */
2006-03-04 18:16:49 +00:00
2006-05-30 13:47:28 +00:00
#ifndef HEADER_ColorsPanel
#define HEADER_ColorsPanel
2006-03-04 18:16:49 +00:00
2006-06-06 20:28:42 +00:00
#include "CRT.h"
2006-03-04 18:16:49 +00:00
2006-05-30 13:47:28 +00:00
#include "Panel.h"
2006-03-04 18:16:49 +00:00
#include "CheckItem.h"
#include "Settings.h"
#include "ScreenManager.h"
#include "debug.h"
#include <assert.h>
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 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
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
2006-05-30 13:47:28 +00:00
ColorsPanel* ColorsPanel_new(Settings* settings, ScreenManager* scr);
2006-03-04 18:16:49 +00:00
2006-05-30 13:47:28 +00:00
void ColorsPanel_delete(Object* object);
2006-03-04 18:16:49 +00:00
2006-05-30 13:47:28 +00:00
HandlerResult ColorsPanel_EventHandler(Panel* super, int ch);
2006-03-04 18:16:49 +00:00
#endif