Package bdsup2sub.gui.palette

Examples of bdsup2sub.gui.palette.DvdPaletteDialog.wasCanceled()


                currentColors[i] = Core.getCurrentDVDPalette().getColor(i+1);
                defaultColors[i] = DEFAULT_DVD_PALETTE.getColor(i+1);
            }
            DvdPaletteDialog dvdPaletteDialog = new DvdPaletteDialog(view, colorNames, currentColors, defaultColors, model.getColorProfilePath());
            dvdPaletteDialog.setVisible(true);
            if (!dvdPaletteDialog.wasCanceled()) {
                currentColors = dvdPaletteDialog.getColors();
                model.setColorProfilePath(dvdPaletteDialog.getPath());
                for (int i=0; i < currentColors.length; i++) {
                    Core.getCurrentDVDPalette().setColor(i+1, currentColors[i]);
                }
View Full Code Here


                currentColors[i] = Core.getCurSrcDVDPalette().getColor(i);
                defaultColors[i] = Core.getDefSrcDVDPalette().getColor(i);
            }
            DvdPaletteDialog dvdPaletteDialog = new DvdPaletteDialog(view, colorNames, currentColors, defaultColors, model.getColorProfilePath());
            dvdPaletteDialog.setVisible(true);
            if (!dvdPaletteDialog.wasCanceled()) {
                currentColors = dvdPaletteDialog.getColors();
                model.setColorProfilePath(dvdPaletteDialog.getPath());
                Palette p = new Palette(currentColors.length, true);
                for (int i=0; i<currentColors.length; i++) {
                    p.setColor(i, currentColors[i]);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.