香港大学计算机图形学课件Chapter5Interactiveinput.pptVIP

  • 0
  • 0
  • 约6.85千字
  • 约 22页
  • 2017-05-29 发布于北京
  • 举报

香港大学计算机图形学课件Chapter5Interactiveinput.ppt

Chapter 5 Interactive input Input modes Request Mode Event Mode Input from a keyboard Input from a mouse Pop-up menu Reshaping window Request Mode Most common in ordinary programs When a program makes an input request, its execution is suspended. When the data is ready, the program is awaken by a triggering process. Consider that a program running on a PC requests character input from the keyboard. When the input statement is carried out, the execution of the program is suspended. Now a person presses ‘A’, ‘B’, ‘C’ and then, the Enter keys. The characters ‘A’, B’, ‘C’, and ‘\n’ are saved i

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档