Commit 0dd3ce31 authored by Kliment Yanev's avatar Kliment Yanev

Made pronterface extremely compact to help it fit a tiny netbook screen

parent 594d8ede
...@@ -30,7 +30,7 @@ class Graph(BufferedCanvas): ...@@ -30,7 +30,7 @@ class Graph(BufferedCanvas):
#super(Graph, self).__init__(parent, id, pos, size, style) #super(Graph, self).__init__(parent, id, pos, size, style)
BufferedCanvas.__init__(self, parent, id) BufferedCanvas.__init__(self, parent, id)
self.SetSize(wx.Size(170, 100)) self.SetSize(wx.Size(150, 80))
self.extruder0temps = [0] self.extruder0temps = [0]
self.extruder0targettemps = [0] self.extruder0targettemps = [0]
......
...@@ -36,6 +36,10 @@ class window(wx.Frame): ...@@ -36,6 +36,10 @@ class window(wx.Frame):
#print time.time()-s #print time.time()-s
self.initpos=[0,0] self.initpos=[0,0]
self.p.Bind(wx.EVT_KEY_DOWN,self.key) self.p.Bind(wx.EVT_KEY_DOWN,self.key)
self.bu.Bind(wx.EVT_KEY_DOWN,self.key)
self.bd.Bind(wx.EVT_KEY_DOWN,self.key)
self.bi.Bind(wx.EVT_KEY_DOWN,self.key)
self.bo.Bind(wx.EVT_KEY_DOWN,self.key)
self.Bind(wx.EVT_KEY_DOWN,self.key) self.Bind(wx.EVT_KEY_DOWN,self.key)
self.p.Bind(wx.EVT_MOUSEWHEEL,self.zoom) self.p.Bind(wx.EVT_MOUSEWHEEL,self.zoom)
self.Bind(wx.EVT_MOUSEWHEEL,self.zoom) self.Bind(wx.EVT_MOUSEWHEEL,self.zoom)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment