Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7123)

Issue 67114: Fixed old way of finding types of objects to draw in Overlay.py, changed icon drawing in Systems.py.

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 11 months ago by Greywhind
Modified:
5 months, 2 weeks ago
Reviewers:
mithro
Visibility:
Public.

Description

Fixed old way of finding types of objects to draw in Overlay.py, changed icon drawing in Systems.py.

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fixed comments and whitespace. #

Total comments: 1

Patch Set 3 : Added code to differentiate universe, galaxy, and fleet drawing. #

Total comments: 5

Patch Set 4 : Added function to determine whether an object is top-level. #

Total comments: 2

Patch Set 5 : Fixed doc strings, function names, and extra parent reference. #

Total comments: 2

Patch Set 6 : Fixed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -39 lines) Patch
M extra/objectutils.py View 4 5 2 chunks +38 lines, -4 lines 0 comments Download
M windows/main/overlays/Overlay.py View 1 2 3 4 2 chunks +8 lines, -6 lines 0 comments Download
M windows/main/overlays/Path.py View 2 chunks +2 lines, -2 lines 0 comments Download
M windows/main/overlays/Systems.py View 1 2 3 4 7 chunks +52 lines, -27 lines 0 comments Download

Messages

Total messages: 6
mithro
Just some small fixes. http://codereview.appspot.com/67114/diff/1/2 File windows/main/overlays/Overlay.py (right): http://codereview.appspot.com/67114/diff/1/2#newcode280 Line 280: if not parent.id == ...
14 years, 11 months ago (2009-05-27 04:31:27 UTC) #1
mithro
http://codereview.appspot.com/67114/diff/7/8 File windows/main/overlays/Overlay.py (right): http://codereview.appspot.com/67114/diff/7/8#newcode286 Line 286: # differentiate galaxies and fleets, here. This doesn't ...
14 years, 11 months ago (2009-05-27 05:07:36 UTC) #2
mithro
http://codereview.appspot.com/67114/diff/12/1004 File windows/main/overlays/Overlay.py (right): http://codereview.appspot.com/67114/diff/12/1004#newcode281 Line 281: I recommend create a function called "IsTopLevel" which ...
14 years, 11 months ago (2009-05-27 08:59:03 UTC) #3
Greywhind
I've made some changes in response to this, but it seems like git-cl has trouble ...
14 years, 11 months ago (2009-05-27 22:56:29 UTC) #4
mithro
http://codereview.appspot.com/67114/diff/1009/14 File extra/objectutils.py (right): http://codereview.appspot.com/67114/diff/1009/14#newcode38 Line 38: def is_top_level(cache, oid): This needs a docstring. This ...
14 years, 11 months ago (2009-05-28 01:10:30 UTC) #5
mithro
14 years, 11 months ago (2009-05-28 01:43:24 UTC) #6
LGTM

http://codereview.appspot.com/67114/diff/18/19
File extra/objectutils.py (right):

http://codereview.appspot.com/67114/diff/18/19#newcode8
Line 8: # Each tuple has the form: (x, y, z, coord name)
These comments should be part of the doc string.

http://codereview.appspot.com/67114/diff/18/19#newcode40
Line 40: # Attempt to determine whether an object is the universe or a galaxy.
This comment is not needed.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b