/traderous

To get this branch, use:
bzr branch http://9ix.org/bzr/traderous

« back to all changes in this revision

Viewing changes to pause_view.lua

  • Committer: Josh C
  • Date: 2013-07-01 00:35:05 UTC
  • Revision ID: josh@9ix.org-20130701003505-nfdvnalobuuasfmb
exclude xcfs from packaging

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
                    height = buttonHeight,
55
55
                 },
56
56
                 onMouseUp = function()
57
 
                                  self:close()
 
57
                                self:close()
58
58
                               end
59
59
              }
60
60
 
75
75
                    width = buttonWidth,
76
76
                    height = buttonHeight,
77
77
                 },
78
 
                 onMouseDown = function()
79
 
                                  self:close()
80
 
                                  print('hi')
81
 
                                  the.app.view = GameView:new()
82
 
                               end
 
78
                 onMouseUp = function()
 
79
                                self:close()
 
80
                                the.app.view = GameView:new{newWorld = true}
 
81
                             end
83
82
              }
84
83
 
85
84
              self:add(b)
99
98
                    width = buttonWidth,
100
99
                    height = buttonHeight,
101
100
                 },
102
 
                 onMouseDown = function()
103
 
                                  the.app:quit()
104
 
                               end
 
101
                 onMouseUp = function()
 
102
                                the.app:quit()
 
103
                             end
105
104
              }
106
105
 
107
106
              self:add(b)