From a1763305bb506f332fbdb16078ccc458f1da0bc8 Mon Sep 17 00:00:00 2001 From: nallath Date: Thu, 6 Feb 2014 15:01:00 +0100 Subject: [PATCH] added comments --- Cura/gui/app.py | 2 +- Cura/gui/util/previewTools.py | 2 +- Cura/gui/util/taskbar.py | 3 +++ Cura/util/version.py | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Cura/gui/app.py b/Cura/gui/app.py index b58704cf..fd5fbc04 100644 --- a/Cura/gui/app.py +++ b/Cura/gui/app.py @@ -135,7 +135,7 @@ class CuraApp(wx.App): setFullScreenCapable(self.mainWindow) -if platform.system() == "Darwin": +if platform.system() == "Darwin": #Mac magic. Dragons live here. THis sets full screen options. try: import ctypes, objc _objc = ctypes.PyDLL(objc._objc.__file__) diff --git a/Cura/gui/util/previewTools.py b/Cura/gui/util/previewTools.py index d784d1cc..db4b7e21 100644 --- a/Cura/gui/util/previewTools.py +++ b/Cura/gui/util/previewTools.py @@ -10,7 +10,7 @@ from OpenGL.GLU import * from OpenGL.GL import * from Cura.gui.util import openglHelpers - +#TODO: Rename these. Name is vague. class toolNone(object): def __init__(self, parent): self.parent = parent diff --git a/Cura/gui/util/taskbar.py b/Cura/gui/util/taskbar.py index feb95d49..9eee5963 100644 --- a/Cura/gui/util/taskbar.py +++ b/Cura/gui/util/taskbar.py @@ -1,3 +1,6 @@ +""" +Api for taskbar. Only for windows 7 or higher (filling up the icon while its progressing). +""" __copyright__ = "Copyright (C) 2013 David Braam - Released under terms of the AGPLv3 License" try: diff --git a/Cura/util/version.py b/Cura/util/version.py index 475e0c46..0a52fc2e 100644 --- a/Cura/util/version.py +++ b/Cura/util/version.py @@ -52,7 +52,7 @@ def getVersion(getGitVersion = True): version = f.readline() f.close() return version.strip() - return "?" + return "?" #No idea what the version is. TODO:Tell the user. def isDevVersion(): gitPath = os.path.abspath(os.path.join(os.path.split(os.path.abspath(__file__))[0], "../../.git")) -- 2.30.2