33 #define REGIONLISTSORTTYPE(a)
35 #define MIDIEDITMODE(a)
37 #define DISPLAYCONTROL(a)
43 #define SNAPTYPE(s) if (!strcmp(type, #s)) {return s;}
46 const char* type = str.c_str();
52 #define SNAPTYPE(s) N_(#s),
62 #define SNAPMODE(s) if (!strcmp(type, #s)) {return s;}
65 const char* type = str.c_str();
71 #define SNAPMODE(s) N_(#s),
81 #undef REGIONLISTSORTTYPE
82 #define REGIONLISTSORTTYPE(s) if (!strcmp(type, #s)) {return s;}
85 const char* type = str.c_str();
90 #undef REGIONLISTSORTTYPE
91 #define REGIONLISTSORTTYPE(s) N_(#s),
96 #undef REGIONLISTSORTTYPE
97 #define REGIONLISTSORTTYPE(a)
101 #define MOUSEMODE(s) if (!strcmp(type, #s)) {return s;}
104 const char* type = str.c_str();
110 #define MOUSEMODE(s) N_(#s),
120 #define ZOOMFOCUS(s) if (!strcmp(type, #s)) {return s;}
123 const char* type = str.c_str();
125 return ZoomFocusPlayhead;
129 #define ZOOMFOCUS(s) N_(#s),
138 #undef DISPLAYCONTROL
139 #define DISPLAYCONTROL(s) if (!strcmp(type, #s)) {return s;}
142 const char* type = str.c_str();
147 #undef DISPLAYCONTROL
148 #define DISPLAYCONTROL(s) N_(#s),
153 #undef DISPLAYCONTROL
154 #define DISPLAYCONTROL(a)
158 #define IMPORTMODE(s) N_(#s),
164 #define IMPORTMODE(a)
const char * regionlistsorttypestrs[]
const char * mousemodestrs[]
const char * snapmodestrs[]
const char * zoomfocusstrs[]
const char * displaycontrolstrs[]
DisplayControl str2displaycontrol(const string &str)
SnapType str2snaptype(const string &str)
RegionListSortType str2regionlistsorttype(const string &str)
ZoomFocus str2zoomfocus(const string &str)
MouseMode str2mousemode(const string &str)
SnapMode str2snapmode(const string &str)
const char * importmodestrs[]
const char * snaptypestrs[]