Windowing Push-Pull Systems

Slides:



Advertisements
Similar presentations
DESCRIBING INPUT DEVICES
Advertisements

A graphical user interface (GUI) is a pictorial interface to a program. A good GUI can make programs easier to use by providing them with a consistent.
Introduction to Operating Systems What is an operating system? Examples How do many programs run at the same time, with one processor?
Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic.
CS320n –Visual Programming Interactive Programs Mike Scott (Slides 5-1)
Online testing made effective and easy. The easy way to have your tests answered and scored online. If you have a test in a PDF file, it can be online.
Graphical User Interfaces A Quick Outlook. Interface Many methods to create and “interface” with the user 2 most common interface methods: – Console –
Introduction to Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
David Streader Computer Science Victoria University of Wellington Copyright: David Streader, Victoria University of Wellington GUI and the UI API COMP.
Prepared by Fareeha Lecturer DCS IIUI 1 Windows API.
Lecture 5: Interaction 1  Principles of Interactive Graphics  CMSCD2012  Dr David England, Room 711,  ex 2271 
Chapter 11 An Introduction to Visual Basic 2008 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
FLTK Help Session By Richard Yu Gu CS 638 -Graphics Fall, 1999.
1 Filling Graphical Shapes. 2 We know how to draw outlines Can we just fill the “inside”? …but how do we know the difference between the inside and outside?
CS 480/680 Computer Graphics Programming with Open GL Part 7: Input and Interaction Dr. Frederick C Harris, Jr. Fall 2011.
Example – Solve the system of equations below We will do this graphically on our calculator. We first need to isolate y in each equation.
Introduction to Computer System
CS350 – Windows Programming Formerly and more properly named: Event Driven Programming Dr. Randy Ribler.
Introduction to Windows Programming
CSCE 121: Introduction to Program Design and Concepts, Honors Dr. J. Michael Moore Spring 2015 Set 15: GUIs 1.
Chapter 11 An Introduction to Visual Basic 2005 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
Computer Operating Systems Unit 1 – BTA 3O Chytra.
Review of Lesson One Material Demo then Do it Beginning Computer Class LLI.
Computer Components East Hardin Middle School Mr. Ervin.
Fall 2004CS-321 Dr. Mark L. Hornick 1 Final Exam Monday Nov 13, 2-4pm CC-43 Bring Calculator – no laptops Note sheet Complete FAST entries before exam.
CS-1020 Dr. Mark L. Hornick 1 Event-Driven Programming.
Attributes of drawing elements
Fall 2000M.B. Ibáñez Lecture 25 I/O Systems. Fall 2000M.B. Ibáñez Categories of I/O Devices Human readable –used to communicate with the user –video display.
Introduction to visual programming C#. Learning Outcomes In this chapter, you will learn about :  Event-Based Programming  The Event Based Model  Application.
State Machines State diagrams SE-2030 Dr. Mark L. Hornick 1.
Digital Literacy Lesson 2. Hardware Hardware: the physical components of a computer. Includes input devices, processing devices, storage devices, and.
Fall 2000M.B. Ibáñez Lecture 26 I/O Systems II. Fall 2000M.B. Ibáñez Application I/O Interface I/O system calls encapsulate device behaviors in generic.
CS-321 Dr. Mark L. Hornick 1 CS-321 – Computer Graphics Dr. Mark L. Hornick web: webCT: webct.msoe.edu.
The Command Pattern SE-2811 Dr. Mark L. Hornick 1.
12-Jun-16 Event loops. 2 Programming in prehistoric times Earliest programs were all “batch” processing There was no interaction with the user Input Output.
SE-2840 Dr. Mark L. Hornick 1 Dynamic HTML Handling events from DOM objects.
Allows the user and the computer to communicate with each other.
CS345 – Event-driven Programming
Resource Management IB Computer Science.
Clocks, I/O devices, Thin Clients, and Power Management
MICROPROCESSOR BASED SYSTEM DESIGN
CS501 Advanced Computer Architecture
Microprocessor Systems Design I
GUI Design and Coding PPT By :Dr. R. Mall.
Introduction to Event-Driven Programming
Lesson Objectives Aims Key Words Interrupt, Buffer, Priority, Stack
Event-driven programming
Event loops 16-Jun-18.
SE-2811 Software Component Design
Event Driven Programming Dick Steflik
Midterm Review Computer Graphics Hardware Point and Line Drawing
Lesson 1: Buttons and Events – 12/18
Miscellaneous Topics #6: Polygons GUI Components and Event Handlers
Event Driven Programming
EE 422C Java FX.
Unit 14 Event Driven Programming
Event loops.
Event loops 17-Jan-19.
Event loops 17-Jan-19.
Chapter 1:Types and Components of Computer
Interrupt handling Explain how interrupts are used to obtain processor time and how processing of interrupted jobs may later be resumed, (typical.
Event loops 8-Apr-19.
Wireless Embedded Systems
CS 286 Computer Organization and Architecture
Polling vs. Interrupts CS2852 4/9/2019
Graphical User Interfaces
Event loops.
ACM programming contest
Event loops.
Event loops 19-Aug-19.
Presentation transcript:

Windowing Push-Pull Systems Application Events & Callbacks Windowing System Operating System Device Drivers Keyboard Mouse Video Printer Fall 2004 CS-321 Dr. Mark L. Hornick

Modern Windowing Systems Program flow is NOT sequential Order of execution is up to the user When… Buttons pressed Keys typed Mouse moved over a window Timers Etc. Fall 2004 CS-321 Dr. Mark L. Hornick

Events and Callbacks GUI and mouse activity is registered Actions are associated with functions Events – user actions Callbacks – registered functions that subscribe to event notifications Each action can trigger a callback Similar to interrupt service routines Fall 2004 CS-321 Dr. Mark L. Hornick

Callback Features Should return in a reasonable period of time Don’t wait for additional user input Stalls application (<Windows 3.x would stall entire system) Spy demo Fall 2004 CS-321 Dr. Mark L. Hornick

Quiz tomorrow Be able to compute line intersections using parametric equations. Be able to describe and contrast the various polygon fill techniques discussed in the past few lectures Be able to describe the various coordinate systems used in computer graphics Be able to apply odd-even or NZW to determine inside/outside Fall 2004 CS-321 Dr. Mark L. Hornick