OSDN Git Service

avfilterオプション入力欄が表示から漏れていたので追加
authoryukihane <yukihane.feather@gmail.com>
Tue, 2 Aug 2011 07:40:50 +0000 (16:40 +0900)
committeryukihane <yukihane.feather@gmail.com>
Tue, 2 Aug 2011 07:40:50 +0000 (16:40 +0900)
frontend/src/saccubus/MainFrame.java

index 989ad55..9e2958e 100644 (file)
@@ -447,13 +447,18 @@ public class MainFrame extends JFrame {
                         .addComponent(extOptionLabel)
                         .addComponent(mainOptionLabel)
                         .addComponent(inputOptionLabel)
                         .addComponent(extOptionLabel)
                         .addComponent(mainOptionLabel)
                         .addComponent(inputOptionLabel)
-                        .addComponent(outputOptionLabel))
+                        .addComponent(outputOptionLabel)
+                        .addComponent(avfilterOptionLabel)
+                    )
                     .addPreferredGap(ComponentPlacement.RELATED)
                     .addGroup(layout.createParallelGroup()
                         .addComponent(extOptionField)
                         .addComponent(mainOptionField)
                         .addComponent(inputOptionField)
                     .addPreferredGap(ComponentPlacement.RELATED)
                     .addGroup(layout.createParallelGroup()
                         .addComponent(extOptionField)
                         .addComponent(mainOptionField)
                         .addComponent(inputOptionField)
-                        .addComponent(outputOptionField)))
+                        .addComponent(outputOptionField)
+                        .addComponent(avfilterOptionField)
+                    )
+                )
                 .addGroup(layout.createParallelGroup()
                     .addGroup(layout.createSequentialGroup()
                         .addComponent(resizeCheckBox)
                 .addGroup(layout.createParallelGroup()
                     .addGroup(layout.createSequentialGroup()
                         .addComponent(resizeCheckBox)
@@ -464,39 +469,44 @@ public class MainFrame extends JFrame {
                         .addPreferredGap(ComponentPlacement.UNRELATED)
                         .addComponent(resizeHeightLabel)
                         .addPreferredGap(ComponentPlacement.RELATED)
                         .addPreferredGap(ComponentPlacement.UNRELATED)
                         .addComponent(resizeHeightLabel)
                         .addPreferredGap(ComponentPlacement.RELATED)
-                        .addComponent(resizeHeigitField)))
-                    .addGroup(layout.createSequentialGroup()
-                        .addGap(10)
-                        .addComponent(adjustRatioCheckBox))
-                    .addGroup(layout.createSequentialGroup()
-                        .addGap(20)
+                        .addComponent(resizeHeigitField)
                     )
                     )
-                );
+                )
+                .addGroup(layout.createSequentialGroup()
+                    .addGap(10)
+                    .addComponent(adjustRatioCheckBox))
+                .addGroup(layout.createSequentialGroup()
+                    .addGap(20)
+                )
+            );
 
         layout.setVerticalGroup(layout.createSequentialGroup()
 
         layout.setVerticalGroup(layout.createSequentialGroup()
-                .addComponent(getFFmpegOptionComboBoxPanel())
-                .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
-                    .addComponent(extOptionLabel)
-                    .addComponent(extOptionField))
+            .addComponent(getFFmpegOptionComboBoxPanel())
+            .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
+                .addComponent(extOptionLabel)
+                .addComponent(extOptionField))
+            .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
+                .addComponent(mainOptionLabel)
+                .addComponent(mainOptionField))
+            .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
+                .addComponent(inputOptionLabel)
+                .addComponent(inputOptionField))
+            .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
+                .addComponent(outputOptionLabel)
+                .addComponent(outputOptionField))
+            .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
+                .addComponent(avfilterOptionLabel)
+                .addComponent(avfilterOptionField))
+            .addGroup(layout.createSequentialGroup()
                 .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                 .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
-                    .addComponent(mainOptionLabel)
-                    .addComponent(mainOptionField))
-                .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
-                    .addComponent(inputOptionLabel)
-                    .addComponent(inputOptionField))
-                .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
-                    .addComponent(outputOptionLabel)
-                    .addComponent(outputOptionField))
-                .addGroup(layout.createSequentialGroup()
-                    .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
-                        .addComponent(resizeCheckBox)
-                        .addComponent(resizeWidthLabel)
-                        .addComponent(resizeWidthField)
-                        .addComponent(resizeHeightLabel)
-                        .addComponent(resizeHeigitField))
-                    .addComponent(adjustRatioCheckBox)
-                    )
-                );
+                    .addComponent(resizeCheckBox)
+                    .addComponent(resizeWidthLabel)
+                    .addComponent(resizeWidthField)
+                    .addComponent(resizeHeightLabel)
+                    .addComponent(resizeHeigitField))
+                .addComponent(adjustRatioCheckBox)
+                )
+            );
 
         resizeCheckBox.addActionListener(ffmpegOptionCheckBoxListener);
         adjustRatioCheckBox.addActionListener(ffmpegOptionCheckBoxListener);
 
         resizeCheckBox.addActionListener(ffmpegOptionCheckBoxListener);
         adjustRatioCheckBox.addActionListener(ffmpegOptionCheckBoxListener);