-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correcciones de funcionamiento, soporte para mas controles, mas colores
- Loading branch information
1 parent
804cb7c
commit 9746e6d
Showing
106 changed files
with
1,020 additions
and
164 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+75 Bytes
(100%)
build/classes/icm/sphynx/ui/components/metro/UIButton.class
Binary file not shown.
Binary file modified
BIN
+275 Bytes
(110%)
build/classes/icm/sphynx/ui/components/metro/UICheckBox.class
Binary file not shown.
Binary file modified
BIN
+2.77 KB
(470%)
build/classes/icm/sphynx/ui/components/metro/UIComboBox.class
Binary file not shown.
Binary file modified
BIN
-377 Bytes
(78%)
build/classes/icm/sphynx/ui/components/metro/UILabel.class
Binary file not shown.
Binary file modified
BIN
+233 Bytes
(110%)
build/classes/icm/sphynx/ui/components/metro/UIList.class
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/classes/icm/sphynx/ui/components/metro/UIOptionPane$1.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/classes/icm/sphynx/ui/components/metro/UIOptionPane$2.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/classes/icm/sphynx/ui/components/metro/UIOptionPane$3.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/classes/icm/sphynx/ui/components/metro/UIOptionPane$4.class
Binary file not shown.
Binary file modified
BIN
+419 Bytes
(120%)
build/classes/icm/sphynx/ui/components/metro/UIOptionPane.class
Binary file not shown.
Binary file modified
BIN
+653 Bytes
(190%)
build/classes/icm/sphynx/ui/components/metro/UIPanel.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/classes/icm/sphynx/ui/components/metro/UIPasswordField$1.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/classes/icm/sphynx/ui/components/metro/UIPasswordField$2.class
Binary file not shown.
Binary file modified
BIN
+150 Bytes
(100%)
build/classes/icm/sphynx/ui/components/metro/UIPasswordField.class
Binary file not shown.
Binary file modified
BIN
+880 Bytes
(270%)
build/classes/icm/sphynx/ui/components/metro/UIProgressBar.class
Binary file not shown.
Binary file modified
BIN
+249 Bytes
(110%)
build/classes/icm/sphynx/ui/components/metro/UIRadioButton.class
Binary file not shown.
Binary file modified
BIN
+182 Bytes
(100%)
build/classes/icm/sphynx/ui/components/metro/UIScrollBar.class
Binary file not shown.
Binary file modified
BIN
+217 Bytes
(110%)
build/classes/icm/sphynx/ui/components/metro/UISlider.class
Binary file not shown.
Binary file modified
BIN
+288 Bytes
(110%)
build/classes/icm/sphynx/ui/components/metro/UITabbedPane.class
Binary file not shown.
Binary file modified
BIN
+378 Bytes
(130%)
build/classes/icm/sphynx/ui/components/metro/UITable.class
Binary file not shown.
Binary file modified
BIN
+1.14 KB
(220%)
build/classes/icm/sphynx/ui/components/metro/UITableHeader.class
Binary file not shown.
Binary file modified
BIN
+439 Bytes
(120%)
build/classes/icm/sphynx/ui/components/metro/UITextArea.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/classes/icm/sphynx/ui/components/metro/UITextField$1.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/classes/icm/sphynx/ui/components/metro/UITextField$2.class
Binary file not shown.
Binary file modified
BIN
+137 Bytes
(100%)
build/classes/icm/sphynx/ui/components/metro/UITextField.class
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.91 KB
build/classes/icm/sphynx/ui/components/metro/icons/computer_color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+391 Bytes
build/classes/icm/sphynx/ui/components/metro/icons/directory2_color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.4 KB
build/classes/icm/sphynx/ui/components/metro/icons/directory_color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+423 Bytes
build/classes/icm/sphynx/ui/components/metro/icons/floppy_drive_color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.99 KB
build/classes/icm/sphynx/ui/components/metro/icons/hard_drive_color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+451 Bytes
build/classes/icm/sphynx/ui/components/metro/icons/new_folder_black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+464 Bytes
build/classes/icm/sphynx/ui/components/metro/icons/new_folder_white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+212 Bytes
build/classes/icm/sphynx/ui/components/metro/icons/up_folder_black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+216 Bytes
build/classes/icm/sphynx/ui/components/metro/icons/up_folder_white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+37 Bytes
(100%)
build/classes/icm/sphynx/ui/tools/ToolsCellRendererTable.class
Binary file not shown.
Binary file modified
BIN
+37 Bytes
(100%)
build/classes/icm/sphynx/ui/tools/ToolsHeaderCellRendererTable.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
src/icm/sphynx/ui/components/metro/MetroUIConfigTheme.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
package icm.sphynx.ui.components.metro; | ||
|
||
import icm.sphynx.styles.MetroUI; | ||
import icm.sphynx.ui.tools.StyleColors; | ||
import java.awt.Color; | ||
import javax.swing.UIManager; | ||
|
||
/** | ||
* | ||
* @author israel-icm | ||
*/ | ||
public class MetroUIConfigTheme { | ||
public static void setPrimaryColor(String colorHex) { | ||
setPrimaryColor(colorHex, false); | ||
} | ||
public static void setPrimaryColor(String colorHex, boolean refresh) { | ||
UIManager.put("MetroUI.primaryColor", Color.decode(colorHex)); | ||
setSecondColor(colorHex); | ||
} | ||
|
||
private static void setSecondColor(String colorHex) { | ||
UIManager.put("MetroUI.secondColor", Color.decode(UITools.getSecondColor(colorHex))); | ||
} | ||
|
||
public static void setDarkMode(boolean dark) { | ||
UIManager.put("MetroUI.darkMode", dark); | ||
} | ||
|
||
public static Color getPrimaryColor() { | ||
return UIManager.getColor("MetroUI.primaryColor"); | ||
} | ||
|
||
public static Color getSecondColor() { | ||
return UIManager.getColor("MetroUI.secondColor"); | ||
} | ||
|
||
public static boolean getDarkMode() { | ||
return UIManager.getBoolean("MetroUI.darkMode"); | ||
} | ||
} |
Oops, something went wrong.