- (defun GEAR ()
- (setq RETURN_VALUE (load_dialog "gear.dcl"))
- (setq WHAT_NEXT 2)
- (while (>= WHAT_NEXT 2)
- (if (null (new_dialog "gear" RETURN_VALUE))
- (exit)
- ) ;end if
- (SHOW "key_image" "gear")
- (action_tile "accept" "(getdata)(done_dialog 1)")
- (action_tile "cancel" "(done_dialog 0)")
- (setq WHAT_NEXT (start_dialog))
- ;;(if (= WHAT_NEXT 1)
- ;; (DRAW)
- ;;)
- )
- (unload_dialog RETURN_VALUE)
- (print)
- )(defun GETDATA ()
- (setq N (atof (get_tile "key_N")))
- (setq DP (atof (get_tile "key_DP")))
- (setq HHH (atof (get_tile "key_HHH")))
- )
- (defun SHOW (IMAGE_NAME FILE_NAME)
- (setq X1 (dimx_tile IMAGE_NAME))
- (setq Y1 (dimy_tile IMAGE_NAME))
- (start_image IMAGE_NAME)
- (slide_image 0 0 X1 Y1 FILE_NAME)
- (end_image)
- )
|