OSDN Git Service

change skill2 table to wx.Grid and implement auto column size of Grid
[amulettoolsmh4/main.git] / view / constnumbers.py
index 4c90997..b931ce5 100644 (file)
@@ -8,10 +8,18 @@ NAME_AMULET1 = u"光るお守り"
 NAME_AMULET2 = u"古びたお守り"
 NAME_AMULET3 = u"歪んだお守り"
 NAME_THRESHOLD1 = u"判定値1"
+NAME_THRESHOLD2 = u"判定値2"
 KEY_AMULET1 = u"amulet1"
 KEY_AMULET2 = u"amulet2"
 KEY_AMULET3 = u"amulet3"
 KEY_THRESHOLD1 = u"threshold1"
+KEY_THRESHOLD2 = u"threshold2"
+
+DICT_SKILL2_GRID_COL = {KEY_AMULET1:0, KEY_AMULET2:1, KEY_AMULET3:2, KEY_THRESHOLD1:3, KEY_THRESHOLD2:4}
+
+NUM_SKILL2_GRID_COL = 5
+NUM_SKILL2_GRID_ROW = 7
+LABEL_FORMAT_SKILL2_GRID_ROW = u"{0}枠目"
 
 VAL_NO_SKILL = u"なし"
 
@@ -24,6 +32,9 @@ SLOT_MAX = 3
 HIGHLIGHT_THRESHOLD1 = 90
 THRESHOLD1_MIN = 0
 THRESHOLD1_MAX = 100
+HIGHLIGHT_THRESHOLD2 = 90
+THRESHOLD2_MIN = 0
+THRESHOLD2_MAX = 100
 
 # xrc file
 XRC_GAUGE_DIALOG = u"gaugedialog.xrc"