Merge pull request #16 from cuu/master

remove unused footmsg from mpd_spectrum_page
This commit is contained in:
clockworkpi 2018-06-01 14:03:28 +08:00 committed by GitHub
commit 9462b1aa55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View File

@ -135,7 +135,7 @@ class MPDSpectrumPage(Page):
_Icons = {}
_Selector=None
_FootMsg = ["Nav","","","Back","Pause"]
_FootMsg = ["Nav","","","Back",""]
_MyList = []
_ListFont = fonts["veramono12"]

View File

@ -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:

View File

@ -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))