Commit eaaa56a3 authored by Kliment's avatar Kliment

Fix window title text

parent 679b1193
......@@ -2,7 +2,7 @@ import wx,time
class window(wx.Frame):
def __init__(self,f,size=(600,600),bedsize=(200,200)):
wx.Frame.__init__(self,None,title="Layer view (Use arrow keys to switch layers)",size=(size[0],size[1]))
wx.Frame.__init__(self,None,title="Layer view (Use shift+mousewheel to switch layers)",size=(size[0],size[1]))
self.p=gviz(self,size=size,bedsize=bedsize)
s=time.time()
for i in f:
......@@ -209,8 +209,8 @@ class gviz(wx.Panel):
if __name__ == '__main__':
app = wx.App(False)
main = window(open("/home/kliment/designs/spinner/arm_export.gcode"))
#main = window(open("jam.gcode"))
#main = window(open("/home/kliment/designs/spinner/arm_export.gcode"))
main = window(open("jam.gcode"))
main.Show()
app.MainLoop()
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