#include "ColorEngine.h" ColorEngine::ColorEngine() { //ctor } ColorEngine::~ColorEngine() { //dtor } void ColorEngine::savecolortofile( char *filename ) { // to be done } void ColorEngine::loadcolorfromfile( char *filename ) { // to be done } void ColorEngine::setdefaultcolorpreset( ) { widget_border_enable = { 255, 0, 0, 255 }; //RED widget_border_disable = { 170, 170, 170, 255 }; //BLACK widget_border_cursoron = { 0, 255, 0, 255 }; //GREEN widget_border_hasfocus = { 0, 0, 255, 255 }; //BLUE widget_tickmark_enable = { 0, 0, 0, 255 }; //BLACK widget_tickmark_disable = { 170, 170, 170, 255 }; //DARK GREY widget_filling_enable = { 255, 255, 255, 255 }; //WHITE widget_filling_disable = { 255, 255, 255, 255 }; //WHITE widget_text_enable = { 0, 0, 0, 255 }; //BLACK widget_text_disable = { 170, 170, 170, 255 }; //DARK GREY window_titlebar_enable = { 0, 155, 255, 255 }; //LIGHT BLUE/CYAN window_titlebar_disable = { 175, 175, 175, 255 }; //LIGHT GREY window_titlebartext_enable = { 255, 255, 255, 255 }; //WHITE window_titlebartext_disable = { 100, 100, 100, 255 }; //DARK GREY // the Following colorset is used for the Link_SDL / GUI Toolkit interaction /* widget_border_enable = { 255, 255, 255, 255 }; //RED widget_border_disable = { 170, 170, 170, 255 }; //BLACK widget_border_cursoron = { 0, 0, 0, 255 }; //GREEN widget_border_hasfocus = { 0, 0, 0, 255 }; //BLUE widget_tickmark_enable = { 255, 255, 255, 255 }; //BLACK widget_tickmark_disable = { 170, 170, 170, 255 }; //DARK GREY widget_filling_enable = { 50, 50, 50, 255 }; //WHITE widget_filling_disable = { 0, 0, 0, 0 }; //WHITE widget_text_enable = { 255, 255, 255, 255 }; //BLACK widget_text_disable = { 100, 100, 100, 255 }; //DARK GREY window_titlebar_enable = { 0, 255, 55, 255 }; //LIGHT BLUE/CYAN window_titlebar_disable = { 0, 100, 0, 255 }; //LIGHT GREY window_titlebartext_enable = { 255, 255, 255, 255 }; //WHITE window_titlebartext_disable = { 100, 100, 100, 255 }; //DARK GREY */ }