Changeset 85
- Timestamp:
- 25/12/07 11:26:15 (1 year ago)
- Files:
-
- trunk/src/vlcskineditor/GlobalVariables.java (modified) (3 diffs)
- trunk/src/vlcskineditor/Main.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/vlcskineditor/GlobalVariables.java
r54 r85 24 24 25 25 import java.awt.Desktop; 26 import java.awt.GridLayout; 27 import java.awt.FlowLayout; 26 import java.awt.Dimension; 28 27 import java.awt.event.*; 29 28 import java.util.*; … … 218 217 frame = new JFrame("Global variables"); 219 218 frame.setResizable(false); 220 frame.setLayout(n ew BoxLayout(frame.getContentPane(),BoxLayout.Y_AXIS));219 frame.setLayout(null); 221 220 222 JLabel desc_l = new JLabel(" These variables only affect the preview.");221 JLabel desc_l = new JLabel("<html>These variables only affect the preview.<br>They simulate the state of VLC.</html>"); 223 222 Object[] bool_values = { true, false }; 224 223 JLabel eq_l = new JLabel("equalizer.isEnabled"); … … 264 263 265 264 frame.add(desc_l); 266 JPanel panel = new JPanel(new GridLayout(0,2,5,5)); 265 desc_l.setBounds(5, 5, 305, 50); 266 JPanel panel = new JPanel(null); 267 267 panel.add(eq_l); 268 eq_l.setBounds(5, 5, 150, 25); 268 269 panel.add(eq_cb); 270 eq_cb.setBounds(160, 5, 150, 25); 269 271 panel.add(vout_l); 272 vout_l.setBounds(5, 35, 150, 25); 270 273 panel.add(vout_cb); 274 vout_cb.setBounds(160, 35, 150, 25); 271 275 panel.add(audio_l); 276 audio_l.setBounds(5, 65, 150, 25); 272 277 panel.add(audio_cb); 278 audio_cb.setBounds(160, 65, 150, 25); 273 279 panel.add(fullscreen_l); 280 fullscreen_l.setBounds(5, 95, 150, 25); 274 281 panel.add(fullscreen_cb); 282 fullscreen_cb.setBounds(160, 95, 150, 25); 275 283 panel.add(playing_l); 284 playing_l.setBounds(5, 125, 150, 25); 276 285 panel.add(playing_cb); 286 playing_cb.setBounds(160, 125, 150, 25); 277 287 panel.add(stopped_l); 288 stopped_l.setBounds(5, 155, 150, 25); 278 289 panel.add(stopped_cb); 290 stopped_cb.setBounds(160, 155, 150, 25); 279 291 panel.add(paused_l); 292 paused_l.setBounds(5, 185, 150, 25); 280 293 panel.add(paused_cb); 294 paused_cb.setBounds(160, 185, 150, 25); 281 295 panel.add(seekable_l); 296 seekable_l.setBounds(5, 215, 150, 25); 282 297 panel.add(seekable_cb); 298 seekable_cb.setBounds(160, 215, 150, 25); 283 299 panel.add(mute_l); 300 mute_l.setBounds(5, 245, 150, 25); 284 301 panel.add(mute_cb); 302 mute_cb.setBounds(160, 245, 150, 25); 285 303 panel.add(ontop_l); 304 ontop_l.setBounds(5, 275, 150, 25); 286 305 panel.add(ontop_cb); 306 ontop_cb.setBounds(160, 275, 150, 25); 287 307 panel.add(random_l); 308 random_l.setBounds(5, 305, 150, 25); 288 309 panel.add(random_cb); 310 random_cb.setBounds(160, 305, 150, 25); 289 311 panel.add(loop_l); 312 loop_l.setBounds(5, 335, 150, 25); 290 313 panel.add(loop_cb); 314 loop_cb.setBounds(160, 335, 150, 25); 291 315 panel.add(repeat_l); 316 repeat_l.setBounds(5, 365, 150, 25); 292 317 panel.add(repeat_cb); 318 repeat_cb.setBounds(160, 365, 150, 25); 293 319 panel.add(dvd_l); 320 dvd_l.setBounds(5, 395, 150, 25); 294 321 panel.add(dvd_cb); 322 dvd_cb.setBounds(160, 395, 150, 25); 295 323 panel.add(slider_l); 324 slider_l.setBounds(5, 425, 150, 30); 296 325 panel.add(slider_s); 326 slider_s.setBounds(160, 425, 150, 30); 297 327 panel.add(ok_btn); 328 ok_btn.setBounds(5, 460, 150, 25); 298 329 panel.add(help_btn); 330 help_btn.setBounds(160, 460, 150, 25); 299 331 frame.add(panel); 332 panel.setBounds(0, 55, 315, 490); 300 333 frame.pack(); 301 302 //frame.setSize(frame.getWidth()/2,frame.getHeight()+20); 334 frame.setSize(320, 570); 303 335 } 304 336 eq_cb.setSelectedItem(equalizer_isEnabled); trunk/src/vlcskineditor/Main.java
r84 r85 48 48 49 49 //The version identification of the current build. 50 public final String VERSION = "0. 6.0b";50 public final String VERSION = "0.7.0.a"; 51 51 //The directory in which the VLC executable is found 52 52 String vlc_dir = "";
