return 1;
}
+// num. order of those entries must be same as in
+// guicast/bccolors.inc
-const char *YuvColorSpace::color_space[] = {
- N_("BT601"), // COLOR_SPACE_BT601
+const char *YuvColorSpace::color_space[MAX_COLOR_SPACE] = {
+ N_("BT601_NTSC"), // COLOR SPACE BT601_NTSC
N_("BT709"), // COLOR_SPACE_BT709
- N_("BT2020"), // COLOR_SPACE_BT2020
+ N_("BT2020 NCL"), // COLOR_SPACE_BT2020_NCL
+ N_("BT601_PAL"), // COLOR_SPACE_BT601_PAL
+ N_("BT2020 CL"), // COLOR_SPACE_BT2020_CL
};
YuvColorSpace::YuvColorSpace(int x, int y, PreferencesWindow *pwindow)
- : BC_PopupMenu(x, y, xS(120),
+ : BC_PopupMenu(x, y, xS(140),
_(color_space[pwindow->thread->preferences->yuv_color_space]), 1)
{
this->pwindow = pwindow;