mirror of
https://github.com/clockworkpi/launcher_deot.git
synced 2025-12-12 23:48:52 +01:00
Update page.py (Sync Ver.200626)
This commit is contained in:
parent
a6c29018b1
commit
80d13e7a55
@ -21,6 +21,7 @@ from util_funcs import midRect,FileExists
|
||||
from keys_def import CurKeys, IsKeyStartOrA, IsKeyMenuOrB
|
||||
from icon_pool import MyIconPool
|
||||
from lang_manager import MyLangManager
|
||||
from skin_manager import MySkinManager
|
||||
from widget import Widget
|
||||
import config
|
||||
|
||||
@ -668,8 +669,21 @@ class Page(Widget):
|
||||
self._Screen.Draw()
|
||||
self._Screen.SwapAndShow()
|
||||
|
||||
##for gcores
|
||||
def DrawCross(self,topleft,top):
|
||||
start_x = topleft
|
||||
start_y = top
|
||||
width = 2
|
||||
height = 10
|
||||
padding = 4
|
||||
|
||||
rect1 = pygame.Rect(start_x+padding,start_y,width,height)
|
||||
rect2 = pygame.Rect(start_x,start_y+padding,height,width)
|
||||
|
||||
pygame.draw.rect(self._CanvasHWND,MySkinManager.GiveColor('Text'),rect1, 0)
|
||||
pygame.draw.rect(self._CanvasHWND,MySkinManager.GiveColor('Text'),rect2, 0)
|
||||
|
||||
def Draw(self):
|
||||
self.ClearCanvas()
|
||||
self.DrawIcons()
|
||||
self.DrawPageSelector()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user