Skip to content

Commit

Permalink
gooi lib test.switch stage test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ttwings committed Oct 17, 2018
1 parent edc8385 commit df6e527
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion objects/CreateStage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ function CreateStage:init()
self.ui.newLabel({group = self.ui_group,text = "创建侠客",x = gw/3,y=gh/6}):center():setStyle({font=title_font}):fg({0,0,0})
self.ui.setStyle(style)
--gooi.glass()
self.ui.newPanel()
--self.panel = self.ui.newPanel({x = 500,y = 500,w = 150,h = 36,layout = "grid 4x1"})

--self.ui.newButton({text = "新的穿越",x = 500,y = 500,w = 150,h = 36})
--self.ui.newButton({text = "梦回武林",x = 500,y = 550,w = 150,h = 36})
--self.ui.newButton({text = "侠客宝典",x = 500,y = 600,w = 150,h = 36})
Expand Down
1 change: 1 addition & 0 deletions objects/MainStage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ function MainStage:init()
self.ui.desktopMode()
self.ui_group = "MainStage"
self.ui.setStyle({font = title_font})
--self.panel = self.ui.newPanel({x = gw/2,y = hg/2,w = 200,h = 120,layout = "grid 4x1"})
self.ui.newLabel({text = "武侠与江湖",x = gw/3,y=gh/6,group = self.ui_group}):fg({0,0,0}):center()
self.ui.setStyle(style)
--gooi.glass()
Expand Down

0 comments on commit df6e527

Please sign in to comment.