diff options
Diffstat (limited to 'lib/simulator.py')
| -rw-r--r-- | lib/simulator.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/simulator.py b/lib/simulator.py index d1db35e4..7789ec91 100644 --- a/lib/simulator.py +++ b/lib/simulator.py @@ -38,6 +38,10 @@ class ControlPanel(wx.Panel): self.btnMinus.Bind(wx.EVT_BUTTON, self.animation_slow_down) self.btnPlus = wx.Button(self, -1, label='+') self.btnPlus.Bind(wx.EVT_BUTTON, self.animation_speed_up) + self.btnBackwardStitch = wx.Button(self, -1, label='<|') + self.btnBackwardStitch.Bind(wx.EVT_BUTTON, self.animation_one_stitch_backward) + self.btnForwardStitch = wx.Button(self, -1, label='|>') + self.btnForwardStitch.Bind(wx.EVT_BUTTON, self.animation_one_stitch_forward) self.direction = wx.Button(self, -1, label='>>') self.direction.Bind(wx.EVT_BUTTON, self.on_direction_button) self.pauseBtn = wx.Button(self, -1, label='Pause') @@ -67,6 +71,8 @@ class ControlPanel(wx.Panel): hbSizer2.AddStretchSpacer(prop=1) hbSizer2.Add(self.btnMinus, 0, wx.ALL, 2) hbSizer2.Add(self.btnPlus, 0, wx.ALL, 2) + hbSizer2.Add(self.btnBackwardStitch, 0, wx.ALL, 2) + hbSizer2.Add(self.btnForwardStitch, 0, wx.ALL, 2) hbSizer2.Add(self.direction, 0, wx.EXPAND | wx.ALL, 2) hbSizer2.Add(self.pauseBtn, 0, wx.EXPAND | wx.ALL, 2) hbSizer2.Add(self.restartBtn, 0, wx.EXPAND | wx.ALL, 2) |
