Permalink
Browse files

Moved images to their dir

  • Loading branch information...
1 parent 14e16a6 commit 4aa14a6703cf360a10f818b1f09f526b9970ee02 Mihai Maruseac committed Apr 10, 2011
View
@@ -11,20 +11,21 @@
N = 12
M = 8
+VOID_FILE = "img/void.png"
+EMPTY_FILE = "img/empty.png"
+ROBOT_FILE = "img/robot.png"
+ROBOT_N_FILE = "img/robot_n.png"
+ROBOT_E_FILE = "img/robot_e.png"
+ROBOT_S_FILE = "img/robot_s.png"
+ROBOT_W_FILE = "img/robot_w.png"
+
VOID = 42
-VOID_FILE = "void.png"
EMPTY = 43
-EMPTY_FILE = "empty.png"
ROBOT = 0
-ROBOT_FILE = "robot.png"
ROBOT_N = 1
-ROBOT_N_FILE = "robot_n.png"
ROBOT_E = 2
-ROBOT_E_FILE = "robot_e.png"
ROBOT_S = 3
-ROBOT_S_FILE = "robot_s.png"
ROBOT_W = 4
-ROBOT_W_FILE = "robot_w.png"
FORWARD = 42
TURN_LEFT = 43
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -49,7 +49,7 @@ def __init__(self):
self.set_size_request(800, 600)
self.set_resizable(False)
self.set_title(TITLE)
- self.set_icon_from_file('robot.png')
+ self.set_icon_from_file(ROBOT_FILE)
self.connect('delete_event', self.__on_exit)
self._build_world()
@@ -104,7 +104,7 @@ def _build_gui(self):
self._build_drawing_area(_vbox)
self._plot_window = plot.Plot()
self._plot_window.set_title(TITLE)
- self._plot_window.set_icon_from_file('robot.png')
+ self._plot_window.set_icon_from_file(ROBOT_FILE)
def _build_drawing_area(self, _vbox):
"""

0 comments on commit 4aa14a6

Please sign in to comment.