comparison orpg/mapper/min_dialogs.py @ 71:449a8900f9ac ornery-dev

Code refining almost completed, for this round. Some included files are still in need of some clean up, but this is test worthy.
author sirebral
date Thu, 20 Aug 2009 03:00:39 -0500
parents c54768cffbd4
children 06f10429eedc
comparison
equal deleted inserted replaced
70:52a5fa913008 71:449a8900f9ac
415 self.label = wx.TextCtrl(self, MIN_LABEL, min.label) 415 self.label = wx.TextCtrl(self, MIN_LABEL, min.label)
416 sizer.Add(wx.StaticText(self, -1, "Label:"), 0, wx.EXPAND) 416 sizer.Add(wx.StaticText(self, -1, "Label:"), 0, wx.EXPAND)
417 sizer.Add(self.label, 0, wx.EXPAND) 417 sizer.Add(self.label, 0, wx.EXPAND)
418 sizer.Add(wx.Size(10,10)) 418 sizer.Add(wx.Size(10,10))
419 self.heading = wx.RadioBox(self, MIN_HEADING, "Heading", 419 self.heading = wx.RadioBox(self, MIN_HEADING, "Heading",
420 choices=["None","N","NE","E","SE","S","SW","W","NW"],majorDimension=5,style=wx.RA_SPECIFY_COLS) 420 choices=["None","N","NE",
421 "E","SE","S",
422 "SW","W","NW"],majorDimension=5,style=wx.RA_SPECIFY_COLS)
421 self.heading.SetSelection(min.heading) 423 self.heading.SetSelection(min.heading)
422 self.face = wx.RadioBox(self, MIN_FACE, "Facing", 424 self.face = wx.RadioBox(self, MIN_FACE, "Facing",
423 choices=["None","N","NE","E","SE","S","SW","W","NW"],majorDimension=5,style=wx.RA_SPECIFY_COLS) 425 choices=["None","N","NE",
426 "E","SE","S",
427 "SW","W","NW"],majorDimension=5,style=wx.RA_SPECIFY_COLS)
424 self.face.SetSelection(min.face) 428 self.face.SetSelection(min.face)
425 self.locked = wx.CheckBox(self, MIN_LOCK, " Lock") 429 self.locked = wx.CheckBox(self, MIN_LOCK, " Lock")
426 self.locked.SetValue(min.locked) 430 self.locked.SetValue(min.locked)
427 self.hide = wx.CheckBox(self, MIN_HIDE, " Hide") 431 self.hide = wx.CheckBox(self, MIN_HIDE, " Hide")
428 self.hide.SetValue(min.hide) 432 self.hide.SetValue(min.hide)