new color management design starts to take shape (canvas color only for now)
[ardour.git] / gtk2_ardour / editing.h
index 56d260d51382a79e9b11273a92fd749da5352a80..31da83d984eb5e69f58431ad0f2b846c60ee88d1 100644 (file)
@@ -13,7 +13,6 @@
 #define MOUSEMODE(a) /*empty*/
 #define ZOOMFOCUS(a) /*empty*/
 #define DISPLAYCONTROL(a) /*empty*/
-#define COLORID(a) /*empty*/
 
 namespace Editing {
 
@@ -125,23 +124,6 @@ DisplayControl str2displaycontrol (const std::string &);
 #undef DISPLAYCONTROL
 #define DISPLAYCONTROL(a) /*empty*/
 
-#undef COLORID
-#define COLORID(a) a,
-enum ColorID {
-        #include "editing_syms.h"
-};
-
-#undef COLORID
-#define COLORID(s) #s,
-static const char *color_id_strs[] = {
-       #include "editing_syms.h"
-};
-inline const char* enum2str(ColorID m) {return color_id_strs[m];}
-ColorID str2color_id (const std::string &);
-
-#undef COLORID
-#define COLORID(a) /*empty*/
-
 /////////////////////
 // These don't need their state saved. yet...
 enum CutCopyOp {
@@ -156,16 +138,6 @@ enum XFadeType {
        At
 };
 
-struct Color {
-    char r;
-    char g;
-    char b;
-    char a;
-};
-
-typedef std::map<Editing::ColorID,int> ColorMap;
-extern ColorMap color_map;
-
 } // namespace Editing
 
 #endif // __gtk_ardour_editing_h__