1 /////////////////////////////////////////////////////////////////////////////// 2 // Name: MadUtils.h 3 // Description: utility functions. collects from internet 4 // Author: madedit@gmail.com 5 // Licence: GPL 6 /////////////////////////////////////////////////////////////////////////////// 7 8 #ifndef _MADUTILS_H_ 9 #define _MADUTILS_H_ 10 11 #include <wx/defs.h> 12 13 struct HtmlColor 14 { 15 const wxChar *name; 16 unsigned char red; 17 unsigned char green; 18 unsigned char blue; 19 }; 20 extern HtmlColor HtmlColorTable[]; 21 extern const int HtmlColorTableCount; 22 23 extern void SetHtmlColors(); 24 extern wxString GetExecutablePath(); 25 26 #endif 27