Changeset 86
- Timestamp:
- 26/12/07 11:49:03 (1 year ago)
- Files:
-
- trunk/README.TXT (modified) (1 diff)
- trunk/src/vlcskineditor/Main.java (modified) (3 diffs)
- trunk/src/vlcskineditor/XML.java (modified) (2 diffs)
- trunk/src/vlcskineditor/items/Slider.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/README.TXT
r77 r86 1 VLC Skin Editor release 0.6. 0a1 VLC Skin Editor release 0.6.1b 2 2 ----------------------------------------------------------- 3 3 Changelog: 4 4 ----------------------------------------------------------- 5 0.6.1b - Critical bufix for the Preview Window 6 - Bugfix for slider points parsing and XML parsing 5 7 0.6.0a - Resources/windows/layouts/items can be edited by 6 8 doubleclicking on them in the hiearchy trees trunk/src/vlcskineditor/Main.java
r85 r86 48 48 49 49 //The version identification of the current build. 50 public final String VERSION = "0. 7.0.a";50 public final String VERSION = "0.6.1.b"; 51 51 //The directory in which the VLC executable is found 52 52 String vlc_dir = ""; … … 1077 1077 if(n==0) { 1078 1078 LayoutDeletionEvent lde = new LayoutDeletionEvent(w, l, w.layouts.indexOf(l), s); 1079 pvwin.clearLayout(); 1079 pvwin.clearLayout(); 1080 1080 w.layouts.remove(l); 1081 1081 s.updateWindows(); … … 1296 1296 pvwin.setLayout(s.getWindow(selected_window),s.getWindow(selected_window).getLayout(selected_layout)); 1297 1297 s.updateItems(); 1298 } 1299 else { 1300 selected_window = null; 1301 selected_layout = null; 1302 pvwin.clearLayout(); 1303 pvwin.setVisible(false); 1304 s.updateItems(); 1305 } 1298 } 1306 1299 } 1307 1300 } trunk/src/vlcskineditor/XML.java
r17 r86 46 46 int i = 0; 47 47 try { 48 i = Integer.parseInt(getValue(line,field) );48 i = Integer.parseInt(getValue(line,field).trim()); 49 49 } 50 50 catch (Exception e) { … … 56 56 boolean b = false; 57 57 try { 58 b = Boolean.parseBoolean(getValue(line,field) );58 b = Boolean.parseBoolean(getValue(line,field).trim()); 59 59 } 60 60 catch (Exception e) { trunk/src/vlcskineditor/items/Slider.java
r83 r86 158 158 String pnt = pnts[i]; 159 159 String[] coords = pnt.split(","); 160 xpos[i] = Integer.parseInt(coords[0].replaceAll("\\(","") );161 ypos[i] = Integer.parseInt(coords[1].replaceAll("\\)","") );160 xpos[i] = Integer.parseInt(coords[0].replaceAll("\\(","").trim()); 161 ypos[i] = Integer.parseInt(coords[1].replaceAll("\\)","").trim()); 162 162 } 163 163 b = new Bezier(xpos,ypos,Bezier.kCoordsBoth);
