Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.52 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 '(dsf/screen-two))
  5.     (dsf/default-action 'switch)
  6.     (dsf/action 'exit "Exit" 'E (lambda nil (dsf/exit)))
  7.     (dsf/cancel-action 'exit)
  8.     (dsf/show-screen)
  9.   )
  10. ))
  11.  
  12. (setq dsf/screen-two (lambda nil
  13.   (block nil
  14.     (dsf/screen 'two "Screen Two")
  15.     (dsf/action 'switch "Switch to One" 'S '(dsf/screen-one))
  16.     ;; etc...
  17.     (dsf/show-screen)
  18.   )
  19. ))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement