Skip to content

Commit

Permalink
Docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
wrzwicky committed Oct 10, 2017
1 parent fb4308a commit 0e5cc74
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions fofix/core/Theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def get(value, type = str, default = None):
#since the original Frets on Fire. What glow_color allows you to do is set it so
#the glow is either the color of the fret it's over or it can be the color the image
#actually is (if the image is white then no matter what key is hit the glow will be white)

self.hitGlowColor = get("hit_glow_color", str, "frets")
if not self.hitGlowColor == "frets":
self.hitGlowColor = hexToColor(self.hitGlowColor)
Expand All @@ -207,7 +207,7 @@ def get(value, type = str, default = None):
self.flamesColor = hexToColor(self.flamesColor)

#Note Colors (this applies to frets and notes)
#default is green, red, yellow, blue, orange, purple (I don't know why there's a 6th color)
#default is green, red, yellow, blue, orange, purple (6th color is for open frets)
default_color = ["#22FF22", "#FF2222", "#FFFF22", "#3333FF", "#FF9933", "#CC22CC"]
self.noteColors = [get("fret%d_color" % i, "color", default_color[i]) for i in range(6)]
self.spNoteColor = get("fretS_color", "color", "#4CB2E5")
Expand Down Expand Up @@ -1054,7 +1054,7 @@ def renderHeader(self, scene):
pass

def renderUnselectedItem(self, scene, i, n):

from fofix.game import song

w, h = scene.geometry
Expand Down Expand Up @@ -1314,7 +1314,7 @@ def renderUnselectedItem(self, scene, i, n):
stars = 0
name = ""
notesTotal = 0

if not item.getLocked():
try:
difficulties = item.partDifficulties[scene.scorePart.id]
Expand Down Expand Up @@ -1362,7 +1362,7 @@ def renderUnselectedItem(self, scene, i, n):
font.render(text, (.92, .0413*(n+1)+.15), scale=scale, align = 2)

def renderSelectedItem(self, scene, n):

from fofix.game import song

w, h = scene.geometry
Expand Down Expand Up @@ -1711,7 +1711,7 @@ def renderSelectedItem(self, scene, n):
stars = 0
name = ""
notesTotal = 0

if not item.getLocked():
try:
difficulties = item.partDifficulties[scene.scorePart.id]
Expand Down Expand Up @@ -1759,7 +1759,7 @@ def renderSelectedItem(self, scene, n):
font.render(text, (.92, .0413*(n+1)+.15), scale=scale, align = 2)

def renderItem(self, scene, color, label):

from fofix.game import song

if not scene.itemMesh:
Expand Down Expand Up @@ -1877,7 +1877,7 @@ def renderRandom(self, scene, color, label):
glDisable(GL_NORMALIZE)

def renderAlbumArt(self, scene):

from fofix.game import song

if not scene.itemLabels:
Expand Down Expand Up @@ -2148,7 +2148,7 @@ def renderForeground(self, scene):
drawImage(scene.img_list_fg, scale = (1.0, -1.0), coord = (w/2,h/2), stretched = FULL_SCREEN)

def renderSelectedInfo(self, scene):

from fofix.game import song

if self.setlist_type == 0: #note... clean this up. this was a rush job.
Expand Down

0 comments on commit 0e5cc74

Please sign in to comment.