diff --git a/manifest.mf b/manifest.mf index 9cc33e4..a9adfd1 100644 --- a/manifest.mf +++ b/manifest.mf @@ -1,7 +1,7 @@ Manifest-Version: 1.0 AutoUpdate-Show-In-Client: true OpenIDE-Module: org.idp.laf/1 -OpenIDE-Module-Implementation-Version: 1 +OpenIDE-Module-Implementation-Version: 0 OpenIDE-Module-Localizing-Bundle: org/idp/laf/Bundle.properties OpenIDE-Module-Install: org/idp/laf/Installer.class OpenIDE-Module-Requires: org.openide.windows.WindowManager diff --git a/nbproject/project.properties b/nbproject/project.properties index 4c2c3b8..03bf977 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -5,4 +5,4 @@ javadoc.arch=${basedir}/arch.xml nbm.homepage=http://idp-crew.com/index.php/projects/laf/ nbm.module.author=Clochard Pagan nbm.needs.restart=true -spec.version.base=1.1 +spec.version.base=1.2 diff --git a/src/org/idp/laf/Bundle.properties b/src/org/idp/laf/Bundle.properties index 01516f3..6ffaf46 100644 --- a/src/org/idp/laf/Bundle.properties +++ b/src/org/idp/laf/Bundle.properties @@ -2,4 +2,6 @@ OpenIDE-Module-Display-Category=Base IDE OpenIDE-Module-Long-Description=\ This plugin was designed only to compose well readable and enoght radk theme for Netbeans, But day by day it was enlarging - and now it is what it is. OpenIDE-Module-Name=[idP!] Crew LAF +LBL_TITAN=[idP!] Titan Theme +LBL_TITAN_EDITOR=idP! OpenIDE-Module-Short-Description=Editor for Netbeans Metal Look and Feel diff --git a/src/org/idp/laf/Color.java b/src/org/idp/laf/Color.java index d2187f6..61b3303 100644 --- a/src/org/idp/laf/Color.java +++ b/src/org/idp/laf/Color.java @@ -9,8 +9,7 @@ import java.io.Serializable; import javax.swing.plaf.ColorUIResource; import static org.idp.laf.Color.ColorClass.AT; import static org.idp.laf.Color.ColorClass.SF; -import static org.idp.laf.Color.ColorClass.SS; -import sun.swing.PrintColorUIResource; +//import static org.idp.laf.Color.ColorClass.SS; /** * @author Edward M. Kagan @@ -21,7 +20,7 @@ public class Color implements Serializable{ public enum ColorClass { SF (javax.swing.plaf.ColorUIResource.class), - SS (sun.swing.PrintColorUIResource.class), + // SS (sun.swing.PrintColorUIResource.class), AT (java.awt.Color.class); private final Class cls; @@ -86,10 +85,10 @@ public class Color implements Serializable{ { this.cls = SF; } - else if (vals[1].equals("SS")) - { - this.cls = SS; - } +// else if (vals[1].equals("SS")) +// { +// this.cls = SS; +// } else if (vals[1].equals("AT")) { this.cls = AT; @@ -125,10 +124,10 @@ public class Color implements Serializable{ javax.swing.plaf.ColorUIResource res = new ColorUIResource(cc); return res; } - case SS : { - sun.swing.PrintColorUIResource res = new PrintColorUIResource(cc.getRGB(), cc); - return res; - } +// case SS : { +// sun.swing.PrintColorUIResource res = new PrintColorUIResource(cc.getRGB(), cc); +// return res; +// } case AT : { return cc; } @@ -178,6 +177,12 @@ public class Color implements Serializable{ this.G = obj.getGreen(); this.R = obj.getRed(); } + + public String getHEX () + { + java.awt.Color cc = new java.awt.Color(R, G, B, A); + return String.format("#%06X", (0xFFFFFF & cc.getRGB())); + } } diff --git a/src/org/idp/laf/DarkIconFilter.java b/src/org/idp/laf/DarkIconFilter.java new file mode 100644 index 0000000..7d9e01d --- /dev/null +++ b/src/org/idp/laf/DarkIconFilter.java @@ -0,0 +1,88 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright 2013 Oracle and/or its affiliates. All rights reserved. + * + * Oracle and Java are registered trademarks of Oracle and/or its affiliates. + * Other names may be trademarks of their respective owners. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common + * Development and Distribution License("CDDL") (collectively, the + * "License"). You may not use this file except in compliance with the + * License. You can obtain a copy of the License at + * http://www.netbeans.org/cddl-gplv2.html + * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the + * specific language governing permissions and limitations under the + * License. When distributing the software, include this License Header + * Notice in each file and include the License file at + * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the GPL Version 2 section of the License file that + * accompanied this code. If applicable, add the following below the + * License Header, with the fields enclosed by brackets [] replaced by + * your own identifying information: + * "Portions Copyrighted [year] [name of copyright owner]" + * + * If you wish your version of this file to be governed by only the CDDL + * or only the GPL Version 2, indicate your decision by adding + * "[Contributor] elects to include this software in this distribution + * under the [CDDL or GPL Version 2] license." If you do not indicate a + * single choice of license, a recipient has the option to distribute + * your version of this file under either the CDDL, the GPL Version 2 or + * to extend the choice of license to its licensees as provided above. + * However, if you add GPL Version 2 code and therefore, elected the GPL + * Version 2 license, then the option applies only if the new code is + * made subject to such option by the copyright holder. + * + * Contributor(s): + * + * Portions Copyrighted 2013 Sun Microsystems, Inc. + */ +package org.idp.laf; + +import java.awt.Color; +import java.awt.image.RGBImageFilter; + +/** + * For dark LaFs it inverts icon brightness (=inverts icon image to obtain dark icon, + * then inverts its hue to restore original colors). + * + * @author P. Somol + */ +public class DarkIconFilter extends RGBImageFilter { + + /** in dark LaFs brighten all icons; 0.0f = no change, 1.0f = maximum brightening */ + private static final float DARK_ICON_BRIGHTEN = 0.1f; + + @Override + public int filterRGB(int x, int y, int color) { + int a = color & 0xff000000; + int rgb[] = decode(color); + int inverted[] = invert(rgb); + int result[] = invertHueBrighten(inverted, DARK_ICON_BRIGHTEN); + return a | encode(result); + } + + private int[] invert(int[] rgb) { + return new int[]{255-rgb[0], 255-rgb[1], 255-rgb[2]}; + } + + private int[] invertHueBrighten(int[] rgb, float brighten) { + float hsb[] = new float[3]; + Color.RGBtoHSB(rgb[0], rgb[1], rgb[2], hsb); + return decode(Color.HSBtoRGB(hsb[0] > 0.5f ? hsb[0]-0.5f : hsb[0]+0.5f, hsb[1], hsb[2]+(1.0f-hsb[2])*brighten)); + } + + private int[] decode(int rgb) { + return new int[]{(rgb & 0x00ff0000) >> 16, (rgb & 0x0000ff00) >> 8, rgb & 0x000000ff}; + } + private int encode(int[] rgb) { + return (toBoundaries(rgb[0]) << 16) | (toBoundaries(rgb[1]) << 8) | toBoundaries(rgb[2]); + } + + private int toBoundaries(int color) { + return Math.max(0,Math.min(255,color)); + } + +} diff --git a/src/org/idp/laf/Installer.java b/src/org/idp/laf/Installer.java index 15cdeec..4b9602e 100644 --- a/src/org/idp/laf/Installer.java +++ b/src/org/idp/laf/Installer.java @@ -5,17 +5,25 @@ */ package org.idp.laf; +import java.util.prefs.Preferences; import javax.swing.SwingUtilities; +import javax.swing.UIManager; import org.openide.modules.ModuleInstall; +import org.openide.util.NbBundle; +import org.openide.util.NbPreferences; +import org.openide.windows.WindowManager; /** * @author Edward M. Kagan */ public class Installer extends ModuleInstall { + private static boolean try_to_load_companion_colors = false; + @Override public void restored() { + SwingUtilities.invokeLater(new Runnable() { @Override @@ -24,6 +32,32 @@ public class Installer extends ModuleInstall Kernel.load_kernel(); } }); + + + WindowManager.getDefault().invokeWhenUIReady( new Runnable() + { + @Override + public void run() { + Kernel.load_companion (); + } + }); + + + } + + + + @Override + public void validate() throws IllegalStateException + { + Preferences prefs = NbPreferences.root().node( "laf" ); //NOI18N + if( !prefs.getBoolean("idp.titan.installed", false) ) { //NOI18N + prefs.put( "laf", TitanLookAndFeel.class.getName() ); //NOI18N + } + prefs.putBoolean("idp.titan.installed", true ); //NOI18N + TitanLookAndFeel.self_install(); } + + } diff --git a/src/org/idp/laf/Kernel.java b/src/org/idp/laf/Kernel.java index ba64fe0..b568f9a 100644 --- a/src/org/idp/laf/Kernel.java +++ b/src/org/idp/laf/Kernel.java @@ -5,6 +5,7 @@ */ package org.idp.laf; +import java.awt.Font; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; @@ -13,6 +14,7 @@ import java.io.IOException; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; +import java.lang.reflect.Method; import java.nio.charset.Charset; import java.nio.file.FileSystems; import java.nio.file.Files; @@ -21,7 +23,14 @@ import java.nio.file.Paths; import java.util.ArrayList; import java.util.List; import java.util.Random; +import java.util.concurrent.Callable; +import java.util.logging.Level; +import java.util.logging.Logger; +import javax.swing.JFrame; +import javax.swing.JLabel; +import javax.swing.JOptionPane; import javax.swing.SwingUtilities; +import javax.swing.UIDefaults; import javax.swing.UIManager; import javax.swing.UnsupportedLookAndFeelException; import javax.swing.border.CompoundBorder; @@ -30,7 +39,11 @@ import javax.swing.border.LineBorder; import javax.swing.plaf.ColorUIResource; import javax.swing.plaf.metal.DefaultMetalTheme; import javax.swing.plaf.metal.MetalLookAndFeel; +import javax.swing.text.html.HTMLEditorKit; +import javax.swing.text.html.StyleSheet; import org.openide.util.Exceptions; +import org.openide.util.Lookup; +import org.openide.util.NbBundle; import org.openide.windows.WindowManager; /** @@ -38,11 +51,13 @@ import org.openide.windows.WindowManager; */ public class Kernel { + public static Color[] color_scheme_loaded; + private static final String scheme_file_name = "netbeans.idp_scheme"; public static void load_kernel () { - if (prepare_metal_laf ()) + if (prepare_titan_laf ()) { String nb_etc = retrieve_netbeans_etc_dir(); setup_font_antialiaing_hints(nb_etc); @@ -50,21 +65,111 @@ public class Kernel { String cfh_dir = retrieve_app_folder(); boolean a = (new File (cfh_dir).mkdirs()); load_setup (cfh_dir); + TitanTheme.self_tuneup(color_scheme_loaded); + reset_html_link_color(); + apply_border_managment_hints(); + reloadUI(); } else { - System.err.println("Unable to set Metall Look And Feel - no " - + "modifications done. Follow your ugly way of live."); + String message = "\"Titan\" Look and Feel is not selected" + + " - no modifications done. Follow your ugly way of live."; + JOptionPane.showMessageDialog(new JFrame(), message, "Titan is not selected!", + JOptionPane.ERROR_MESSAGE); } + } + + private static boolean prepare_titan_laf () + { + UIManager.put("nb.forceui", true); + UIManager.put("netbeans.plaf.disable.ui.customizations", false); + return UIManager.getLookAndFeel().getName().equals(NbBundle.getMessage(TitanLookAndFeel.class, "LBL_TITAN")); + } + + private static boolean setup_font_antialiaing_hints (String nb_etc) + { + try + { + System.setProperty("awt.useSystemAAFontSettings","lcd"); + System.setProperty("swing.aatext", "true"); + + Path path = FileSystems.getDefault().getPath(nb_etc, "netbeans.conf"); + if( Files.isWritable(path)) + { + + List linesL = Files.readAllLines(path); + String [] lines = new String[linesL.size()]; + + int i = 0; + for (String str : linesL) + { + lines[i] = str; + i++; + } + + for (i =0; i < lines.length; i ++) + { + if (lines[i].contains("netbeans_default_options=")) + { + if (!lines[i].contains("-J-Dawt.useSystemAAFontSettings")) + { + System.err.println("No rendering hints defined - fixing..."); + String [] parts = lines[i].split("\""); + String new_line = parts[0] + "\"" + parts[1] + " -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd" + "\""; + lines[i] = new_line; + write_scheme(nb_etc + "netbeans.conf", lines); + System.out.println("Restart Netbeabs to see the effect."); + } + } + } + return true; + } + else + { + System.err.println("Unable to fix config - bye-bye :("); + return false; + } + } + catch (IOException ex) + { + Exceptions.printStackTrace(ex); + System.err.println("Unable to apply rendering hints :( Sorry..."); + return false; + } + } + + private static void apply_border_managment_hints () + { + +// UIManager.put("ComboBoxUI", "javax.swing.plaf.basic.BasicComboBoxUI"); +// UIManager.put("SliderUI", "javax.swing.plaf.basic.BasicSliderUI"); +// UIManager.put("TreeUI", "javax.swing.plaf.basic.BasicTreeUI"); + + javax.swing.border.EmptyBorder invisable_border = new EmptyBorder(0,0,0,0); + UIManager.put ("EditorPane.border", invisable_border); // Editor FUCKING LINE! + + javax.swing.border.EmptyBorder spinner_border = new EmptyBorder(1,1,1,1); + UIManager.put("Spinner.border", spinner_border); + UIManager.put("Spinner.arrowButtonBorder", spinner_border); - UIManager.put("ComboBoxUI", "javax.swing.plaf.basic.BasicComboBoxUI"); - UIManager.put("SliderUI", "javax.swing.plaf.basic.BasicSliderUI"); + + + UIManager.put ("TabbedContainer.editor.outerBorder", + new LineBorder(new java.awt.Color(24, 24, 24, 255), 1)); // Editor border + + javax.swing.border.LineBorder light_dark_bodrer = + new LineBorder(new java.awt.Color(0, 0, 0, 31), 2); + UIManager.put ("TabbedContainer.view.outerBorder", light_dark_bodrer); // Navigator/Project/etc. round border!! + // + + javax.swing.border.CompoundBorder buttons_border = + new CompoundBorder(light_dark_bodrer, new EmptyBorder(4,6,4,6)); - String [] letsNULLit = { -// "Button.border", -// "ToggleButton.border", + String [] buttonized_components = { + "ToggleButton.border", + "Button.border", "CheckBox.border", "DesktopIcon.border", "ToggleButton.border", @@ -72,139 +177,83 @@ public class Kernel { "PasswordField.border", "TextField.border", "RadioButton.border", - //, "TextArea.border", "TextPane.border", "SplitPane.border" - - - //"Nb.Desktop.border", - //"TabbedContainer.editor.outerBorder", - //"TabbedContainer.view.outerBorder", - //"nb.explorer.ministatusbar.border" - - -} ; - String [] menuShit ={ - -"CheckBoxMenuItem.border", -"ScrollPane.border", -"RadioButtonMenuItem.border", -"PopupMenu.border" - }; + } ; - - String [] status = + for (String o : buttonized_components) { - "Nb.Editor.Toolbar.border", - "Nb.Editor.Status.leftBorder", - "Nb.Editor.Status.rightBorder", - "Nb.Editor.Status.onlyOneBorder", - "Nb.Explorer.Status.border", - "Nb.Editor.Status.innerBorder", - "Table.scrollPaneBorder", - "TableHeader.cellBorder", - - //"ToolBar.border", - - "OptionPane.border", -//"TitledBorder.border", -"Tree.editorBorder", -"Table.focusCellHighlightBorder", -"ToolTip.border", -"List.focusCellHighlightBorder" -//"ProgressBar.border" - - - - }; - - javax.swing.border.EmptyBorder spbd = new EmptyBorder(1,1,1,1); - - UIManager.put("Spinner.border", spbd); - UIManager.put("Spinner.arrowButtonBorder", spbd); - - - javax.swing.border.EmptyBorder eb = new EmptyBorder(1,1,1,1); - javax.swing.border.LineBorder bdT = new LineBorder(java.awt.Color.RED, 1); - javax.swing.border.LineBorder bd1 = new LineBorder(java.awt.Color.BLUE, 1); - javax.swing.border.LineBorder bd2 = new LineBorder(java.awt.Color.GREEN, 1); - javax.swing.border.LineBorder bd3 = new LineBorder(java.awt.Color.PINK, 1); - - java.awt.Color cc = new java.awt.Color(0, 0, 0, 31); - - javax.swing.border.LineBorder lb1 = new LineBorder(cc, 2); - javax.swing.border.LineBorder lb2 = new LineBorder(cc, 2); - javax.swing.border.EmptyBorder epp = new EmptyBorder(4,6,4,6); - javax.swing.border.CompoundBorder cpp = new CompoundBorder(lb2, epp); - - - - - java.awt.Color ebdc = new java.awt.Color(24, 24, 24, 255); - javax.swing.border.LineBorder TabbedContainerEditoBrd = new LineBorder(ebdc, 1); - UIManager.put ("TabbedContainer.editor.outerBorder", TabbedContainerEditoBrd); // Editor round border!! - - - UIManager.put ("TabbedContainer.view.outerBorder", lb1); // Navigator/Project/etc. round border!! - - // Button managment here! - UIManager.put ("ToggleButton.border", cpp); - UIManager.put ("Button.border", cpp); - - - // Menu managment NP! + UIManager.put(o, buttons_border); + } + // + // + javax.swing.border.EmptyBorder mainMenuBorder = new EmptyBorder(2,4,2,4); javax.swing.border.EmptyBorder itemBorder = new EmptyBorder(4,4,4,4); - UIManager.put ("MenuBar.border", cpp); + UIManager.put ("MenuBar.border", buttons_border); UIManager.put ("Menu.border", mainMenuBorder); UIManager.put ("MenuItem.border", itemBorder); - UIManager.put ("ComboBox.border", itemBorder); + + - for (String o : letsNULLit) - { - UIManager.put(o, cpp); - } + + String [] side_components ={ + "CheckBoxMenuItem.border", + "ScrollPane.border", + "RadioButtonMenuItem.border", + "PopupMenu.border", + "ComboBox.border" + }; - for (String o : menuShit) + javax.swing.border.EmptyBorder empty_1p_border = new EmptyBorder(1,1,1,1); + + for (String o : side_components) { - UIManager.put(o, eb); + UIManager.put(o, empty_1p_border); } + // + // + javax.swing.border.EmptyBorder ministatusbarBorder = new EmptyBorder(2,4,2,4); UIManager.put ("nb.explorer.ministatusbar.border", ministatusbarBorder); - - - javax.swing.border.EmptyBorder status_border = new EmptyBorder(4,2,4,2); + + String [] status = + { + "Nb.Editor.Toolbar.border", + "Nb.Editor.Status.leftBorder", + "Nb.Editor.Status.rightBorder", + "Nb.Editor.Status.onlyOneBorder", + "Nb.Explorer.Status.border", + "Nb.Editor.Status.innerBorder", + "Table.scrollPaneBorder", + "TableHeader.cellBorder", + "OptionPane.border", + "Tree.editorBorder", + "Table.focusCellHighlightBorder", + "ToolTip.border", + "List.focusCellHighlightBorder", + "nb.quicksearch.border" + }; for (String o : status) { UIManager.put(o, status_border); } + // - - - - javax.swing.border.EmptyBorder ceb = new EmptyBorder(0,0,0,0); - UIManager.put ("EditorPane.border", ceb); // Editor FUCKING LINE! - -// -// Obejct[] ooo = new Obejct[] -// -// for (String o : Keys.borders) -// { -// UIManager.put(o, ceb); -// //System.out.println(o + " : " + UIManager.getDefaults().get(o)); -// } - - - +// UIManager.put("nb.forceui", true); +// UIManager.put("netbeans.plaf.disable.ui.customizations", false); } + + // + private static String retrieve_app_folder () { if (System.getProperty("os.name").startsWith("Windows")) { @@ -214,90 +263,16 @@ public class Kernel { } } - - private static boolean prepare_metal_laf () - { - try { - UIManager.getDefaults().clear(); - MetalLookAndFeel.setCurrentTheme(new DefaultMetalTheme()); - UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel"); - return true; - } catch (ClassNotFoundException ex) { - Exceptions.printStackTrace(ex); - return false; - } catch (InstantiationException ex) { - Exceptions.printStackTrace(ex); - return false; - } catch (IllegalAccessException ex) { - Exceptions.printStackTrace(ex); - return false; - } catch (UnsupportedLookAndFeelException ex) { - Exceptions.printStackTrace(ex); - return false; - } - } - - private static String retrieve_netbeans_etc_dir () { String nb_home = System.getProperty("netbeans.home"); String nb_conf = nb_home.substring(0, nb_home.length() - "platform".length()) + "etc" + File.separator; return nb_conf; } + // + - - private static boolean setup_font_antialiaing_hints (String nb_etc) - { - try - { - System.setProperty("awt.useSystemAAFontSettings","lcd"); - System.setProperty("swing.aatext", "true"); - System.setProperty("nb.useSwingHtmlRendering", "true"); - - Path path = FileSystems.getDefault().getPath(nb_etc, "netbeans.conf"); - if( Files.isWritable(path)) - { - - List linesL = Files.readAllLines(path); - String [] lines = new String[linesL.size()]; - - int i = 0; - for (String str : linesL) - { - lines[i] = str; - i++; - } - - for (i =0; i < lines.length; i ++) - { - if (lines[i].contains("netbeans_default_options=")) - { - if (!lines[i].contains("-J-Dawt.useSystemAAFontSettings")) - { - System.err.println("No rendering hints defined - fixing..."); - String [] parts = lines[i].split("\""); - String new_line = parts[0] + "\"" + parts[1] + " -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd" + "\""; - lines[i] = new_line; - write_scheme(nb_etc + "netbeans.conf", lines); - System.out.println("Restart Netbeabs to see the effect."); - } - } - } - return true; - } - else - { - System.err.println("Unable to fix config - bye-bye :("); - return false; - } - } - catch (IOException ex) - { - Exceptions.printStackTrace(ex); - System.err.println("Unable to apply rendering hints :( Sorry..."); - return false; - } - } + // private static boolean load_setup (String nb_etc) { @@ -309,7 +284,11 @@ public class Kernel { init_scheme(); if (save_scheme(path)) { - return read_scheme (path); + if (read_scheme (path)) + { + reloadUI(); + return true; + } } else { @@ -318,10 +297,13 @@ public class Kernel { } else { - return read_scheme (path); + if (read_scheme (path)) + { + reloadUI(); + return true; + } } - - + return false; } private static Random rand = new Random(System.currentTimeMillis()); @@ -340,11 +322,13 @@ public class Kernel { File scheme_file = new File(nb_etc + File.separator + scheme_file_name); String path = scheme_file.getAbsolutePath(); read_scheme (path); + reloadUI(); } public static void load (String path) { read_scheme (path); + reloadUI(); } private static void init_scheme () @@ -360,14 +344,12 @@ public class Kernel { ColorUIResource oo = (ColorUIResource) o; Color c = new Color(Keys.color_keys[i], Color.ColorClass.SF, oo.getRed(), oo.getGreen(), oo.getBlue(), oo.getAlpha(),"..."); color_map.add(c); - //System.out.println( "\"" + Keys.color_keys[i] + "\","); } else if (o.getClass().equals(java.awt.Color.class)) { java.awt.Color oo = (java.awt.Color) o; Color c = new Color(Keys.color_keys[i], Color.ColorClass.AT, oo.getRed(), oo.getGreen(), oo.getBlue(), oo.getAlpha(),"..."); color_map.add(c); - //System.out.println( "\"" + Keys.color_keys[i] + "\","); } } else @@ -375,7 +357,6 @@ public class Kernel { ColorUIResource oo = new ColorUIResource(rand.nextInt(256), rand.nextInt(256), rand.nextInt(256)); Color c = new Color(Keys.color_keys[i], Color.ColorClass.SF, oo.getRed(), oo.getGreen(), oo.getBlue(), oo.getAlpha(),"..."); color_map.add(c); - //System.out.println( " \"" + Keys.color_keys[i] + "\","); } } @@ -416,8 +397,6 @@ public class Kernel { // } } - public static Color[] color_scheme_loaded; - private static boolean read_scheme(String scheme_file) { try @@ -427,14 +406,20 @@ public class Kernel { for (String s : C) { - color_map.add(new Color (s)); + Color toLoad = new Color(s); + for (String key : Keys.color_keys) + { + if (toLoad.getName().equals(key)) + { + color_map.add(toLoad); + break; + } + } } color_scheme_loaded = new Color[color_map.size()]; color_map.toArray(color_scheme_loaded); - reloadUI(); - return true; } catch (IOException ex) @@ -476,7 +461,10 @@ public class Kernel { bw.close(); } - public static Color[] getColors() { + // + + public static Color[] getColors() + { if (color_scheme_loaded == null) { return new Color[0]; @@ -486,5 +474,73 @@ public class Kernel { return color_scheme_loaded; } } + + + private static void reset_html_link_color() + { + for (int i = 0; i < color_scheme_loaded.length; i ++) + { + if (color_scheme_loaded[i].getName().equals("nb.laf.postinstall.callable.httplink"))// NOI18N + { + final int index = i; + UIManager.put( "nb.laf.postinstall.callable", new Callable() { //NOI18N + + @Override + public Object call() throws Exception { + HTMLEditorKit kit = new HTMLEditorKit(); + StyleSheet newStyleSheet = new StyleSheet(); + Font f = new JLabel().getFont(); + newStyleSheet.addRule(new StringBuffer("body { font-size: ").append(f.getSize()) // NOI18N + .append("; font-family: ").append(f.getName()).append("; }").toString()); // NOI18N + newStyleSheet.addRule( "a { color: " +color_scheme_loaded[index].getHEX() + "; text-decoration: underline}"); //NOI18N + newStyleSheet.addStyleSheet(kit.getStyleSheet()); + kit.setStyleSheet(newStyleSheet); + return null; + } + }); + break; + } + } + } + + + private static final String COLOR_MODEL = "org.netbeans.modules.options.colors.ColorModel"; //NOI18N + private static final String TITAN_THEME_NAME = NbBundle.getMessage(Kernel.class, "LBL_TITAN_EDITOR"); + static void load_companion() { + + ClassLoader cl = Lookup.getDefault().lookup( ClassLoader.class ); + if( null == cl ) + { + cl = Installer.class.getClassLoader(); + } + + try + { + Class clazz = cl.loadClass( COLOR_MODEL ); + Object colorModel = clazz.newInstance(); + Method get_profile_method = clazz.getDeclaredMethod( "getCurrentProfile", new Class[0] ); //NOI18N + Object res = get_profile_method.invoke( colorModel, new Object[0] ); + + if (res != null && !TITAN_THEME_NAME.equals(res)) + { + + Method set_profile = clazz.getDeclaredMethod( "setCurrentProfile", String.class ); //NOI18N + set_profile.invoke( colorModel, TITAN_THEME_NAME ); + } + else + { + String message = "\"Titan\" Editor Theme is not available - please, download it from:" + + "http://idp-crew.com/index.php/projects/laf/"; + JOptionPane.showMessageDialog(new JFrame(), message, "Titan Editor Theme is not available!", + JOptionPane.ERROR_MESSAGE); + } + } catch( Exception ex ) {} + + + } + + + + } diff --git a/src/org/idp/laf/Keys.java b/src/org/idp/laf/Keys.java index cc049bc..65bc8ed 100644 --- a/src/org/idp/laf/Keys.java +++ b/src/org/idp/laf/Keys.java @@ -5,6 +5,9 @@ */ package org.idp.laf; +import javax.swing.UIManager; +import javax.swing.plaf.ColorUIResource; + /** * @author Edward M. Kagan */ @@ -90,6 +93,7 @@ public class Keys { "TabbedContainer.sliding.tabsBorder", "TabbedContainer.sliding.outerBorder", "nb.explorer.ministatusbar.border", + "nb.quicksearch.border" }; @@ -350,32 +354,32 @@ public class Keys { "Viewport.background", "Viewport.foreground", - "activeCaption", - "activeCaptionBorder", - "activeCaptionText", - "control", - "controlDkShadow", - "controlHighlight", - "controlLtHighlight", - "controlShadow", - "controlText", - "desktop", - "inactiveCaption", - "inactiveCaptionBorder", - "inactiveCaptionText", - "info", - "infoText", - "menu", - "menuText", - "scrollbar", - "text", - "textHighlight", - "textHighlightText", - "textInactiveText", - "textText", - "window", - "windowBorder", - "windowText", + "activeCaption", + "activeCaptionBorder", + "activeCaptionText", + "control", + "controlDkShadow", + "controlHighlight", + "controlLtHighlight", + "controlShadow", + "controlText", + "desktop", + "inactiveCaption", + "inactiveCaptionBorder", + "inactiveCaptionText", + "info", + "infoText", + "menu", + "menuText", + "scrollbar", +// "text", + "textHighlight", + "textHighlightText", + "textInactiveText", + "textText", + "window", + "windowBorder", + "windowText", "PropSheet.setBackground", "PropSheet.selectedSetBackground", "PropSheet.setForeground", @@ -447,7 +451,864 @@ public class Keys { "ToggleButton.focus", "ToggleButton.select", "ToolTip.backgroundInactive", - "ToolTip.foregroundInactive" + "ToolTip.foregroundInactive", + "primary1", + "primary2", + "primary3", + "secondary1", + "secondary2", + "secondary3", + "black", + "white", + "Nb.ScrollPane.Border.color", + "nb.explorer.unfocusedSelBg", + "nb.explorer.unfocusedSelFg", + + "nb.heapview.border1", + "nb.heapview.border2", + "nb.heapview.border3", + "nb.heapview.foreground", + "nb.heapview.background1", + "nb.heapview.background2", + "nb.heapview.grid1.start", + "nb.heapview.grid1.end", + "nb.heapview.grid2.start" + ,"nb.heapview.grid2.end", + "nb.heapview.grid3.start", + "nb.heapview.grid3.end", + "nb.heapview.grid4.start", + "nb.heapview.grid4.end", + + + + //////////////////////////////////////////////// + "nb.bugtracking.comment.background", + "nb.bugtracking.comment.foreground", + "nb.bugtracking.label.highlight", + "nb.bugtracking.table.background", + "nb.bugtracking.table.background.alternate", + "nb.bugtracking.new.color", + "nb.bugtracking.modified.color", + "nb.bugtracking.obsolete.color", + "nb.bugtracking.conflict.color", + "nb.html.link.foreground", + "nb.html.link.foreground.hover", + "nb.html.link.foreground.visited", + "nb.html.link.foreground.focus", + "nb.startpage.bottombar.background", + "nb.startpage.topbar.background", + "nb.startpage.border.color", + "nb.startpage.tab.border1.color", + "nb.startpage.tab.border2.color", + "nb.startpage.rss.details.color", + "nb.startpage.rss.header.color", + "nb.startpage.contentheader.color1", + "nb.startpage.contentheader.color2", + "nb.editor.errorstripe.caret.color", + "nb.diff.added.color", + "nb.diff.changed.color", + "nb.diff.deleted.color", + "nb.diff.applied.color", + "nb.diff.notapplied.color", + "nb.diff.unresolved.color", + "nb.diff.sidebar.changed.color", + "nb.diff.sidebar.deleted.color", + "nb.versioning.tooltip.background.color", + "nb.formdesigner.gap.fixed.color", + "nb.formdesigner.gap.resizing.color", + "nb.formdesigner.gap.min.color", + "nbProgressBar.Foreground", + "nbProgressBar.popupDynaText.foreground", + "nb.debugger.debugging.currentThread", + "nb.debugger.debugging.highlightColor", + "nb.debugger.debugging.BPHits", + "nb.debugger.debugging.bars.BPHits", + "nb.debugger.debugging.bars.currentThread", + "nb.versioning.added.color", + "nb.versioning.modified.color", + "nb.versioning.deleted.color", + "nb.versioning.conflicted.color", + "nb.versioning.ignored.color", + "nb.versioning.remotemodification.color", + "nb.dataview.tablecell.edited.selected.foreground", + "nb.dataview.tablecell.edited.unselected.foreground", + "nb.autoupdate.search.highlight", + "selection.highlight", + "textArea.background", + "Nb.browser.picker.background.light", + "Nb.browser.picker.foreground.light", + "nb.search.sandbox.highlight", + "nb.search.sandbox.regexp.wrong", + + "nb.laf.postinstall.callable.httplink" + }; + + + + public static String [] all_keys = { + "AbstractButton.clickText", +"AbstractDocument.additionText", +"AbstractDocument.deletionText", +"AbstractDocument.redoText", +"AbstractDocument.styleChangeText", +"AbstractDocument.undoText", +"AbstractUndoableEdit.redoText", +"AbstractUndoableEdit.undoText", +"AuditoryCues.allAuditoryCues", +"AuditoryCues.cueList", +"AuditoryCues.noAuditoryCues", +"Button.background", +"Button.border", +"Button.darkShadow", +"Button.defaultButtonFollowsFocus", +"Button.disabledText", +"Button.focusInputMap", +"Button.font", +"Button.foreground", +"Button.highlight", +"Button.light", +"Button.margin", +"Button.opaque", +"Button.select", +"Button.shadow", +"Button.textIconGap", +"Button.textShiftOffset", +"ButtonUI", +"CheckBox.background", +"CheckBox.border", +"CheckBox.disabledText", +"CheckBox.focusInputMap", +"CheckBox.font", +"CheckBox.foreground", +"CheckBox.icon", +"CheckBox.margin", +"CheckBox.select", +"CheckBox.textIconGap", +"CheckBox.textShiftOffset", +"CheckBoxMenuItem.acceleratorDelimiter", +"CheckBoxMenuItem.acceleratorFont", +"CheckBoxMenuItem.acceleratorForeground", +"CheckBoxMenuItem.acceleratorSelectionForeground", +"CheckBoxMenuItem.arrowIcon", +"CheckBoxMenuItem.background", +"CheckBoxMenuItem.border", +"CheckBoxMenuItem.borderPainted", +"CheckBoxMenuItem.checkIcon", +"CheckBoxMenuItem.dashIcon", +"CheckBoxMenuItem.disabledBackground", +"CheckBoxMenuItem.disabledForeground", +"CheckBoxMenuItem.font", +"CheckBoxMenuItem.foreground", +"CheckBoxMenuItem.margin", +"CheckBoxMenuItem.selectionBackground", +"CheckBoxMenuItem.selectionForeground", +"CheckBoxMenuItemUI", +"CheckBoxUI", +"ColorChooser.background", +"ColorChooser.cancelText", +"ColorChooser.font", +"ColorChooser.foreground", +"ColorChooser.hsbBlueText", +"ColorChooser.hsbBrightnessText", +"ColorChooser.hsbDisplayedMnemonicIndex", +"ColorChooser.hsbGreenText", +"ColorChooser.hsbHueText", +"ColorChooser.hsbMnemonic", +"ColorChooser.hsbNameText", +"ColorChooser.hsbRedText", +"ColorChooser.hsbSaturationText", +"ColorChooser.okText", +"ColorChooser.previewText", +"ColorChooser.resetMnemonic", +"ColorChooser.resetText", +"ColorChooser.rgbBlueMnemonic", +"ColorChooser.rgbBlueText", +"ColorChooser.rgbDisplayedMnemonicIndex", +"ColorChooser.rgbGreenMnemonic", +"ColorChooser.rgbGreenText", +"ColorChooser.rgbMnemonic", +"ColorChooser.rgbNameText", +"ColorChooser.rgbRedMnemonic", +"ColorChooser.rgbRedText", +"ColorChooser.sampleText", +"ColorChooser.swatchesDefaultRecentColor", +"ColorChooser.swatchesDisplayedMnemonicIndex", +"ColorChooser.swatchesMnemonic", +"ColorChooser.swatchesNameText", +"ColorChooser.swatchesRecentSwatchSize", +"ColorChooser.swatchesRecentText", +"ColorChooser.swatchesSwatchSize", +"ColorChooserUI", +"ComboBox.ancestorInputMap", +"ComboBox.background", +"ComboBox.buttonBackground", +"ComboBox.buttonDarkShadow", +"ComboBox.buttonHighlight", +"ComboBox.buttonShadow", +"ComboBox.disabledBackground", +"ComboBox.disabledForeground", +"ComboBox.font", +"ComboBox.foreground", +"ComboBox.isEnterSelectablePopup", +"ComboBox.selectionBackground", +"ComboBox.selectionForeground", +"ComboBox.timeFactor", +"ComboBox.togglePopupText", +"ComboBoxUI", +"Desktop.ancestorInputMap", +"Desktop.background", +"Desktop.minOnScreenInsets", +"DesktopIcon.border", +"DesktopIconUI", +"DesktopPaneUI", +"EditorPane.background", +"EditorPane.border", +"EditorPane.caretBlinkRate", +"EditorPane.caretForeground", +"EditorPane.focusInputMap", +"EditorPane.font", +"EditorPane.foreground", +"EditorPane.inactiveBackground", +"EditorPane.inactiveForeground", +"EditorPane.margin", +"EditorPane.selectionBackground", +"EditorPane.selectionForeground", +"EditorPaneUI", +"FileChooser.acceptAllFileFilterText", +"FileChooser.ancestorInputMap", +"FileChooser.byDateText", +"FileChooser.byNameText", +"FileChooser.cancelButtonMnemonic", +"FileChooser.cancelButtonText", +"FileChooser.chooseButtonText", +"FileChooser.createButtonText", +"FileChooser.desktopName", +"FileChooser.detailsViewIcon", +"FileChooser.directoryDescriptionText", +"FileChooser.directoryOpenButtonMnemonic", +"FileChooser.directoryOpenButtonText", +"FileChooser.fileDescriptionText", +"FileChooser.fileNameLabelMnemonic", +"FileChooser.fileNameLabelText", +"FileChooser.fileSizeGigaBytes", +"FileChooser.fileSizeKiloBytes", +"FileChooser.fileSizeMegaBytes", +"FileChooser.filesOfTypeLabelMnemonic", +"FileChooser.filesOfTypeLabelText", +"FileChooser.helpButtonMnemonic", +"FileChooser.helpButtonText", +"FileChooser.homeFolderIcon", +"FileChooser.listViewIcon", +"FileChooser.lookInLabelMnemonic", +"FileChooser.mac.newFolder", +"FileChooser.mac.newFolder.subsequent", +"FileChooser.newFolderAccessibleName", +"FileChooser.newFolderButtonText", +"FileChooser.newFolderErrorSeparator", +"FileChooser.newFolderErrorText", +"FileChooser.newFolderExistsErrorText", +"FileChooser.newFolderIcon", +"FileChooser.newFolderPromptText", +"FileChooser.newFolderTitleText", +"FileChooser.openButtonMnemonic", +"FileChooser.openButtonText", +"FileChooser.openDialogTitleText", +"FileChooser.openTitleText", +"FileChooser.readOnly", +"FileChooser.saveButtonMnemonic", +"FileChooser.saveButtonText", +"FileChooser.saveDialogFileNameLabelText", +"FileChooser.saveDialogTitleText", +"FileChooser.saveTitleText", +"FileChooser.untitledFileName", +"FileChooser.untitledFolderName", +"FileChooser.upFolderIcon", +"FileChooser.updateButtonMnemonic", +"FileChooser.updateButtonText", +"FileChooser.useSystemExtensionHiding", +"FileChooser.usesSingleFilePane", +"FileChooserUI", +"FileView.computerIcon", +"FileView.directoryIcon", +"FileView.fileIcon", +"FileView.floppyDriveIcon", +"FileView.hardDriveIcon", +"Focus.color", +"FormView.browseFileButtonText", +"FormView.resetButtonText", +"FormView.submitButtonText", +"FormattedTextField.background", +"FormattedTextField.border", +"FormattedTextField.caretBlinkRate", +"FormattedTextField.caretForeground", +"FormattedTextField.focusInputMap", +"FormattedTextField.font", +"FormattedTextField.foreground", +"FormattedTextField.inactiveBackground", +"FormattedTextField.inactiveForeground", +"FormattedTextField.margin", +"FormattedTextField.selectionBackground", +"FormattedTextField.selectionForeground", +"FormattedTextFieldUI", +"IconButton.font", +"InsetBorder.aquaVariant", +"InternalFrame.activeTitleBackground", +"InternalFrame.activeTitleForeground", +"InternalFrame.background", +"InternalFrame.borderColor", +"InternalFrame.borderDarkShadow", +"InternalFrame.borderHighlight", +"InternalFrame.borderLight", +"InternalFrame.borderShadow", +"InternalFrame.closeButtonToolTip", +"InternalFrame.closeIcon", +"InternalFrame.iconButtonToolTip", +"InternalFrame.iconifyIcon", +"InternalFrame.inactiveTitleBackground", +"InternalFrame.inactiveTitleForeground", +"InternalFrame.maxButtonToolTip", +"InternalFrame.maximizeIcon", +"InternalFrame.minimizeIcon", +"InternalFrame.opaque", +"InternalFrame.optionDialogBackground", +"InternalFrame.optionDialogTitleFont", +"InternalFrame.paletteBackground", +"InternalFrame.paletteTitleFont", +"InternalFrame.restoreButtonToolTip", +"InternalFrame.titleFont", +"InternalFrame.windowBindings", +"InternalFrameTitlePane.closeButtonAccessibleName", +"InternalFrameTitlePane.closeButtonOpacity", +"InternalFrameTitlePane.closeButtonText", +"InternalFrameTitlePane.iconifyButtonAccessibleName", +"InternalFrameTitlePane.iconifyButtonOpacity", +"InternalFrameTitlePane.maximizeButtonAccessibleName", +"InternalFrameTitlePane.maximizeButtonOpacity", +"InternalFrameTitlePane.maximizeButtonText", +"InternalFrameTitlePane.minimizeButtonText", +"InternalFrameTitlePane.moveButtonText", +"InternalFrameTitlePane.restoreButtonText", +"InternalFrameTitlePane.sizeButtonText", +"InternalFrameUI", +"IsindexView.prompt", +"Label.background", +"Label.disabledForeground", +"Label.disabledShadow", +"Label.font", +"Label.foreground", +"Label.opaque", +"LabelUI", +"List.background", +"List.cellRenderer", +"List.dropLineColor", +"List.evenRowBackgroundPainter", +"List.focusCellHighlightBorder", +"List.focusInputMap", +"List.focusInputMap.RightToLeft", +"List.font", +"List.foreground", +"List.oddRowBackgroundPainter", +"List.selectionBackground", +"List.selectionForeground", +"List.sourceListBackgroundPainter", +"List.sourceListFocusedSelectionBackgroundPainter", +"List.sourceListSelectionBackgroundPainter", +"List.timeFactor", +"ListUI", +"Menu.acceleratorFont", +"Menu.acceleratorForeground", +"Menu.acceleratorSelectionForeground", +"Menu.arrowIcon", +"Menu.background", +"Menu.border", +"Menu.borderPainted", +"Menu.checkIcon", +"Menu.consumesTabs", +"Menu.crossMenuMnemonic", +"Menu.disabledBackground", +"Menu.disabledForeground", +"Menu.font", +"Menu.foreground", +"Menu.margin", +"Menu.menuPopupOffsetX", +"Menu.menuPopupOffsetY", +"Menu.selectionBackground", +"Menu.selectionForeground", +"Menu.shortcutKeys", +"Menu.submenuPopupOffsetX", +"Menu.submenuPopupOffsetY", +"MenuBar.background", +"MenuBar.backgroundPainter", +"MenuBar.border", +"MenuBar.disabledBackground", +"MenuBar.disabledForeground", +"MenuBar.font", +"MenuBar.foreground", +"MenuBar.highlight", +"MenuBar.margin", +"MenuBar.selectedBackgroundPainter", +"MenuBar.selectionBackground", +"MenuBar.selectionForeground", +"MenuBar.shadow", +"MenuBar.windowBindings", +"MenuBarUI", +"MenuItem.acceleratorDelimiter", +"MenuItem.acceleratorFont", +"MenuItem.acceleratorForeground", +"MenuItem.acceleratorSelectionForeground", +"MenuItem.arrowIcon", +"MenuItem.background", +"MenuItem.border", +"MenuItem.borderPainted", +"MenuItem.checkIcon", +"MenuItem.disabledBackground", +"MenuItem.disabledForeground", +"MenuItem.font", +"MenuItem.foreground", +"MenuItem.margin", +"MenuItem.selectedBackgroundPainter", +"MenuItem.selectionBackground", +"MenuItem.selectionForeground", +"MenuItemUI", +"MenuUI", +"OptionPane.background", +"OptionPane.border", +"OptionPane.buttonAreaBorder", +"OptionPane.buttonClickThreshhold", +"OptionPane.buttonFont", +"OptionPane.cancelButtonMnemonic", +"OptionPane.cancelButtonText", +"OptionPane.errorIcon", +"OptionPane.font", +"OptionPane.foreground", +"OptionPane.informationIcon", +"OptionPane.inputDialogTitle", +"OptionPane.messageAreaBorder", +"OptionPane.messageDialogTitle", +"OptionPane.messageFont", +"OptionPane.messageForeground", +"OptionPane.minimumSize", +"OptionPane.noButtonMnemonic", +"OptionPane.noButtonText", +"OptionPane.okButtonMnemonic", +"OptionPane.okButtonText", +"OptionPane.questionIcon", +"OptionPane.titleText", +"OptionPane.warningIcon", +"OptionPane.windowBindings", +"OptionPane.yesButtonMnemonic", +"OptionPane.yesButtonText", +"OptionPaneUI", +"Panel.background", +"Panel.font", +"Panel.foreground", +"Panel.opaque", +"PanelUI", +"PasswordField.background", +"PasswordField.border", +"PasswordField.caretBlinkRate", +"PasswordField.caretForeground", +"PasswordField.echoChar", +"PasswordField.focusInputMap", +"PasswordField.font", +"PasswordField.foreground", +"PasswordField.inactiveBackground", +"PasswordField.inactiveForeground", +"PasswordField.margin", +"PasswordField.selectionBackground", +"PasswordField.selectionForeground", +"PasswordFieldUI", +"PopupMenu.background", +"PopupMenu.border", +"PopupMenu.consumeEventOnClose", +"PopupMenu.font", +"PopupMenu.foreground", +"PopupMenu.selectedWindowInputMapBindings", +"PopupMenu.selectedWindowInputMapBindings.RightToLeft", +"PopupMenu.selectionBackground", +"PopupMenu.selectionForeground", +"PopupMenuSeparatorUI", +"PopupMenuUI", +"PrintingDialog.abortButtonDisplayedMnemonicIndex", +"PrintingDialog.abortButtonMnemonic", +"PrintingDialog.abortButtonText", +"PrintingDialog.abortButtonToolTipText", +"PrintingDialog.contentAbortingText", +"PrintingDialog.contentInitialText", +"PrintingDialog.contentProgressText", +"PrintingDialog.titleAbortingText", +"PrintingDialog.titleProgressText", +"ProgressBar.background", +"ProgressBar.border", +"ProgressBar.cellLength", +"ProgressBar.cellSpacing", +"ProgressBar.cycleTime", +"ProgressBar.font", +"ProgressBar.foreground", +"ProgressBar.horizontalSize", +"ProgressBar.repaintInterval", +"ProgressBar.selectionBackground", +"ProgressBar.selectionForeground", +"ProgressBar.verticalSize", +"ProgressBarUI", +"ProgressMonitor.progressText", +"RadioButton.background", +"RadioButton.border", +"RadioButton.darkShadow", +"RadioButton.disabledText", +"RadioButton.focusInputMap", +"RadioButton.font", +"RadioButton.foreground", +"RadioButton.highlight", +"RadioButton.icon", +"RadioButton.light", +"RadioButton.margin", +"RadioButton.select", +"RadioButton.shadow", +"RadioButton.textIconGap", +"RadioButton.textShiftOffset", +"RadioButtonMenuItem.acceleratorDelimiter", +"RadioButtonMenuItem.acceleratorFont", +"RadioButtonMenuItem.acceleratorForeground", +"RadioButtonMenuItem.acceleratorSelectionForeground", +"RadioButtonMenuItem.arrowIcon", +"RadioButtonMenuItem.background", +"RadioButtonMenuItem.border", +"RadioButtonMenuItem.borderPainted", +"RadioButtonMenuItem.checkIcon", +"RadioButtonMenuItem.dashIcon", +"RadioButtonMenuItem.disabledBackground", +"RadioButtonMenuItem.disabledForeground", +"RadioButtonMenuItem.font", +"RadioButtonMenuItem.foreground", +"RadioButtonMenuItem.margin", +"RadioButtonMenuItem.selectionBackground", +"RadioButtonMenuItem.selectionForeground", +"RadioButtonMenuItemUI", +"RadioButtonUI", +"RootPane.ancestorInputMap", +"RootPane.defaultButtonWindowKeyBindings", +"RootPaneUI", +"ScrollBar.ancestorInputMap", +"ScrollBar.ancestorInputMap.RightToLeft", +"ScrollBar.background", +"ScrollBar.focusInputMap", +"ScrollBar.focusInputMap.RightToLeft", +"ScrollBar.foreground", +"ScrollBar.maximumThumbSize", +"ScrollBar.minimumThumbSize", +"ScrollBar.thumb", +"ScrollBar.thumbDarkShadow", +"ScrollBar.thumbHighlight", +"ScrollBar.thumbShadow", +"ScrollBar.track", +"ScrollBar.trackHighlight", +"ScrollBar.width", +"ScrollBarUI", +"ScrollPane.ancestorInputMap", +"ScrollPane.ancestorInputMap.RightToLeft", +"ScrollPane.background", +"ScrollPane.border", +"ScrollPane.font", +"ScrollPane.foreground", +"ScrollPaneUI", +"Separator.foreground", +"Separator.highlight", +"Separator.shadow", +"SeparatorUI", +"Slider.background", +"Slider.focus", +"Slider.focusInputMap", +"Slider.focusInputMap.RightToLeft", +"Slider.focusInsets", +"Slider.font", +"Slider.foreground", +"Slider.highlight", +"Slider.horizontalSize", +"Slider.minimumHorizontalSize", +"Slider.minimumVerticalSize", +"Slider.shadow", +"Slider.tickColor", +"Slider.verticalSize", +"SliderUI", +"Spinner.ancestorInputMap", +"Spinner.arrowButtonSize", +"Spinner.background", +"Spinner.editorAlignment", +"Spinner.editorBorderPainted", +"Spinner.font", +"Spinner.foreground", +"SpinnerUI", +"SplitPane.ancestorInputMap", +"SplitPane.background", +"SplitPane.border", +"SplitPane.darkShadow", +"SplitPane.dividerSize", +"SplitPane.highlight", +"SplitPane.leftButtonText", +"SplitPane.rightButtonText", +"SplitPane.shadow", +"SplitPaneDivider.draggingColor", +"SplitPaneDivider.horizontalGradientVariant", +"SplitPaneUI", +"TabbedPane.ancestorInputMap", +"TabbedPane.background", +"TabbedPane.contentBorderInsets", +"TabbedPane.contentOpaque", +"TabbedPane.darkShadow", +"TabbedPane.focus", +"TabbedPane.focusInputMap", +"TabbedPane.font", +"TabbedPane.foreground", +"TabbedPane.highlight", +"TabbedPane.leftTabInsets", +"TabbedPane.light", +"TabbedPane.opaque", +"TabbedPane.rightTabInsets", +"TabbedPane.selectedTabPadInsets", +"TabbedPane.shadow", +"TabbedPane.smallFont", +"TabbedPane.tabAreaInsets", +"TabbedPane.tabInsets", +"TabbedPane.tabRunOverlay", +"TabbedPane.tabsOpaque", +"TabbedPane.tabsOverlapBorder", +"TabbedPane.textIconGap", +"TabbedPane.useSmallLayout", +"TabbedPaneUI", +"Table.ancestorInputMap", +"Table.ancestorInputMap.RightToLeft", +"Table.ascendingSortIcon", +"Table.background", +"Table.descendingSortIcon", +"Table.dropLineColor", +"Table.dropLineShortColor", +"Table.focusCellBackground", +"Table.focusCellForeground", +"Table.focusCellHighlightBorder", +"Table.font", +"Table.foreground", +"Table.gridColor", +"Table.scrollPaneBorder", +"Table.selectionBackground", +"Table.selectionForeground", +"Table.sortIconColor", +"TableHeader.ancestorInputMap", +"TableHeader.background", +"TableHeader.cellBorder", +"TableHeader.focusCellBackground", +"TableHeader.font", +"TableHeader.foreground", +"TableHeaderUI", +"TableUI", +"TextArea.background", +"TextArea.border", +"TextArea.caretBlinkRate", +"TextArea.caretForeground", +"TextArea.focusInputMap", +"TextArea.font", +"TextArea.foreground", +"TextArea.inactiveBackground", +"TextArea.inactiveForeground", +"TextArea.margin", +"TextArea.selectionBackground", +"TextArea.selectionForeground", +"TextAreaUI", +"TextComponent.selectionBackgroundInactive", +"TextField.background", +"TextField.border", +"TextField.caretBlinkRate", +"TextField.caretForeground", +"TextField.darkShadow", +"TextField.focusInputMap", +"TextField.font", +"TextField.foreground", +"TextField.highlight", +"TextField.inactiveBackground", +"TextField.inactiveForeground", +"TextField.light", +"TextField.margin", +"TextField.selectionBackground", +"TextField.selectionForeground", +"TextField.shadow", +"TextFieldUI", +"TextPane.background", +"TextPane.border", +"TextPane.caretBlinkRate", +"TextPane.caretForeground", +"TextPane.focusInputMap", +"TextPane.font", +"TextPane.foreground", +"TextPane.inactiveBackground", +"TextPane.inactiveForeground", +"TextPane.margin", +"TextPane.selectionBackground", +"TextPane.selectionForeground", +"TextPaneUI", +"TitledBorder.aquaVariant", +"TitledBorder.border", +"TitledBorder.font", +"TitledBorder.titleColor", +"ToggleButton.background", +"ToggleButton.border", +"ToggleButton.darkShadow", +"ToggleButton.disabledText", +"ToggleButton.focusInputMap", +"ToggleButton.font", +"ToggleButton.foreground", +"ToggleButton.highlight", +"ToggleButton.light", +"ToggleButton.margin", +"ToggleButton.shadow", +"ToggleButton.textIconGap", +"ToggleButton.textShiftOffset", +"ToggleButtonUI", +"ToolBar.ancestorInputMap", +"ToolBar.background", +"ToolBar.border", +"ToolBar.darkShadow", +"ToolBar.dockingBackground", +"ToolBar.dockingForeground", +"ToolBar.floatingBackground", +"ToolBar.floatingForeground", +"ToolBar.font", +"ToolBar.foreground", +"ToolBar.highlight", +"ToolBar.light", +"ToolBar.shadow", +"ToolBarButton.insets", +"ToolBarButton.margin", +"ToolBarSeparatorUI", +"ToolBarUI", +"ToolTip.background", +"ToolTip.border", +"ToolTip.font", +"ToolTip.foreground", +"ToolTipManager.enableToolTipMode", +"ToolTipUI", +"Tree.ancestorInputMap", +"Tree.background", +"Tree.changeSelectionWithFocus", +"Tree.closedIcon", +"Tree.collapsedIcon", +"Tree.drawsFocusBorderAroundIcon", +"Tree.dropLineColor", +"Tree.editorBorder", +"Tree.expandedIcon", +"Tree.focusInputMap", +"Tree.focusInputMap.RightToLeft", +"Tree.font", +"Tree.foreground", +"Tree.hash", +"Tree.leafIcon", +"Tree.leftChildIndent", +"Tree.line", +"Tree.lineTypeDashed", +"Tree.openIcon", +"Tree.paintLines", +"Tree.rightChildIndent", +"Tree.rightToLeftCollapsedIcon", +"Tree.rowHeight", +"Tree.scrollsOnExpand", +"Tree.selectionBackground", +"Tree.selectionBorderColor", +"Tree.selectionForeground", +"Tree.textBackground", +"Tree.textForeground", +"Tree.timeFactor", +"TreeUI", +"Viewport.background", +"Viewport.font", +"Viewport.foreground", +"ViewportUI", +"_SecurityDecisionIcon", +"activeCaption", +"activeCaptionBorder", +"activeCaptionText", +"control", +"controlDkShadow", +"controlHighlight", +"controlLtHighlight", +"controlShadow", +"controlText", +"desktop", +"html.missingImage", +"html.pendingImage", +"inactiveCaption", +"inactiveCaptionBorder", +"inactiveCaptionText", +"info", +"infoText", +"menu", +"menuText", +"scrollbar", +"text", +"textHighlight", +"textHighlightText", +"textInactiveText", +"textText", +"window", +"windowBorder", +"windowText", + +"nb_workplace_fill", +"customFontSize", +"nbDefaultFontSize", +"Nb.Editor.Status.leftBorder", +"Nb.Editor.Status.innerBorder", +"Nb.Editor.Status.rightBorder", +"Nb.Editor.Status.onlyOneBorder", +"Nb.Editor.Toolbar.border", +"Nb.Editor.ErrorStripe.ScrollBar.Insets", +"Nb.Explorer.Status.border", +"Nb.Explorer.Folder.icon", +"Nb.Explorer.Folder.openedIcon", +"Nb.Desktop.border", +"Nb.Toolbar.ui", +"Nb.Desktop.background", +"nb.output.selectionBackground", +"nb.hyperlink.foreground", +"nb.output.background", +"nb.output.foreground", +"Tree.altbackground", +"PropSheet.setBackground", +"PropSheet.selectedSetBackground", +"PropSheet.setForeground", +"PropSheet.selectedSetForeground", +"PropSheet.disabledForeground", +"PropSheet.selectionBackground", +"PropSheet.selectionForeground", +"PropSheet.customButtonForeground", +"netbeans.ps.buttonColor", +"netbeans.ps.background", +"netbeans.ps.iconmargin", +"netbeans.ps.rowheight", +"nb.errorForeground", +"nb.warningForeground", +"TabbedContainerUI", +"EditorTabDisplayerUI", +"ViewTabDisplayerUI", +"SlidingTabDisplayerUI", +"IndexButtonUI", +"SlidingButtonUI", +"TabbedContainer.editor.contentBorder", +"TabbedContainer.editor.tabsBorder", +"TabbedContainer.editor.outerBorder", +"TabbedContainer.view.contentBorder", +"TabbedContainer.view.tabsBorder", +"TabbedContainer.view.outerBorder", +"TabbedContainer.sliding.contentBorder", +"TabbedContainer.sliding.tabsBorder", +"TabbedContainer.sliding.outerBorder", +"TabRenderer.selectedActivatedBackground", +"TabRenderer.selectedActivatedForeground", +"TabRenderer.selectedForeground", +"TabRenderer.selectedBackground", +"nb.explorer.ministatusbar.border", +"nb.desktop.splitpane.border", +"nb.propertysheet", +"Nb.SplitPane.dividerSize.vertical", +"Nb.SplitPane.dividerSize.horizontal" }; } diff --git a/src/org/idp/laf/TitanLookAndFeel.java b/src/org/idp/laf/TitanLookAndFeel.java new file mode 100644 index 0000000..22b4b82 --- /dev/null +++ b/src/org/idp/laf/TitanLookAndFeel.java @@ -0,0 +1,48 @@ +/* Copyright (C) Edward M. Kagan - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited + * Proprietary and confidential + * Written by Edward M. Kagan , 2015 + */ +package org.idp.laf; + +import javax.swing.UIDefaults; +import javax.swing.UIManager; +import javax.swing.plaf.metal.MetalLookAndFeel; +import static javax.swing.plaf.metal.MetalLookAndFeel.getCurrentTheme; +import static javax.swing.plaf.metal.MetalLookAndFeel.setCurrentTheme; +import org.openide.util.NbBundle; + +/** + * @author Edward M. Kagan + */ +public class TitanLookAndFeel extends MetalLookAndFeel { + + public static void self_install () + { + UIManager.installLookAndFeel(new UIManager.LookAndFeelInfo( NbBundle.getMessage(TitanLookAndFeel.class, "LBL_TITAN"), TitanLookAndFeel.class.getName()) ); + } + + @Override + public String getName() { + return NbBundle.getMessage(TitanLookAndFeel.class, "LBL_TITAN"); + } + + @Override + protected void createDefaultTheme() { + super.createDefaultTheme(); + if( !(getCurrentTheme() instanceof TitanTheme) ) + setCurrentTheme( new TitanTheme() ); + } + + @Override + public UIDefaults getDefaults() { + UIDefaults defaults = super.getDefaults(); + return defaults; + } + + @Override + public void initialize() { + super.initialize(); + } + +} diff --git a/src/org/idp/laf/TitanTheme.java b/src/org/idp/laf/TitanTheme.java new file mode 100644 index 0000000..0bff6f7 --- /dev/null +++ b/src/org/idp/laf/TitanTheme.java @@ -0,0 +1,141 @@ +/* Copyright (C) Edward M. Kagan - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited + * Proprietary and confidential + * Written by Edward M. Kagan , 2015 + */ +package org.idp.laf; + +import java.awt.Font; +import javax.swing.UIDefaults; +import javax.swing.plaf.ColorUIResource; +import javax.swing.plaf.FontUIResource; +import javax.swing.plaf.metal.MetalTheme; + +/** + * @author Edward M. Kagan + */ +public class TitanTheme extends MetalTheme { + + private static ColorUIResource primary1 = new ColorUIResource( 255, 0 , 0 ); + private static ColorUIResource primary2 = new ColorUIResource( 255, 255, 0 ); + private static ColorUIResource primary3 = new ColorUIResource( 255, 0 , 255 ); + private static ColorUIResource secondary1 = new ColorUIResource( 0 , 255, 0 ); + private static ColorUIResource secondary2 = new ColorUIResource( 0 , 255, 255 ); + private static ColorUIResource secondary3 = new ColorUIResource( 0 , 0 , 255 ); + private static ColorUIResource black = new ColorUIResource( 255 , 255 , 255 ); + private static ColorUIResource white = new ColorUIResource( 0 , 0 , 0 ); + + + + + + + + @Override + public void addCustomEntriesToTable(UIDefaults table) { + super.addCustomEntriesToTable(table); //To change body of generated methods, choose Tools | Templates. + table.put( "nb.imageicon.filter", new DarkIconFilter() ); //NOI18N + } + + private final static FontUIResource DEFAULT_FONT = new FontUIResource("Dialog", Font.PLAIN, 11); //NOI18N + + + + public static void self_tuneup (Color[] color_scheme_loaded) + { + for (int i = 0; i < color_scheme_loaded.length; i ++) + { + grep_needed (color_scheme_loaded[i]); + } + } + + private static void grep_needed (Color c) + { + if (c.getName().equals("primary1")) primary1 = (ColorUIResource) c.getObject(); + else if (c.getName().equals("primary2")) primary2 = (ColorUIResource) c.getObject(); + else if (c.getName().equals("primary3")) primary3 = (ColorUIResource) c.getObject(); + else if (c.getName().equals("secondary1")) secondary1 = (ColorUIResource) c.getObject(); + else if (c.getName().equals("secondary2")) secondary2 = (ColorUIResource) c.getObject(); + else if (c.getName().equals("secondary3")) secondary3 = (ColorUIResource) c.getObject(); + else if (c.getName().equals("black")) black = (ColorUIResource) c.getObject(); + else if (c.getName().equals("white")) white = (ColorUIResource) c.getObject(); + } + + @Override + public String getName() { + return "[idP!] Crew Titan Theme"; + } + + // FUCKERS - it's not obligatory to override this - IDIOTS!!! + @Override + protected ColorUIResource getWhite() { + return white; + } + + @Override + protected ColorUIResource getBlack() { + return black; + } + + + @Override + protected ColorUIResource getPrimary1() { + return primary1; + } + + @Override + protected ColorUIResource getPrimary2() { + return primary2; + } + + @Override + protected ColorUIResource getPrimary3() { + return primary3; + } + + @Override + protected ColorUIResource getSecondary1() { + return secondary1; + } + + @Override + protected ColorUIResource getSecondary2() { + return secondary2; + } + + @Override + protected ColorUIResource getSecondary3() { + return secondary3; + } + + @Override + public FontUIResource getControlTextFont() { + return DEFAULT_FONT; + } + + @Override + public FontUIResource getSystemTextFont() { + return DEFAULT_FONT; + } + + @Override + public FontUIResource getUserTextFont() { + return DEFAULT_FONT; + } + + @Override + public FontUIResource getMenuTextFont() { + return DEFAULT_FONT; + } + + @Override + public FontUIResource getWindowTitleFont() { + return DEFAULT_FONT; + } + + @Override + public FontUIResource getSubTextFont() { + return DEFAULT_FONT; + } + +} diff --git a/theme/.idp_scheme/.ui_colors b/theme/.idp_scheme/.ui_colors deleted file mode 100644 index ac94c15..0000000 --- a/theme/.idp_scheme/.ui_colors +++ /dev/null @@ -1,271 +0,0 @@ -C[activeCaption:SF:16,16,16,255] -C[activeCaptionBorder:SF:16,16,16,255] -C[activeCaptionText:SF:208,208,208,255] -C[Button.background:SF:64,64,64,255] -C[Button.darkShadow:SF:102,102,102,255] -C[Button.disabledText:SF:176,176,176,255] -C[Button.focus:SF:64,64,64,255] -C[Button.foreground:SF:208,208,208,255] -C[Button.highlight:SF:48,48,48,255] -C[Button.light:SF:48,48,48,255] -C[Button.select:SF:176,176,176,255] -C[Button.shadow:SF:48,48,48,255] -C[CheckBox.background:SF:32,32,32,255] -C[CheckBox.disabledText:SF:176,176,176,255] -C[CheckBox.focus:SF:32,32,32,255] -C[CheckBox.foreground:SF:208,208,208,255] -C[Checkbox.select:SF:176,176,176,255] -C[CheckBoxMenuItem.acceleratorForeground:SF:208,208,208,255] -C[CheckBoxMenuItem.acceleratorSelectionForeground:SF:176,176,176,255] -C[CheckBoxMenuItem.background:SF:64,64,64,255] -C[CheckBoxMenuItem.disabledForeground:SF:176,176,176,255] -C[CheckBoxMenuItem.foreground:SF:208,208,208,255] -C[CheckBoxMenuItem.selectionBackground:SF:96,96,96,255] -C[CheckBoxMenuItem.selectionForeground:SF:176,176,176,255] -C[ColorChooser.background:SF:32,32,32,255] -C[ColorChooser.foreground:SF:208,208,208,255] -C[ColorChooser.swatchesDefaultRecentColor:SF:208,208,208,255] -C[ComboBox.background:SF:64,64,64,255] -C[ComboBox.buttonBackground:SF:64,64,64,255] -C[ComboBox.buttonDarkShadow:SF:102,102,102,255] -C[ComboBox.buttonHighlight:SF:255,255,255,255] -C[ComboBox.buttonShadow:SF:153,153,153,255] -C[ComboBox.disabledBackground:SF:48,48,48,255] -C[ComboBox.disabledForeground:SF:176,176,176,255] -C[ComboBox.foreground:SF:208,208,208,255] -C[ComboBox.selectionBackground:SF:96,96,96,255] -C[ComboBox.selectionForeground:SF:176,176,176,255] -C[control:SF:32,32,32,255] -C[controlDkShadow:SF:32,32,32,255] -C[controlHighlight:SF:80,80,80,255] -C[controlLtHighlight:SF:32,32,32,255] -C[controlShadow:SF:32,32,32,255] -C[controlText:SF:208,208,208,255] -C[Desktop.background:SF:16,16,16,255] -C[desktop:SF:0,255,0,255] -C[DesktopIcon.background:SF:0,255,0,255] -C[DesktopIcon.foreground:SF:0,255,0,255] -C[EditorPane.background:SF:32,32,32,255] -C[EditorPane.caretForeground:SF:0,0,0,255] -C[EditorPane.foreground:SF:208,208,208,255] -C[EditorPane.inactiveForeground:SF:153,153,153,255] -C[EditorPane.selectionBackground:SF:64,64,64,255] -C[EditorPane.selectionForeground:SF:208,208,208,255] -C[FormattedTextField.background:SF:64,64,64,255] -C[FormattedTextField.caretForeground:SF:240,240,240,255] -C[FormattedTextField.foreground:SF:208,208,208,255] -C[FormattedTextField.inactiveBackground:SF:32,32,32,255] -C[FormattedTextField.inactiveForeground:SF:160,160,160,255] -C[FormattedTextField.selectionBackground:SF:224,224,224,255] -C[FormattedTextField.selectionForeground:SF:32,32,32,255] -C[inactiveCaption:SF:32,32,32,255] -C[inactiveCaptionBorder:SF:32,32,32,255] -C[inactiveCaptionText:SF:176,176,176,255] -C[info:SF:0,255,0,255] -C[infoText:SF:255,0,0,255] -C[InternalFrame.activeTitleBackground:SF:204,204,255,255] -C[InternalFrame.activeTitleForeground:SF:208,208,208,255] -C[InternalFrame.borderColor:SF:32,32,32,255] -C[InternalFrame.borderDarkShadow:SF:102,102,102,255] -C[InternalFrame.borderHighlight:SF:255,255,255,255] -C[InternalFrame.borderLight:SF:255,255,255,255] -C[InternalFrame.borderShadow:SF:32,32,32,255] -C[InternalFrame.inactiveTitleBackground:SF:255,0,0,255] -C[InternalFrame.inactiveTitleForeground:SF:176,176,176,255] -C[Label.background:SF:32,32,32,255] -C[Label.disabledForeground:SF:176,176,176,255] -C[Label.disabledShadow:SF:176,176,176,255] -C[Label.foreground:SF:208,208,208,255] -C[List.background:SF:16,16,16,255] -C[List.dropLineColor:SF:64,64,64,255] -C[List.foreground:SF:208,208,208,255] -C[List.selectionBackground:SF:64,64,64,255] -C[List.selectionForeground:SF:176,176,176,255] -C[Menu.acceleratorForeground:SF:208,208,208,255] -C[Menu.acceleratorSelectionForeground:SF:176,176,176,255] -C[Menu.background:SF:32,32,32,255] -C[Menu.disabledForeground:SF:176,176,176,255] -C[Menu.foreground:SF:208,208,208,255] -C[Menu.selectionBackground:SF:64,64,64,255] -C[Menu.selectionForeground:SF:192,192,192,255] -C[menu:SF:255,0,255,255] -C[MenuBar.background:SF:32,32,32,255] -C[MenuBar.foreground:SF:208,208,208,255] -C[MenuBar.highlight:SF:64,64,64,255] -C[MenuBar.shadow:SF:153,153,153,255] -C[MenuItem.acceleratorForeground:SF:208,208,208,255] -C[MenuItem.acceleratorSelectionForeground:SF:176,176,176,255] -C[MenuItem.background:SF:64,64,64,255] -C[MenuItem.disabledForeground:SF:128,128,128,255] -C[MenuItem.foreground:SF:208,208,208,255] -C[MenuItem.selectionBackground:SF:96,96,96,255] -C[MenuItem.selectionForeground:SF:176,176,176,255] -C[menuText:SF:0,0,255,255] -C[OptionPane.background:SF:32,32,32,255] -C[OptionPane.errorDialog.border.background:SF:32,32,32,255] -C[OptionPane.errorDialog.titlePane.background:SF:255,153,153,255] -C[OptionPane.errorDialog.titlePane.foreground:SF:208,208,208,255] -C[OptionPane.errorDialog.titlePane.shadow:SF:204,102,102,255] -C[OptionPane.foreground:SF:208,208,208,255] -C[OptionPane.messageForeground:SF:208,208,208,255] -C[OptionPane.questionDialog.border.background:SF:32,32,32,255] -C[OptionPane.questionDialog.titlePane.background:SF:153,204,153,255] -C[OptionPane.questionDialog.titlePane.foreground:SF:208,208,208,255] -C[OptionPane.questionDialog.titlePane.shadow:SF:102,153,102,255] -C[OptionPane.warningDialog.border.background:SF:32,32,32,255] -C[OptionPane.warningDialog.titlePane.background:SF:255,204,153,255] -C[OptionPane.warningDialog.titlePane.foreground:SF:208,208,208,255] -C[OptionPane.warningDialog.titlePane.shadow:SF:204,153,102,255] -C[Panel.background:SF:32,32,32,255] -C[Panel.foreground:SF:208,208,208,255] -C[PasswordField.background:SF:64,64,64,255] -C[PasswordField.caretForeground:SF:240,240,240,255] -C[PasswordField.foreground:SF:208,208,208,255] -C[PasswordField.inactiveBackground:SF:32,32,32,255] -C[PasswordField.inactiveForeground:SF:160,160,160,255] -C[PasswordField.selectionBackground:SF:224,224,224,255] -C[PasswordField.selectionForeground:SF:32,32,32,255] -C[PopupMenu.background:SF:64,64,64,255] -C[PopupMenu.foreground:SF:208,208,208,255] -C[ProgressBar.background:SF:16,16,16,255] -C[ProgressBar.foreground:SF:176,176,176,255] -C[ProgressBar.selectionBackground:SF:176,176,176,255] -C[ProgressBar.selectionForeground:SF:16,16,16,255] -C[RadioButton.background:SF:32,32,32,255] -C[RadioButton.darkShadow:SF:102,102,102,255] -C[RadioButton.disabledText:SF:176,176,176,255] -C[RadioButton.focus:SF:32,32,32,255] -C[RadioButton.foreground:SF:208,208,208,255] -C[RadioButton.highlight:SF:255,255,255,255] -C[RadioButton.light:SF:255,255,255,255] -C[RadioButton.select:SF:176,176,176,255] -C[RadioButton.shadow:SF:153,153,153,255] -C[RadioButtonMenuItem.acceleratorForeground:SF:208,208,208,255] -C[RadioButtonMenuItem.acceleratorSelectionForeground:SF:176,176,176,255] -C[RadioButtonMenuItem.background:SF:64,64,64,255] -C[RadioButtonMenuItem.disabledForeground:SF:128,128,128,255] -C[RadioButtonMenuItem.foreground:SF:208,208,208,255] -C[RadioButtonMenuItem.selectionBackground:SF:96,96,96,255] -C[RadioButtonMenuItem.selectionForeground:SF:176,176,176,255] -C[ScrollBar.background:SF:32,32,32,255] -C[ScrollBar.darkShadow:SF:102,102,102,255] -C[ScrollBar.foreground:SF:32,32,32,255] -C[ScrollBar.highlight:SF:255,255,255,255] -C[ScrollBar.shadow:SF:153,153,153,255] -C[ScrollBar.thumb:SF:64,64,64,255] -C[ScrollBar.thumbDarkShadow:SF:102,102,102,255] -C[ScrollBar.thumbHighlight:SF:64,64,64,255] -C[ScrollBar.thumbShadow:SF:96,96,96,255] -C[ScrollBar.track:SF:32,32,32,255] -C[ScrollBar.trackHighlight:SF:102,102,102,255] -C[scrollbar:SF:0,0,255,255] -C[ScrollPane.background:SF:32,32,32,255] -C[ScrollPane.foreground:SF:208,208,208,255] -C[Separator.background:SF:48,48,48,255] -C[Separator.foreground:SF:48,48,48,255] -C[Separator.highlight:SF:48,48,48,255] -C[Separator.shadow:SF:48,48,48,255] -C[Slider.background:SF:64,64,64,255] -C[Slider.focus:SF:96,96,96,255] -C[Slider.foreground:SF:80,80,80,255] -C[Slider.highlight:SF:255,255,255,255] -C[Slider.shadow:SF:153,153,153,255] -C[Slider.tickColor:AT:0,0,0,255] -C[Spinner.background:SF:64,64,64,255] -C[Spinner.foreground:SF:64,64,64,255] -C[SplitPane.background:SF:32,32,32,255] -C[SplitPane.darkShadow:SF:64,64,64,255] -C[SplitPane.dividerFocusColor:SF:64,64,64,255] -C[SplitPane.highlight:SF:64,64,64,255] -C[SplitPane.shadow:SF:64,64,64,255] -C[SplitPaneDivider.draggingColor:SF:32,32,32,255] -C[TabbedPane.background:SF:64,64,64,255] -C[TabbedPane.darkShadow:SF:102,102,102,255] -C[TabbedPane.focus:SF:32,32,32,255] -C[TabbedPane.foreground:SF:208,208,208,255] -C[TabbedPane.highlight:SF:255,255,255,255] -C[TabbedPane.light:SF:32,32,32,255] -C[TabbedPane.selected:SF:32,32,32,255] -C[TabbedPane.selectHighlight:SF:255,255,255,255] -C[TabbedPane.shadow:SF:153,153,153,255] -C[TabbedPane.tabAreaBackground:SF:32,32,32,255] -C[Table.background:SF:16,16,16,255] -C[Table.dropLineColor:SF:102,102,255,255] -C[Table.dropLineShortColor:SF:192,192,192,255] -C[Table.focusCellBackground:SF:64,64,64,255] -C[Table.focusCellForeground:SF:176,176,176,255] -C[Table.foreground:SF:208,208,208,255] -C[Table.gridColor:SF:80,80,80,255] -C[Table.selectionBackground:SF:64,64,64,255] -C[Table.selectionForeground:SF:208,208,208,255] -C[Table.sortIconColor:SF:153,153,153,255] -C[TableHeader.background:SF:64,64,64,255] -C[TableHeader.focusCellBackground:SF:128,128,128,255] -C[TableHeader.foreground:SF:208,208,208,255] -C[text:SF:255,255,0,255] -C[TextArea.background:SF:16,16,16,255] -C[TextArea.caretForeground:SF:208,208,208,255] -C[TextArea.foreground:SF:208,208,208,255] -C[TextArea.inactiveForeground:SF:160,160,160,255] -C[TextArea.selectionBackground:SF:224,224,224,255] -C[TextArea.selectionForeground:SF:32,32,32,255] -C[TextField.background:SF:64,64,64,255] -C[TextField.caretForeground:SF:240,240,240,255] -C[TextField.darkShadow:SF:102,102,102,255] -C[TextField.foreground:SF:208,208,208,255] -C[TextField.highlight:SF:255,255,255,255] -C[TextField.inactiveBackground:SF:48,48,48,255] -C[TextField.inactiveForeground:SF:176,176,176,255] -C[TextField.light:SF:255,255,255,255] -C[TextField.selectionBackground:SF:176,176,176,255] -C[TextField.selectionForeground:SF:16,16,16,255] -C[TextField.shadow:SF:153,153,153,255] -C[textHighlight:SF:153,0,153,255] -C[textHighlightText:SF:255,0,0,255] -C[textInactiveText:AT:128,128,128,255] -C[TextPane.background:SF:16,16,16,255] -C[TextPane.caretForeground:SF:0,0,0,255] -C[TextPane.foreground:SF:208,208,208,255] -C[TextPane.inactiveForeground:SF:153,153,153,255] -C[TextPane.selectionBackground:SF:224,224,224,255] -C[TextPane.selectionForeground:SF:32,32,32,255] -C[textText:SF:208,208,208,255] -C[TitledBorder.titleColor:SF:208,208,208,255] -C[ToggleButton.background:SF:64,64,64,255] -C[ToggleButton.darkShadow:SF:102,102,102,255] -C[ToggleButton.disabledText:SF:153,153,153,255] -C[ToggleButton.focus:SF:153,153,153,255] -C[ToggleButton.foreground:SF:208,208,208,255] -C[ToggleButton.highlight:SF:255,255,255,255] -C[ToggleButton.light:SF:255,255,255,255] -C[ToggleButton.select:SF:128,128,128,255] -C[ToggleButton.shadow:SF:153,153,153,255] -C[ToolBar.background:SF:32,32,32,255] -C[ToolBar.darkShadow:SF:64,64,64,255] -C[ToolBar.dockingBackground:SF:32,32,32,255] -C[ToolBar.dockingForeground:SF:64,64,64,255] -C[ToolBar.floatingBackground:SF:32,32,32,255] -C[ToolBar.floatingForeground:SF:64,64,64,255] -C[ToolBar.foreground:SF:208,208,208,255] -C[ToolBar.highlight:SF:255,255,255,255] -C[ToolBar.light:SF:255,255,255,255] -C[ToolBar.shadow:SF:153,153,153,255] -C[ToolTip.background:SF:208,208,208,255] -C[ToolTip.backgroundInactive:SF:32,32,32,255] -C[ToolTip.foreground:SF:32,32,32,255] -C[ToolTip.foregroundInactive:SF:102,102,102,255] -C[Tree.background:SF:16,16,16,255] -C[Tree.dropLineColor:SF:153,153,153,255] -C[Tree.foreground:SF:176,176,176,255] -C[Tree.hash:SF:176,176,176,255] -C[Tree.line:SF:204,204,204,255] -C[Tree.selectionBackground:SF:64,64,64,255] -C[Tree.selectionBorderColor:SF:96,96,96,255] -C[Tree.selectionForeground:SF:0,0,0,255] -C[Tree.textBackground:SF:255,255,255,255] -C[Tree.textForeground:SF:208,208,208,255] -C[Viewport.background:SF:16,16,16,255] -C[Viewport.foreground:SF:208,208,208,255] -C[window:SF:16,16,16,255] -C[windowBorder:SF:16,16,16,255] -C[windowText:SF:208,208,208,255] diff --git a/theme/.idp_scheme/.ui_fonts b/theme/.idp_scheme/.ui_fonts deleted file mode 100644 index 34b8ba8..0000000 --- a/theme/.idp_scheme/.ui_fonts +++ /dev/null @@ -1,40 +0,0 @@ -F[List.font:FA:Dialog,Dialog,11,0] -F[TableHeader.font:FS:Dialog,Dialog,11,0] -F[Panel.font:FA:Dialog,Dialog,11,0] -F[TextArea.font:FS:Dialog,Dialog,11,0] -F[ToggleButton.font:FS:Dialog,Dialog,11,0] -F[ComboBox.font:FS:Dialog,Dialog,11,0] -F[ScrollPane.font:FS:Dialog,Dialog,11,0] -F[Spinner.font:FA:Dialog,Dialog,11,0] -F[RadioButtonMenuItem.font:FS:Dialog,Dialog,11,0] -F[Slider.font:FS:Dialog,Dialog,12,1] -F[EditorPane.font:FS:Serif,Serif,11,0] -F[OptionPane.font:FS:Dialog,Dialog,11,0] -F[ToolBar.font:FS:Dialog,Dialog,11,0] -F[Tree.font:FA:Dialog,Dialog,11,0] -F[CheckBoxMenuItem.font:FS:Dialog,Dialog,11,0] -F[TitledBorder.font:FS:Dialog,Dialog,11,0] -F[Table.font:FS:Dialog,Dialog,11,0] -F[MenuBar.font:FS:Dialog,Dialog,11,0] -F[PopupMenu.font:FS:Dialog,Dialog,11,0] -F[DesktopIcon.font:FS:Dialog,Dialog,12,1] -F[Label.font:FS:Dialog,Dialog,11,0] -F[MenuItem.font:FS:Dialog,Dialog,11,0] -F[MenuItem.acceleratorFont:FS:Dialog,Dialog,11,0] -F[TextField.font:FS:SansSerif,SansSerif,11,0] -F[TextPane.font:FS:Dialog,Dialog,11,0] -F[CheckBox.font:FS:Dialog,Dialog,11,0] -F[ProgressBar.font:FS:Dialog,Dialog,11,0] -F[FormattedTextField.font:FS:Dialog,Dialog,11,0] -F[CheckBoxMenuItem.acceleratorFont:FS:Dialog,Dialog,10,0] -F[Menu.acceleratorFont:FS:Dialog,Dialog,10,0] -F[ColorChooser.font:FS:Dialog,Dialog,11,0] -F[Menu.font:FS:Dialog,Dialog,11,0] -F[PasswordField.font:FS:Monospaced,Monospaced,11,0] -F[InternalFrame.titleFont:FS:Dialog,Dialog,11,1] -F[RadioButtonMenuItem.acceleratorFont:FS:Dialog,Dialog,10,0] -F[Viewport.font:FS:Dialog,Dialog,11,0] -F[TabbedPane.font:FS:Dialog,Dialog,11,0] -F[RadioButton.font:FS:Dialog,Dialog,11,0] -F[ToolTip.font:FS:SansSerif,SansSerif,11,0] -F[Button.font:FS:Dialog,Dialog,11,0] diff --git a/theme/.idp_scheme/.ui_gradients b/theme/.idp_scheme/.ui_gradients deleted file mode 100644 index e69de29..0000000 diff --git a/theme/.idp_scheme/123/.ui_colors b/theme/.idp_scheme/123/.ui_colors deleted file mode 100644 index 93b6f74..0000000 --- a/theme/.idp_scheme/123/.ui_colors +++ /dev/null @@ -1,293 +0,0 @@ -C[DesktopIcon.foreground:SF:222,222,222,255] -C[OptionPane.errorDialog.titlePane.foreground:SF:51,0,0,255] -C[TextArea.background:SF:18,30,49,255] -C[activeCaption:SF:99,99,99,255] -C[PasswordField.inactiveForeground:SF:91,91,95,255] -C[TabbedPane.focus:SF:121,121,125,255] -C[RadioButton.disabledText:SF:91,91,95,255] -C[MenuItem.acceleratorForeground:AT:198,198,198,255] -C[EditorPane.caretForeground:SF:222,222,222,255] -C[Table.background:SF:18,30,49,255] -C[Menu.selectionForeground:SF:222,222,222,255] -C[OptionPane.errorDialog.border.background:SF:153,51,51,255] -C[ToolBar.floatingBackground:SF:51,51,55,255] -C[RadioButtonMenuItem.selectionBackground:SF:71,71,75,255] -C[DesktopIcon.background:SF:51,51,55,255] -C[CheckBoxMenuItem.selectionForeground:SF:222,222,222,255] -C[List.dropLineColor:SF:91,91,95,255] -C[PropSheet.selectionForeground:SF:222,222,222,255] -C[InternalFrame.borderColor:SF:51,51,55,255] -C[CheckBox.foreground:SF:222,222,222,255] -C[ProgressBar.foreground:SF:71,71,75,255] -C[ComboBox.disabledForeground:SF:91,91,95,255] -C[textInactiveText:AT:128,128,128,255] -C[OptionPane.warningDialog.titlePane.foreground:SF:102,51,0,255] -C[Slider.highlight:SF:18,30,49,255] -C[FormattedTextField.caretForeground:SF:222,222,222,255] -C[PropSheet.selectedSetForeground:SF:222,222,222,255] -C[Menu.selectionBackground:SF:71,71,75,255] -C[TextField.caretForeground:SF:222,222,222,255] -C[OptionPane.messageForeground:SF:222,222,222,255] -C[RadioButton.highlight:SF:18,30,49,255] -C[ToolBar.shadow:SF:91,91,95,255] -C[CheckBoxMenuItem.selectionBackground:SF:71,71,75,255] -C[Menu.acceleratorForeground:SF:121,121,125,255] -C[Label.foreground:SF:222,222,222,255] -C[text:SF:18,30,49,255] -C[PropSheet.selectionBackground:SF:99,99,99,255] -C[nb.heapview.grid3.end:AT:105,103,95,255] -C[ComboBox.disabledBackground:SF:51,51,55,255] -C[Button.focus:SF:71,71,75,255] -C[inactiveCaptionText:SF:222,222,222,255] -C[MenuBar.background:SF:51,51,55,255] -C[PasswordField.selectionForeground:SF:222,222,222,255] -C[CheckBoxMenuItem.acceleratorSelectionForeground:SF:222,222,222,255] -C[controlShadow:SF:91,91,95,255] -C[menu:SF:51,51,55,255] -C[inactiveCaptionBorder:SF:91,91,95,255] -C[PasswordField.foreground:SF:222,222,222,255] -C[TextPane.foreground:SF:222,222,222,255] -C[TabbedPane.tabAreaBackground:SF:51,51,55,255] -C[Viewport.foreground:SF:222,222,222,255] -C[TabbedPane.foreground:SF:222,222,222,255] -C[ToggleButton.focus:SF:71,71,75,255] -C[RadioButton.foreground:SF:222,222,222,255] -C[infoText:SF:222,222,222,255] -C[TabbedPane.selected:SF:51,51,55,255] -C[MenuBar.highlight:SF:18,30,49,255] -C[ScrollBar.highlight:SF:18,30,49,255] -C[InternalFrame.inactiveTitleBackground:SF:51,51,55,255] -C[ScrollBar.thumbDarkShadow:SF:113,113,113,255] -C[ToolBar.light:SF:18,30,49,255] -C[EditorPane.inactiveForeground:SF:91,91,95,255] -C[OptionPane.errorDialog.titlePane.background:SF:255,153,153,255] -C[PasswordField.background:SF:18,30,49,255] -C[TextPane.background:SF:18,30,49,255] -C[RadioButton.select:SF:91,91,95,255] -C[PasswordField.inactiveBackground:SF:51,51,55,255] -C[MenuItem.foreground:SF:222,222,222,255] -C[TableHeader.focusCellBackground:SF:18,30,49,255] -C[RadioButton.background:SF:51,51,55,255] -C[inactiveCaption:SF:51,51,55,255] -C[ScrollBar.trackHighlight:SF:113,113,113,255] -C[OptionPane.questionDialog.titlePane.foreground:SF:0,51,0,255] -C[Tree.textForeground:SF:222,222,222,255] -C[TableHeader.foreground:SF:222,222,222,255] -C[CheckBox.background:SF:51,51,55,255] -C[ProgressBar.background:SF:51,51,55,255] -C[Label.disabledForeground:SF:91,91,95,255] -C[OptionPane.warningDialog.titlePane.background:SF:255,204,153,255] -C[ToggleButton.highlight:SF:18,30,49,255] -C[nb.errorForeground:AT:255,71,71,255] -C[PropSheet.selectedSetBackground:AT:121,121,125,255] -C[ScrollPane.foreground:SF:222,222,222,255] -C[TextArea.caretForeground:SF:222,222,222,255] -C[Label.background:SF:51,51,55,255] -C[Spinner.foreground:SF:51,51,55,255] -C[Slider.tickColor:AT:0,0,0,255] -C[Tree.textBackground:SF:18,30,49,255] -C[nb.heapview.grid1.start:AT:97,95,87,255] -C[InternalFrame.borderLight:SF:18,30,49,255] -C[textHighlightText:SF:222,222,222,255] -C[nb.heapview.grid4.start:AT:107,105,97,255] -C[Separator.shadow:SF:91,91,95,255] -C[CheckBoxMenuItem.disabledForeground:SF:91,91,95,255] -C[controlText:SF:222,222,222,255] -C[InternalFrame.borderDarkShadow:SF:113,113,113,255] -C[TextField.shadow:SF:91,91,95,255] -C[PasswordField.selectionBackground:SF:99,99,99,255] -C[Spinner.background:SF:51,51,55,255] -C[TabbedPane.shadow:SF:91,91,95,255] -C[desktop:SF:71,71,75,255] -C[Tree.dropLineColor:SF:91,91,95,255] -C[OptionPane.questionDialog.titlePane.shadow:SF:102,153,102,255] -C[TabbedPane.darkShadow:SF:113,113,113,255] -C[Viewport.background:SF:51,51,55,255] -C[CheckBox.disabledText:SF:91,91,95,255] -C[ComboBox.foreground:SF:222,222,222,255] -C[RadioButton.darkShadow:SF:113,113,113,255] -C[TabbedPane.background:SF:91,91,95,255] -C[OptionPane.warningDialog.titlePane.shadow:SF:204,153,102,255] -C[activeCaptionBorder:SF:71,71,75,255] -C[InternalFrame.borderShadow:SF:91,91,95,255] -C[MenuItem.selectionForeground:SF:222,222,222,255] -C[TextArea.selectionForeground:SF:222,222,222,255] -C[MenuItem.background:SF:51,51,55,255] -C[ComboBox.buttonShadow:SF:91,91,95,255] -C[ScrollBar.track:SF:51,51,55,255] -C[ScrollBar.thumb:SF:71,71,75,255] -C[MenuItem.acceleratorSelectionForeground:SF:222,222,222,255] -C[Table.dropLineColor:SF:71,71,75,255] -C[control:SF:51,51,55,255] -C[OptionPane.questionDialog.titlePane.background:SF:153,204,153,255] -C[Panel.foreground:SF:222,222,222,255] -C[TabbedPane.light:SF:51,51,55,255] -C[MenuItem.selectionBackground:SF:71,71,75,255] -C[Label.disabledShadow:SF:91,91,95,255] -C[ToolTip.foreground:SF:222,222,222,255] -C[TableHeader.background:SF:51,51,55,255] -C[EditorPane.selectionForeground:SF:222,222,222,255] -C[List.foreground:SF:222,222,222,255] -C[OptionPane.warningDialog.border.background:SF:153,102,51,255] -C[Desktop.background:SF:71,71,75,255] -C[ScrollPane.background:SF:51,51,55,255] -C[activeCaptionText:SF:222,222,222,255] -C[SplitPane.dividerFocusColor:SF:99,99,99,255] -C[Tree.foreground:SF:222,222,222,255] -C[SplitPane.highlight:SF:18,30,49,255] -C[TextField.foreground:SF:222,222,222,255] -C[nb.heapview.grid2.end:AT:101,99,92,255] -C[ScrollBar.thumbShadow:SF:121,121,125,255] -C[TextArea.inactiveForeground:SF:91,91,95,255] -C[ToolTip.foregroundInactive:SF:113,113,113,255] -C[Tree.hash:SF:99,99,99,255] -C[FormattedTextField.selectionForeground:SF:222,222,222,255] -C[textText:SF:222,222,222,255] -C[RadioButton.focus:SF:71,71,75,255] -C[ToggleButton.disabledText:SF:91,91,95,255] -C[Tree.background:SF:18,30,49,255] -C[RadioButtonMenuItem.disabledForeground:SF:91,91,95,255] -C[TextField.background:SF:18,30,49,255] -C[ColorChooser.foreground:SF:222,222,222,255] -C[Button.light:SF:18,30,49,255] -C[ColorChooser.swatchesDefaultRecentColor:SF:51,51,55,255] -C[ComboBox.background:SF:51,51,55,255] -C[Button.shadow:SF:91,91,95,255] -C[Button.foreground:SF:222,222,222,255] -C[Table.focusCellForeground:SF:222,222,222,255] -C[Table.gridColor:SF:91,91,95,255] -C[PasswordField.caretForeground:SF:222,222,222,255] -C[TextPane.selectionForeground:SF:222,222,222,255] -C[menuText:SF:222,222,222,255] -C[SplitPaneDivider.draggingColor:SF:64,64,64,255] -C[InternalFrame.borderHighlight:SF:18,30,49,255] -C[TextArea.selectionBackground:SF:99,99,99,255] -C[ToggleButton.light:SF:18,30,49,255] -C[controlDkShadow:SF:113,113,113,255] -C[TextField.light:SF:18,30,49,255] -C[Button.background:SF:123,51,55,255] -C[TextField.selectionForeground:SF:222,222,222,255] -C[Separator.foreground:SF:121,121,125,255] -C[ToolBar.dockingForeground:SF:121,121,125,255] -C[TextPane.selectionBackground:SF:99,99,99,255] -C[Panel.background:SF:51,51,55,255] -C[ToolTip.background:SF:99,99,99,255] -C[EditorPane.selectionBackground:SF:99,99,99,255] -C[List.background:SF:18,30,49,255] -C[TextPane.inactiveForeground:SF:91,91,95,255] -C[SplitPane.shadow:SF:91,91,95,255] -C[TextField.selectionBackground:SF:99,99,99,255] -C[Menu.disabledForeground:SF:91,91,95,255] -C[ToolBar.dockingBackground:SF:51,51,55,255] -C[List.selectionForeground:SF:222,222,222,255] -C[TextField.inactiveForeground:SF:91,91,95,255] -C[window:SF:18,30,49,255] -C[TextField.darkShadow:SF:113,113,113,255] -C[OptionPane.errorDialog.titlePane.shadow:SF:204,102,102,255] -C[RadioButtonMenuItem.acceleratorSelectionForeground:SF:222,222,222,255] -C[ComboBox.selectionForeground:SF:222,222,222,255] -C[FormattedTextField.selectionBackground:SF:99,99,99,255] -C[Tree.selectionBorderColor:SF:71,71,75,255] -C[Tree.selectionForeground:SF:222,222,222,255] -C[Slider.foreground:SF:71,71,75,255] -C[TabbedPane.selectHighlight:SF:18,30,49,255] -C[ScrollBar.thumbHighlight:SF:99,99,99,255] -C[nb.heapview.grid3.start:AT:102,101,93,255] -C[nb.heapview.background2:SF:71,71,75,255] -C[nb.heapview.background1:SF:121,121,125,255] -C[TextField.highlight:SF:18,30,49,255] -C[TextField.inactiveBackground:SF:51,51,55,255] -C[MenuBar.shadow:SF:91,91,95,255] -C[TextPane.caretForeground:SF:222,222,222,255] -C[Table.selectionForeground:SF:222,222,222,255] -C[ColorChooser.background:SF:51,51,55,255] -C[ToggleButton.shadow:SF:91,91,95,255] -C[Button.darkShadow:SF:113,113,113,255] -C[ComboBox.buttonDarkShadow:SF:113,113,113,255] -C[Table.focusCellBackground:SF:18,30,49,255] -C[ComboBox.buttonBackground:SF:51,51,55,255] -C[ToggleButton.foreground:SF:222,222,222,255] -C[Tree.line:SF:99,99,99,255] -C[windowText:SF:222,222,222,255] -C[FormattedTextField.inactiveForeground:SF:91,91,95,255] -C[scrollbar:SF:51,51,55,255] -C[controlLtHighlight:SF:18,30,49,255] -C[SplitPane.darkShadow:SF:113,113,113,255] -C[Button.select:SF:91,91,95,255] -C[nb.heapview.grid4.end:AT:109,107,99,255] -C[ScrollBar.shadow:SF:91,91,95,255] -C[SplitPane.background:SF:51,51,55,255] -C[controlHighlight:SF:18,30,49,255] -C[Separator.background:SF:18,30,49,255] -C[CheckBoxMenuItem.foreground:SF:222,222,222,255] -C[nb.heapview.border3:SF:18,30,49,255] -C[nb.heapview.border2:SF:91,91,95,255] -C[nb.heapview.border1:SF:113,113,113,255] -C[FormattedTextField.inactiveBackground:SF:51,51,55,255] -C[FormattedTextField.foreground:SF:222,222,222,255] -C[textHighlight:SF:99,99,99,255] -C[Button.highlight:SF:18,30,49,255] -C[PropSheet.setForeground:SF:222,222,222,255] -C[Table.sortIconColor:SF:91,91,95,255] -C[CheckBoxMenuItem.background:SF:51,51,55,255] -C[List.selectionBackground:SF:99,99,99,255] -C[TitledBorder.titleColor:SF:222,222,222,255] -C[ProgressBar.selectionForeground:SF:51,51,55,255] -C[Table.dropLineShortColor:SF:121,121,125,255] -C[EditorPane.foreground:SF:222,222,222,255] -C[MenuItem.disabledForeground:SF:91,91,95,255] -C[CheckBox.focus:SF:71,71,75,255] -C[Slider.focus:SF:71,71,75,255] -C[nb.heapview.foreground:SF:222,222,222,255] -C[ComboBox.selectionBackground:SF:71,71,75,255] -C[InternalFrame.activeTitleForeground:SF:222,222,222,255] -C[Tree.selectionBackground:SF:99,99,99,255] -C[Slider.background:SF:51,51,55,255] -C[TextArea.foreground:SF:222,222,222,255] -C[nb.heapview.grid1.end:AT:98,96,88,255] -C[nb.warningForeground:AT:255,216,0,255] -C[ComboBox.buttonHighlight:SF:18,30,49,255] -C[Separator.highlight:SF:18,30,49,255] -C[PopupMenu.foreground:SF:222,222,222,255] -C[ProgressBar.selectionBackground:SF:121,121,125,255] -C[ScrollBar.foreground:SF:51,51,55,255] -C[OptionPane.foreground:SF:222,222,222,255] -C[Table.selectionBackground:SF:99,99,99,255] -C[info:SF:99,99,99,255] -C[InternalFrame.activeTitleBackground:SF:99,99,99,255] -C[RadioButton.light:SF:18,30,49,255] -C[ToolBar.floatingForeground:SF:99,99,99,255] -C[RadioButtonMenuItem.selectionForeground:SF:222,222,222,255] -C[ToggleButton.darkShadow:SF:113,113,113,255] -C[windowBorder:SF:51,51,55,255] -C[ToggleButton.background:SF:51,51,55,255] -C[TabbedPane.highlight:SF:18,30,49,255] -C[ScrollBar.darkShadow:SF:113,113,113,255] -C[PopupMenu.background:SF:51,51,55,255] -C[ScrollBar.background:SF:51,51,55,255] -C[Menu.acceleratorSelectionForeground:SF:222,222,222,255] -C[OptionPane.background:SF:51,51,55,255] -C[Checkbox.select:SF:91,91,95,255] -C[Menu.foreground:SF:222,222,222,255] -C[nb.heapview.grid2.start:AT:99,97,90,255] -C[RadioButtonMenuItem.acceleratorForeground:AT:198,198,198,255] -C[ToolBar.foreground:SF:222,222,222,255] -C[ToolTip.backgroundInactive:SF:51,51,55,255] -C[RadioButtonMenuItem.foreground:SF:222,222,222,255] -C[ToggleButton.select:SF:91,91,95,255] -C[Slider.shadow:SF:91,91,95,255] -C[Button.disabledText:SF:91,91,95,255] -C[OptionPane.questionDialog.border.background:SF:51,102,51,255] -C[FormattedTextField.background:SF:18,30,49,255] -C[Menu.background:SF:51,51,55,255] -C[ToolBar.darkShadow:SF:113,113,113,255] -C[ToolBar.background:SF:51,51,55,255] -C[RadioButtonMenuItem.background:SF:51,51,55,255] -C[CheckBoxMenuItem.acceleratorForeground:AT:198,198,198,255] -C[MenuBar.foreground:SF:222,222,222,255] -C[ToolBar.highlight:SF:18,30,49,255] -C[PropSheet.setBackground:AT:71,71,75,255] -C[RadioButton.shadow:SF:91,91,95,255] -C[EditorPane.background:SF:18,30,49,255] -C[Table.foreground:SF:222,222,222,255] -C[InternalFrame.inactiveTitleForeground:SF:222,222,222,255] diff --git a/theme/.idp_scheme/123/.ui_fonts b/theme/.idp_scheme/123/.ui_fonts deleted file mode 100644 index da572c0..0000000 --- a/theme/.idp_scheme/123/.ui_fonts +++ /dev/null @@ -1,40 +0,0 @@ -F[List.font:FA:Dialog,Dialog,11,0] -F[TableHeader.font:FS:Dialog,Dialog.plain,11,0] -F[Panel.font:FA:Dialog,Dialog,11,0] -F[TextArea.font:FS:Dialog,Dialog.plain,11,0] -F[ToggleButton.font:FS:Dialog,Dialog.plain,11,0] -F[ComboBox.font:FS:Dialog,Dialog.plain,11,0] -F[ScrollPane.font:FS:Dialog,Dialog.plain,11,0] -F[Spinner.font:FA:Dialog,Dialog,11,0] -F[RadioButtonMenuItem.font:FS:Dialog,Dialog.plain,11,0] -F[Slider.font:FS:Dialog,Dialog,11,0] -F[EditorPane.font:FS:Dialog,Dialog.plain,11,0] -F[OptionPane.font:FS:Dialog,Dialog.plain,11,0] -F[ToolBar.font:FS:Dialog,Dialog.plain,11,0] -F[Tree.font:FA:Dialog,Dialog,11,0] -F[CheckBoxMenuItem.font:FS:Dialog,Dialog.plain,11,0] -F[TitledBorder.font:FS:Dialog,Dialog.plain,11,0] -F[Table.font:FS:Dialog,Dialog.plain,11,0] -F[MenuBar.font:FS:Dialog,Dialog.plain,11,0] -F[PopupMenu.font:FS:Dialog,Dialog.plain,11,0] -F[DesktopIcon.font:FS:Dialog,Dialog,11,0] -F[Label.font:FS:Dialog,Dialog.plain,11,0] -F[MenuItem.font:FS:Dialog,Dialog.plain,11,0] -F[MenuItem.acceleratorFont:FS:Dialog,Dialog.plain,11,0] -F[TextField.font:FS:Dialog,Dialog.plain,11,0] -F[TextPane.font:FS:Dialog,Dialog.plain,11,0] -F[CheckBox.font:FS:Dialog,Dialog.plain,11,0] -F[ProgressBar.font:FS:Dialog,Dialog.plain,11,0] -F[FormattedTextField.font:FS:Dialog,Dialog.plain,11,0] -F[CheckBoxMenuItem.acceleratorFont:FS:Dialog,Dialog,11,0] -F[Menu.acceleratorFont:FS:Dialog,Dialog,11,0] -F[ColorChooser.font:FS:Dialog,Dialog.plain,11,0] -F[Menu.font:FS:Dialog,Dialog.plain,11,0] -F[PasswordField.font:FS:Dialog,Dialog.plain,11,0] -F[InternalFrame.titleFont:FS:Dialog,Dialog.plain,11,0] -F[RadioButtonMenuItem.acceleratorFont:FS:Dialog,Dialog,11,0] -F[Viewport.font:FS:Dialog,Dialog.plain,11,0] -F[TabbedPane.font:FS:Dialog,Dialog.plain,11,0] -F[RadioButton.font:FS:Dialog,Dialog.plain,11,0] -F[ToolTip.font:FS:Dialog,Dialog.plain,11,0] -F[Button.font:FS:Dialog,Dialog.plain,11,0] diff --git a/theme/.idp_scheme/123/.ui_gradients b/theme/.idp_scheme/123/.ui_gradients deleted file mode 100644 index e69de29..0000000 diff --git a/theme/editor.zip b/theme/editor.zip new file mode 100644 index 0000000..0554ea6 Binary files /dev/null and b/theme/editor.zip differ diff --git a/theme/theme.zip b/theme/theme.zip deleted file mode 100644 index 99ce61b..0000000 Binary files a/theme/theme.zip and /dev/null differ diff --git a/update/org-idp-laf-1.2.0.nbm b/update/org-idp-laf-1.2.0.nbm new file mode 100644 index 0000000..5b562bf Binary files /dev/null and b/update/org-idp-laf-1.2.0.nbm differ diff --git a/update/updates.xml b/update/updates.xml index 97d7c52..f0b0997 100644 --- a/update/updates.xml +++ b/update/updates.xml @@ -5,8 +5,8 @@ - - + +