From 85bb4ad9cb820ac3b8e935a930084a06cbfd2847 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:20 +0200 Subject: Imported Upstream version 0.6.3 --- ColorsPanel.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 ColorsPanel.h (limited to 'ColorsPanel.h') diff --git a/ColorsPanel.h b/ColorsPanel.h new file mode 100644 index 0000000..2cf2947 --- /dev/null +++ b/ColorsPanel.h @@ -0,0 +1,39 @@ +/* Do not edit this file. It was automatically generated. */ + +#ifndef HEADER_ColorsPanel +#define HEADER_ColorsPanel + +#include "CRT.h" + +#include "Panel.h" +#include "CheckItem.h" +#include "Settings.h" +#include "ScreenManager.h" + +#include "debug.h" +#include + +// 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 + + +typedef struct ColorsPanel_ { + Panel super; + + Settings* settings; + ScreenManager* scr; + bool check[5]; +} ColorsPanel; + + +ColorsPanel* ColorsPanel_new(Settings* settings, ScreenManager* scr); + +void ColorsPanel_delete(Object* object); + +HandlerResult ColorsPanel_EventHandler(Panel* super, int ch); + + +#endif -- cgit v1.2.3