13 windows-and-events - Windows Windows and Events Brian...

Info iconThis preview shows pages 1–14. Sign up to view the full content.

View Full Document Right Arrow Icon
indows and Events Windows and Events Brian Bailey
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Announcements E results due HE results due Review next time Midterm next Friday
Background image of page 2
I Architecture UI Architecture I Tools Applications Frameworks UI Tools indowing System Toolkits Operating System Windowing System
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
here are the Windows Where are the Windows
Background image of page 4
Windowing System anages windows nd lationships Manages windows and relationships Manages events and the dispatch of events to windows
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Window ectangular area on the screen Rectangular area on the screen used for both input and output, inexpensive Has many properties visibility, size, border, color, and more Almost all widgets map to one or more windows
Background image of page 6
Window Hierarchy indows arranged in a ee Windows arranged in a tree defines a stacking order of the windows Root A D C F B E
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Window Hierarchy indows arranged in a tree Windows arranged in a tree defines a stacking order of the windows Root A D C F B E
Background image of page 8
Window Hierarchy indows arranged in a tree Windows arranged in a tree Point P (black circle) is in a window if it is ntained within its visible area t contained within its visible area Root A D C F B E
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Window Exposure ring B forward Bring B forward parts of B and E have become exposed Root A Should B receive one expose D C F event and E one event? B receive one expose ent and redraw E? B E event and redraw E? Managing is difficult!
Background image of page 10
When is Drawing Needed hen window is first displayed When window is first displayed h i d t t i dtd When window content is updated When obscuring windows are moved
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
When is Drawing Done ight away Right away? After next input event? When idle? When idle or within time limit?
Background image of page 12
rigin is at the upper ft hand corner Origin is at the upper-left hand corner X increases toward the right increases toward the bottom Y increases toward the bottom Coordinates relative to a window A D C F
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 14
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/18/2010 for the course CS 465 taught by Professor Karahalios,k during the Fall '08 term at University of Illinois, Urbana Champaign.

Page1 / 32

13 windows-and-events - Windows Windows and Events Brian...

This preview shows document pages 1 - 14. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online