Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.59 KB | None | 0 0
  1. (setq dsf/screen-one (lambda nil                                    
  2.   (block nil
  3.     (dsf/screen 'one "Screen One")
  4.     (dsf/action 'switch "Switch to Two" 'S (lambda nil (dsf/show-screen 'two)))
  5.     (dsf/default-action 'switch)
  6.     (dsf/action 'exit "Exit" 'E (lambda nil (dsf/exit)))
  7.     (dsf/cancel-action 'exit)
  8.  
  9.     (dsf/screen 'two "Screen Two")
  10.     (dsf/action 'switch "Switch to One" 'S (lambda nil (dsf/show-screen 'one)))
  11.     (dsf/default-action 'switch)
  12.     (dsf/action 'exit "Exit" 'E (lambda nil (dsf/exit))
  13.     (dsf/cancel-action 'exit)
  14.  
  15.     (dsf/show-screen 'one)
  16.   )
  17. ))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement