Changeset main,41
- Timestamp:
- 11/08/2007 06:55:28 PM (19 years ago)
- branch-nick:
- tui-new
- revision id:
- dsowen@fugue88.ws-20071108185528-lwphx3dpc0341g6y
- Location:
- main
- Files:
-
- 2 edited
-
panel.lisp (modified) (2 diffs)
-
window/screen.lisp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
main/panel.lisp
r33 r41 56 56 (let ((panel-ptr (new-panel (window-pointer window)))) 57 57 (when (null-pointer-p panel-ptr) 58 ( signal'panel-construction-error))58 (error 'panel-construction-error)) 59 59 (make-instance 'panel :panel-ptr panel-ptr :client-window window))) 60 60 … … 73 73 (with-slots (panel-ptr) panel 74 74 (unless (= (del-panel panel-ptr) +ok+) 75 ( signal'panel-destruction-error))))75 (error 'panel-destruction-error)))) 76 76 77 77 -
main/window/screen.lisp
r29 r41 31 31 `(let ((,ptr (initscr))) 32 32 (when (null-pointer-p ,ptr) 33 ( signal'screen-initialization-error))33 (error 'screen-initialization-error)) 34 34 (unwind-protect 35 35 (start-color) … … 64 64 (let ((ptr (derwin (window-pointer w) height width y x))) 65 65 (when (null-pointer-p ptr) 66 ( signal'screen-window-creation-error))66 (error 'screen-window-creation-error)) 67 67 (make-instance 'screen-window :ptr ptr))) 68 68 … … 70 70 (with-slots (ptr) w 71 71 (when (= (delwin ptr) +err+) 72 ( signal'screen-window-destruction-error)))72 (error 'screen-window-destruction-error))) 73 73 (values)) 74 74 … … 79 79 `(let ((,ptr (newwin ,height ,width ,y ,x))) 80 80 (when (null-pointer-p ,ptr) 81 ( signal'screen-window-creation-error))81 (error 'screen-window-creation-error)) 82 82 (let ((,window (make-instance 'screen-window :ptr ,ptr))) 83 83 (unwind-protect (progn ,@body)
Note: See TracChangeset
for help on using the changeset viewer.
