OSDN Git Service

rename database_ids & some variables in order to understand easily
[amulettoolsmh4/main.git] / view / mainframeview.py
index a90011c..9854315 100644 (file)
@@ -83,7 +83,7 @@ class MainFrameView():
         self.spin_ctrl_amulet_search_slot_num = xrc.XRCCTRL(self.frame, "SpinCtrlAmuletSearchSlotNumber")
         self.ID_SPIN_CTRL_AMULET_SKILL1_VAL = xrc.XRCID("SpinCtrlAmuletSearchSkill1Value")
         self.ID_SPIN_CTRL_AMULET_SKILL2_VAL = xrc.XRCID("SpinCtrlAmuletSearchSkill2Value")
-        self.spin_ctrl_highlight = xrc.XRCCTRL(self.frame, "SpinCtrlHighlightThreshold")
+        self.spin_ctrl_highlight = xrc.XRCCTRL(self.frame, "SpinCtrlHighlightThreshold1")
 
         # load custom ctrl
         panel = xrc.XRCCTRL(self.frame, "CheckListBoxPos")
@@ -168,14 +168,14 @@ class MainFrameView():
                 xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillAmulet3_5"),
                 xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillAmulet3_6"),
                 xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillAmulet3_7")]
-        self.text_ctrl_seed_skill_dict[constnumbers.KEY_THRESHOLD2] = [
-                xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillThreshold2_1"),
-                xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillThreshold2_2"),
-                xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillThreshold2_3"),
-                xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillThreshold2_4"),
-                xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillThreshold2_5"),
-                xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillThreshold2_6"),
-                xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillThreshold2_7")]
+        self.text_ctrl_seed_skill_dict[constnumbers.KEY_THRESHOLD1] = [
+                xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillThreshold1_1"),
+                xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillThreshold1_2"),
+                xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillThreshold1_3"),
+                xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillThreshold1_4"),
+                xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillThreshold1_5"),
+                xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillThreshold1_6"),
+                xrc.XRCCTRL(self.frame, "TextCtrlSeedSkillThreshold1_7")]
 
     def Show(self):
         self.frame.Show()