OSDN Git Service

影の種類設定のセーブ/ロード
authoryukihane <yukihane.feather@gmail.com>
Thu, 25 Aug 2011 08:51:36 +0000 (17:51 +0900)
committeryukihane <yukihane.feather@gmail.com>
Thu, 25 Aug 2011 08:51:36 +0000 (17:51 +0900)
frontend/src/yukihane/inqubus/Config.java
frontend/src/yukihane/inqubus/gui/ConfigDialog.java

index 570b206..f5b91e0 100644 (file)
@@ -280,7 +280,7 @@ public enum Config {
         return config.getInt(COMMENT_FONT_SHADOW, 1);
     }
 
-    public void setFontIndex(int s) {
+    public void setFontShadow(int s) {
         config.setProperty(COMMENT_FONT_SHADOW, s);
     }
     private static final String COMMENT_FONT_SIZING_DISABLE = "comment.font_no_sizing";
index cf8e9f9..e2f7838 100644 (file)
@@ -1353,7 +1353,7 @@ public class ConfigDialog extends JDialog {
          */
         p.setFontPath(fldFontPath.getText());
         p.setFontIndex(fldFontIndex.getText());
-        // TODO 影の種類はコンボボックス
+        p.setFontShadow(cmbFontShadow.getSelectedIndex());
         p.setFontSizeArrangeDisable(cbFontSizeArrangeDisable.isSelected());
         p.setCommentOpaque(cbCommentOpaque.isSelected());