- self.panel_1 = wxPanel(self, -1)
- self.notebook_1 = wxNotebook(self.panel_1, -1, style=0)
- self.notebook_1_pane_3 = wxPanel(self.notebook_1, -1)
- self.notebook_1_pane_2 = wxPanel(self.notebook_1, -1)
- self.notebook_1_pane_1 = wxPanel(self.notebook_1, -1)
- self.label_top = wxStaticText(self.panel_1, -1, "Use the options below to change the clock;\nthe main buttons on top of each category reset to its defaults.")
- self.static_line_1 = wxStaticLine(self.panel_1, -1)
- self.button_1 = wxButton(self.notebook_1_pane_1, ide[1], "SetClockStyle")
- self.static_line_2 = wxStaticLine(self.notebook_1_pane_1, -1)
- self.button_2 = wxButton(self.notebook_1_pane_1, ide[3], "styles...")
- self.static_line_3 = wxStaticLine(self.notebook_1_pane_1, -1, style=wxLI_VERTICAL)
- self.button_3 = wxButton(self.notebook_1_pane_1, ide[2], "SetTickStyles")
- self.static_line_4 = wxStaticLine(self.notebook_1_pane_1, -1)
- self.button_4 = wxButton(self.notebook_1_pane_1, ide[4], "styles...")
- self.button_22 = wxButton(self.notebook_1_pane_1, ide[22], "minutes...")
- self.static_line_5 = wxStaticLine(self.notebook_1_pane_1, -1)
- self.button_5 = wxButton(self.notebook_1_pane_1, ide[5], "SetShadowColour")
- self.static_line_6 = wxStaticLine(self.notebook_1_pane_1, -1)
- self.button_6 = ColourSelect(self.notebook_1_pane_1, ide[6], "all...")
- self.static_line_7 = wxStaticLine(self.notebook_1_pane_1, -1, style=wxLI_VERTICAL)
- self.button_7 = wxButton(self.notebook_1_pane_1, ide[7], "SetWatchPenBrush")
- self.static_line_8 = wxStaticLine(self.notebook_1_pane_1, -1)
- self.button_8 = ColourSelect(self.notebook_1_pane_1, ide[8], "Pen colour...")
- self.button_9 = ColourSelect(self.notebook_1_pane_1, ide[9], "Brush colour...")
- self.button_10 = wxButton(self.notebook_1_pane_2, ide[10], "SetTickColours")
- self.static_line_8 = wxStaticLine(self.notebook_1_pane_2, -1)
- self.button_11 = ColourSelect(self.notebook_1_pane_2, ide[11], "hours...", colour=self.parent.tickMarkHoursPen.GetColour())
- self.button_12 = ColourSelect(self.notebook_1_pane_2, ide[12], "minutes...", colour=self.parent.tickMarkMinutesPen.GetColour())
- self.static_line_10 = wxStaticLine(self.notebook_1_pane_2, -1, style=wxLI_VERTICAL)
- self.button_13 = wxButton(self.notebook_1_pane_2, ide[13], "SetTickSizes")
- self.static_line_11 = wxStaticLine(self.notebook_1_pane_2, -1)
- self.label_1 = wxStaticText(self.notebook_1_pane_2, -1, "hours")
- self.spin_ctrl_1 = wxSpinCtrl(self.notebook_1_pane_2, ide[71], "10", min=1, max=100)
- self.label_2 = wxStaticText(self.notebook_1_pane_2, -1, "minutes")
- self.spin_ctrl_2 = wxSpinCtrl(self.notebook_1_pane_2, ide[72], "5", min=0, max=100)
- self.label_3 = wxStaticText(self.notebook_1_pane_2, -1, "offset")
- self.spin_ctrl_3 = wxSpinCtrl(self.notebook_1_pane_2, ide[73], "0", min=0, max=100)
- self.static_line_12 = wxStaticLine(self.notebook_1_pane_2, -1, style=wxLI_VERTICAL)
- self.button_14 = wxButton(self.notebook_1_pane_2, ide[14], "SetTickFonts")
- self.static_line_13 = wxStaticLine(self.notebook_1_pane_2, -1)
- self.button_15 = wxButton(self.notebook_1_pane_2, ide[15], "hours...")
- self.button_16 = wxButton(self.notebook_1_pane_2, ide[16], "minutes...")
- self.button_17 = wxButton(self.notebook_1_pane_3, ide[17], "SetHandWeights")
- self.static_line_14 = wxStaticLine(self.notebook_1_pane_3, -1)
- self.label_4 = wxStaticText(self.notebook_1_pane_3, -1, "hours")
- self.spin_ctrl_4 = wxSpinCtrl(self.notebook_1_pane_3, ide[74], "5", min=0, max=100)
- self.label_5 = wxStaticText(self.notebook_1_pane_3, -1, "minutes")
- self.spin_ctrl_5 = wxSpinCtrl(self.notebook_1_pane_3, ide[75], "3", min=0, max=100)
- self.label_6 = wxStaticText(self.notebook_1_pane_3, -1, "seconds")
- self.spin_ctrl_6 = wxSpinCtrl(self.notebook_1_pane_3, ide[76], "1", min=0, max=100)
- self.static_line_15 = wxStaticLine(self.notebook_1_pane_3, -1, style=wxLI_VERTICAL)
- self.button_18 = wxButton(self.notebook_1_pane_3, ide[18], "SetHandColours")
- self.static_line_16 = wxStaticLine(self.notebook_1_pane_3, -1)
- self.button_19 = ColourSelect(self.notebook_1_pane_3, ide[19], "hours...")
- self.button_20 = ColourSelect(self.notebook_1_pane_3, ide[20], "minutes...")
- self.button_21 = ColourSelect(self.notebook_1_pane_3, ide[21], "seconds...")
+ self.panel_1 = wx.Panel(self, -1)
+ self.notebook_1 = wx.Notebook(self.panel_1, -1, style=0)
+ self.notebook_1_pane_3 = wx.Panel(self.notebook_1, -1)
+ self.notebook_1_pane_2 = wx.Panel(self.notebook_1, -1)
+ self.notebook_1_pane_1 = wx.Panel(self.notebook_1, -1)
+ self.label_top = wx.StaticText(self.panel_1, -1, "Use the options below to change the clock;\nthe main buttons on top of each category reset to its defaults.")
+ self.static_line_1 = wx.StaticLine(self.panel_1, -1)
+ self.button_1 = wx.Button(self.notebook_1_pane_1, ide[1], "SetClockStyle")
+ self.static_line_2 = wx.StaticLine(self.notebook_1_pane_1, -1)
+ self.button_2 = wx.Button(self.notebook_1_pane_1, ide[3], "styles...")
+ self.static_line_3 = wx.StaticLine(self.notebook_1_pane_1, -1, style=wx.LI_VERTICAL)
+ self.button_3 = wx.Button(self.notebook_1_pane_1, ide[2], "SetTickStyles")
+ self.static_line_4 = wx.StaticLine(self.notebook_1_pane_1, -1)
+ self.button_4 = wx.Button(self.notebook_1_pane_1, ide[4], "styles...")
+ self.button_22 = wx.Button(self.notebook_1_pane_1, ide[22], "minutes...")
+ self.static_line_5 = wx.StaticLine(self.notebook_1_pane_1, -1)
+ self.button_5 = wx.Button(self.notebook_1_pane_1, ide[5], "SetShadowColour")
+ self.static_line_6 = wx.StaticLine(self.notebook_1_pane_1, -1)
+ self.button_6 = csel.ColourSelect(self.notebook_1_pane_1, ide[6], "all...")
+ self.static_line_7 = wx.StaticLine(self.notebook_1_pane_1, -1, style=wx.LI_VERTICAL)
+ self.button_7 = wx.Button(self.notebook_1_pane_1, ide[7], "SetWatchPenBrush")
+ self.static_line_8 = wx.StaticLine(self.notebook_1_pane_1, -1)
+ self.button_8 = csel.ColourSelect(self.notebook_1_pane_1, ide[8], "Pen colour...")
+ self.button_9 = csel.ColourSelect(self.notebook_1_pane_1, ide[9], "Brush colour...")
+ self.button_10 = wx.Button(self.notebook_1_pane_2, ide[10], "SetTickColours")
+ self.static_line_8 = wx.StaticLine(self.notebook_1_pane_2, -1)
+ self.button_11 = csel.ColourSelect(self.notebook_1_pane_2, ide[11], "hours...", colour=self.parent.tickMarkHoursPen.GetColour())
+ self.button_12 = csel.ColourSelect(self.notebook_1_pane_2, ide[12], "minutes...", colour=self.parent.tickMarkMinutesPen.GetColour())
+ self.static_line_10 = wx.StaticLine(self.notebook_1_pane_2, -1, style=wx.LI_VERTICAL)
+ self.button_13 = wx.Button(self.notebook_1_pane_2, ide[13], "SetTickSizes")
+ self.static_line_11 = wx.StaticLine(self.notebook_1_pane_2, -1)
+ self.label_1 = wx.StaticText(self.notebook_1_pane_2, -1, "hours")
+ self.spin_ctrl_1 = wx.SpinCtrl(self.notebook_1_pane_2, ide[71], "10", min=1, max=100)
+ self.label_2 = wx.StaticText(self.notebook_1_pane_2, -1, "minutes")
+ self.spin_ctrl_2 = wx.SpinCtrl(self.notebook_1_pane_2, ide[72], "5", min=0, max=100)
+ self.label_3 = wx.StaticText(self.notebook_1_pane_2, -1, "offset")
+ self.spin_ctrl_3 = wx.SpinCtrl(self.notebook_1_pane_2, ide[73], "0", min=0, max=100)
+ self.static_line_12 = wx.StaticLine(self.notebook_1_pane_2, -1, style=wx.LI_VERTICAL)
+ self.button_14 = wx.Button(self.notebook_1_pane_2, ide[14], "SetTickFonts")
+ self.static_line_13 = wx.StaticLine(self.notebook_1_pane_2, -1)
+ self.button_15 = wx.Button(self.notebook_1_pane_2, ide[15], "hours...")
+ self.button_16 = wx.Button(self.notebook_1_pane_2, ide[16], "minutes...")
+ self.button_17 = wx.Button(self.notebook_1_pane_3, ide[17], "SetHandWeights")
+ self.static_line_14 = wx.StaticLine(self.notebook_1_pane_3, -1)
+ self.label_4 = wx.StaticText(self.notebook_1_pane_3, -1, "hours")
+ self.spin_ctrl_4 = wx.SpinCtrl(self.notebook_1_pane_3, ide[74], "5", min=0, max=100)
+ self.label_5 = wx.StaticText(self.notebook_1_pane_3, -1, "minutes")
+ self.spin_ctrl_5 = wx.SpinCtrl(self.notebook_1_pane_3, ide[75], "3", min=0, max=100)
+ self.label_6 = wx.StaticText(self.notebook_1_pane_3, -1, "seconds")
+ self.spin_ctrl_6 = wx.SpinCtrl(self.notebook_1_pane_3, ide[76], "1", min=0, max=100)
+ self.static_line_15 = wx.StaticLine(self.notebook_1_pane_3, -1, style=wx.LI_VERTICAL)
+ self.button_18 = wx.Button(self.notebook_1_pane_3, ide[18], "SetHandColours")
+ self.static_line_16 = wx.StaticLine(self.notebook_1_pane_3, -1)
+ self.button_19 = csel.ColourSelect(self.notebook_1_pane_3, ide[19], "hours...")
+ self.button_20 = csel.ColourSelect(self.notebook_1_pane_3, ide[20], "minutes...")
+ self.button_21 = csel.ColourSelect(self.notebook_1_pane_3, ide[21], "seconds...")