text revision

This commit is contained in:
cuu 2019-06-27 16:33:18 +08:00
parent e381ae7172
commit 49b7d049a9
7 changed files with 10 additions and 10 deletions

View File

@ -130,7 +130,7 @@ type GPUDriverPage struct {
func NewGPUDriverPage() *GPUDriverPage { func NewGPUDriverPage() *GPUDriverPage {
p := &GPUDriverPage{} p := &GPUDriverPage{}
p.ListFont = UI.Fonts["notosanscjk15"] p.ListFont = UI.Fonts["notosanscjk12"]
p.FootMsg = [5]string{"Nav","","","Back","Select"} p.FootMsg = [5]string{"Nav","","","Back","Select"}
p.BGwidth = UI.Width p.BGwidth = UI.Width
@ -149,8 +149,8 @@ func (self *GPUDriverPage) GenList() {
start_y := 0 start_y := 0
last_height := 0 last_height := 0
var drivers = [][2]string{[2]string{"fbturbo","Fbturbo"}, var drivers = [][2]string{[2]string{"fbturbo","FBTURBO driver (Software Rendering)"},
[2]string{"modesetting","Lima"}} [2]string{"modesetting","LIMA driver (Experimental Hardware Rendering)"}}
for _,u := range drivers { for _,u := range drivers {

View File

@ -23,7 +23,7 @@ type LimaPlugin struct {
func (self *LimaPlugin) Init( main_screen *UI.MainScreen ) { func (self *LimaPlugin) Init( main_screen *UI.MainScreen ) {
self.GPUDriverPage = NewGPUDriverPage() self.GPUDriverPage = NewGPUDriverPage()
self.GPUDriverPage.SetScreen( main_screen) self.GPUDriverPage.SetScreen( main_screen)
self.GPUDriverPage.SetName("GPU driver switch") self.GPUDriverPage.SetName("GPU Driver Switch")
self.GPUDriverPage.Init() self.GPUDriverPage.Init()
} }

View File

@ -113,12 +113,12 @@ func (self *SettingsPage) GenList() []*UI.UIPlugin {
&UI.UIPlugin{UI.PluginPackage,"", "TimeZone", "Timezone", &TimeZone.APIOBJ}, &UI.UIPlugin{UI.PluginPackage,"", "TimeZone", "Timezone", &TimeZone.APIOBJ},
&UI.UIPlugin{UI.PluginPackage,"", "Languages", "Languages", &Languages.APIOBJ}, &UI.UIPlugin{UI.PluginPackage,"", "Languages", "Languages", &Languages.APIOBJ},
&UI.UIPlugin{UI.PluginPackage,"", "Update", "Update", &Update.APIOBJ}, &UI.UIPlugin{UI.PluginPackage,"", "Update", "Update LauncherGo", &Update.APIOBJ},
&UI.UIPlugin{UI.PluginPackage,"", "About", "About", &About.APIOBJ}, &UI.UIPlugin{UI.PluginPackage,"", "About", "About", &About.APIOBJ},
&UI.UIPlugin{UI.PluginPackage,"", "PowerOFF", "Power off", &PowerOFF.APIOBJ}, &UI.UIPlugin{UI.PluginPackage,"", "PowerOFF", "Power off", &PowerOFF.APIOBJ},
&UI.UIPlugin{UI.PluginPackage,"", "ButtonsLayout", "Buttons Layout", &ButtonsLayout.APIOBJ}, &UI.UIPlugin{UI.PluginPackage,"", "ButtonsLayout", "Buttons Layout", &ButtonsLayout.APIOBJ},
&UI.UIPlugin{UI.PluginPackage,"", "LauncherPy", "Switch to Launcher", &LauncherPy.APIOBJ}, &UI.UIPlugin{UI.PluginPackage,"", "LauncherPy", "Switch to Launcher", &LauncherPy.APIOBJ},
&UI.UIPlugin{UI.PluginPackage,"", "Lima", "GPU driver switch", &Lima.APIOBJ}, &UI.UIPlugin{UI.PluginPackage,"", "Lima", "GPU Driver Switch", &Lima.APIOBJ},
&UI.UIPlugin{UI.PluginPackage,"", "GateWay", "Network gateway switch", &GateWay.APIOBJ}, &UI.UIPlugin{UI.PluginPackage,"", "GateWay", "Network gateway switch", &GateWay.APIOBJ},
} }

View File

@ -27,7 +27,7 @@ type SoundPlugin struct {
func (self *SoundPlugin) Init( main_screen *UI.MainScreen ) { func (self *SoundPlugin) Init( main_screen *UI.MainScreen ) {
self.SoundPage = NewSoundPage() self.SoundPage = NewSoundPage()
self.SoundPage.SetScreen( main_screen) self.SoundPage.SetScreen( main_screen)
self.SoundPage.SetName("Sound volume") self.SoundPage.SetName("Sound Volume")
self.SoundPage.Init() self.SoundPage.Init()
} }

View File

@ -12,7 +12,7 @@ type UpdatePlugin struct {
func (self *UpdatePlugin) Init( main_screen *UI.MainScreen ) { func (self *UpdatePlugin) Init( main_screen *UI.MainScreen ) {
self.Page = NewUpdatePage() self.Page = NewUpdatePage()
self.Page.SetScreen( main_screen) self.Page.SetScreen( main_screen)
self.Page.SetName("Update") self.Page.SetName("Update LauncherGo")
self.Page.Init() self.Page.Init()
} }

View File

@ -210,7 +210,7 @@ func (self *UpdatePage) CheckUpdate() bool {
}else { }else {
self.Screen.Draw() self.Screen.Draw()
self.Screen.MsgBox.SetText("Launcher is up to date") self.Screen.MsgBox.SetText("Launchergo is up to date")
self.Screen.MsgBox.Draw() self.Screen.MsgBox.Draw()
self.Screen.SwapAndShow() self.Screen.SwapAndShow()
time.BlockDelay(765) time.BlockDelay(765)

View File

@ -19,7 +19,7 @@ var (
VERSION="0.22" VERSION="0.22"
SKIN="skin/default/" SKIN="skin/default/" // !!!need the last slash!!!
//load from dot files //load from dot files
CurPowerLevel= "performance" CurPowerLevel= "performance"