Other UI changes
This commit is contained in:
parent
00f562a90d
commit
d84adeb6ee
11
settings.xml
11
settings.xml
|
@ -1,13 +1,12 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!DOCTYPE settings SYSTEM "settings.dtd">
|
||||
<settings>
|
||||
<property key="locale" value="en_US"/>
|
||||
<property key="viewStatusBar" value="true"/>
|
||||
<property key="viewToolBar" value="true"/>
|
||||
<property key="maxRecentFiles" value="10"/>
|
||||
<property key="MenuBG" value="#1b2224"/>
|
||||
<property key="WindowBG" value="#141a1b"/>
|
||||
<property key="AsideBG" value="#1b2224"/>
|
||||
<property key="FrameBG" value="#222b2e"/>
|
||||
<property key="DarkIcons" value="false"/>
|
||||
<property key="MenuBG" value="#f0f0f0"/>
|
||||
<property key="WindowBG" value="#d2d2d2"/>
|
||||
<property key="AsideBG" value="#f0f0f0"/>
|
||||
<property key="FrameBG" value="#b5b5b5"/>
|
||||
<property key="DarkIcons" value="true"/>
|
||||
</settings>
|
||||
|
|
|
@ -781,6 +781,7 @@ public class TMUI extends JFrame {
|
|||
**/
|
||||
|
||||
public void loadSettings() {
|
||||
boolean loadedLocale = false;
|
||||
Document doc = null;
|
||||
try {
|
||||
doc = XMLParser.parse(settingsFile);
|
||||
|
@ -808,6 +809,7 @@ public class TMUI extends JFrame {
|
|||
String language = st.nextToken();
|
||||
String country = st.nextToken();
|
||||
locale = new Locale(language, country);
|
||||
loadedLocale = true;
|
||||
}
|
||||
if (key.equals("viewStatusBar")) {
|
||||
viewStatusBar = value.equals("true");
|
||||
|
@ -842,8 +844,8 @@ public class TMUI extends JFrame {
|
|||
else if (key.equals("DarkIcons")) {
|
||||
DarkIcons = value.equals("true");
|
||||
}
|
||||
|
||||
}
|
||||
if(!loadedLocale) selectLanguage();
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -192,6 +192,9 @@
|
|||
<filefilter extensions="nds" tileformat="LN06" mode="2D">
|
||||
<description>Nintendo DS (*.nds)</description>
|
||||
</filefilter>
|
||||
<filefilter extensions="sch,cgx,bak" tileformat="CP02" mode="1D">
|
||||
<description>Character File (*.sch, *.cgx)</description>
|
||||
</filefilter>
|
||||
|
||||
</filefilters>
|
||||
|
||||
|
@ -217,10 +220,11 @@
|
|||
<description>Tile Layer Pro palette (*.tpl)</description>
|
||||
</palettefilter>
|
||||
|
||||
<palettefilter extensions="pal" colorformat="RIFF" size="256" offset="24" endianness="big">
|
||||
<description>Windows Palette (*.pal)</description>
|
||||
<palettefilter extensions="col,pal,bak" colorformat="CF00" size="256" offset="0">
|
||||
<description>Raw palette file (*.col,*.pal)</description>
|
||||
</palettefilter>
|
||||
|
||||
|
||||
</palettefilters>
|
||||
|
||||
<filelisteners>
|
||||
|
|
Loading…
Reference in a new issue