Code cleanup for GUI code.

This commit is contained in:
Cas Cremers 2008-08-27 10:02:20 +02:00
parent 8471f13da3
commit 63471c5053
6 changed files with 13 additions and 8 deletions

View File

@ -23,7 +23,6 @@
""" Import externals """ """ Import externals """
import wx import wx
import time
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
@ -308,5 +307,5 @@ class AttackWindow(wx.Frame):
self.update(True) self.update(True)
self.Refresh() self.Refresh()
#---------------------------------------------------------------------------
# vim: set ts=4 sw=4 et list lcs=tab\:>-:

View File

@ -43,3 +43,5 @@ def ScytherIcon(window):
window.SetIcon(icon) window.SetIcon(icon)
#---------------------------------------------------------------------------
# vim: set ts=4 sw=4 et list lcs=tab\:>-:

View File

@ -315,4 +315,4 @@ class MainWindow(wx.Frame):
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# vim: set ts=4 sw=4 et list lcs=tab\:>-:

View File

@ -25,9 +25,6 @@
import wx import wx
import os import os
import sys import sys
import re
import threading
import StringIO
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
@ -171,3 +168,5 @@ def testImage():
(filename,filetype) = makeImageDot(dotdata) (filename,filetype) = makeImageDot(dotdata)
testimage = Image.open(filename) testimage = Image.open(filename)
#---------------------------------------------------------------------------
# vim: set ts=4 sw=4 et list lcs=tab\:>-:

View File

@ -224,4 +224,5 @@ def save():
prefs.save() prefs.save()
#---------------------------------------------------------------------------
# vim: set ts=4 sw=4 et list lcs=tab\:>-:

View File

@ -58,3 +58,7 @@ def tempcleanearly(tuple):
tempremove(tuple) tempremove(tuple)
atexit.register(cleanupshop) atexit.register(cleanupshop)
#---------------------------------------------------------------------------
# vim: set ts=4 sw=4 et list lcs=tab\:>-: