comparison orpg/mapper/fog_handler.py @ 14:0b8b7e3ed78d traipse_dev

Adding fixes from OpenRPG 1.8.0 Includes GUI patch for Linux users, init2 plugin, cherrypy XML refrence Completely removes approot from the startup process and creates a software cleanup process as well.
author sirebral
date Mon, 20 Jul 2009 21:25:13 -0500
parents 4385a7d0efd1
children 78407d627cba
comparison
equal deleted inserted replaced
13:3add6bbc3a56 14:0b8b7e3ed78d
47 base_layer_handler.build_ctrls(self) 47 base_layer_handler.build_ctrls(self)
48 self.f_type_radio = {} 48 self.f_type_radio = {}
49 self.fogshow = wx.RadioButton(self, wx.ID_ANY, "Show", style=wx.RB_GROUP) 49 self.fogshow = wx.RadioButton(self, wx.ID_ANY, "Show", style=wx.RB_GROUP)
50 self.foghide = wx.RadioButton(self, wx.ID_ANY, "Hide") 50 self.foghide = wx.RadioButton(self, wx.ID_ANY, "Hide")
51 51
52 self.sizer.Add(self.foghide) 52 #self.sizer.Add(self.foghide)
53 self.sizer.Add(self.fogshow) 53 #self.sizer.Add(self.fogshow)
54
55 self.sizer.Add(self.foghide, 0, wx.ALIGN_CENTER)
56 self.sizer.Add(self.fogshow, 0, wx.ALIGN_CENTER)
57
54 self.sizer.Add(wx.Size(20,25),1) 58 self.sizer.Add(wx.Size(20,25),1)
55 59
56 60
57 def build_menu(self,label = "fog"): 61 def build_menu(self,label = "fog"):
58 base_layer_handler.build_menu(self,label) 62 base_layer_handler.build_menu(self,label)