mirror of
https://github.com/clockworkpi/launcher.git
synced 2026-03-18 18:02:46 +01:00
Merge pull request #16 from cuu/master
remove unused footmsg from mpd_spectrum_page
This commit is contained in:
@@ -135,7 +135,7 @@ class MPDSpectrumPage(Page):
|
||||
|
||||
_Icons = {}
|
||||
_Selector=None
|
||||
_FootMsg = ["Nav","","","Back","Pause"]
|
||||
_FootMsg = ["Nav","","","Back",""]
|
||||
_MyList = []
|
||||
_ListFont = fonts["veramono12"]
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ class ListItemIcon(IconItem):
|
||||
|
||||
def Draw(self):
|
||||
self._CanvasHWND.blit(self._ImgSurf,(self._PosX,self._PosY+(self._Parent._Height-self._Height)/2,self._Width,self._Height))
|
||||
|
||||
|
||||
class ListItem(object):
|
||||
_PosX = 0
|
||||
_PosY = 0
|
||||
|
||||
@@ -26,7 +26,7 @@ from UI.scroller import ListScroller
|
||||
|
||||
from rom_so_confirm_page import RomSoConfirmPage
|
||||
|
||||
from list_item import ListItem
|
||||
from UI.Emulator.list_item import ListItem
|
||||
import config
|
||||
|
||||
class RomStack:
|
||||
|
||||
@@ -51,6 +51,7 @@ class Label:
|
||||
self._CanvasHWND = _canvashwnd
|
||||
|
||||
def Draw(self):
|
||||
self._FontObj.set_bold(False) ## avoing same font tangling set_bold to others
|
||||
my_text = self._FontObj.render( self._Text,True,self._Color)
|
||||
|
||||
self._CanvasHWND.blit(my_text,(self._PosX,self._PosY,self._Width,self._Height))
|
||||
|
||||
Reference in New Issue
Block a user