 _________________________________________________________________________
/#########################################################################\
|#####...####..######..######......####...####..#####..##......##......###|
|####.....###..######..########..#####.....###...####..##..######..#######|
|###..###..##..######..########..####..###..##....###..##..######..#######|
|###..###..##..######..########..####..###..##..#...#..##..######......###|
|###.......##..######..########..####.......##..##.....##..######..#######|
|###..###..##..######..########..####..###..##..###....##..######..#######|
|###..###..##...#####...#######..####..###..##..####...##..######..#######|
|###..###..##......##......##......##..###..##..#####..##......##......###|
|#########################################################################|
|####################################################################{RB}#|
|=========================================================================|
|									  |
|		           ----> PRESENTS <----				  |
|									  |
|			THE ABACUS SERIES - VOLUME 2		          |
|									  |
|            AMIGA GRAPHICS INSIDE AND OUT - THE COMPLETE BOOK            |
|									  |
| Typed / Scanned / Edited By : RAZOR BLADE.			          |
| Additional Typing by        : GLITCH ( + 8 pages by Asterix ! ).	  |
| Menu Coded by 	      : RAISTLIN				  |
| Original Supplied by	      : VIPER					  |
|									  |
|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|
| 		CALL THE ALLIANCE WORLD HQ -> THE PLACE TO BE             |
|       UNKNOWN PLEASURES --> +44 (0) 823 322 891 --> SYSOP: BARBARIAN    |
|_________________________________________________________________________|
----------------------------------------------------------------------------

3.5 INTUITION AND THE REST OF THE WORLD.

So far you have been introduced to the data structure of "windows" and
"screens". It is now time to for review amd show you the connections
between these two data blocks. The following figure symbolises a window
data structure to other components:

                                        |           |
                                        |           |
        ________________________________|___________|_____
       |                                |           |     |
       |                              Screen     Father   |
       |                                                  |
       |            W I N D O W                         __|____ next
       |                                                  |     window
       |        |                               |         |
       |        |                               |         |
       |________|_______________________________|_________|
                |                               |
             RastPort                        Child Window.
        

The "screen" structure can be displayed using a similar figure:


        ____|__________________________________________
       |    |                                          |
       |  Next Screen                                  |
       |                                    1. window  |        
    ------- ViewPort    S C R E E N             ---------- 
       |                                               |
       |                                               |        
       |    |           |                              |
       |    |           |                              |
       |____|___________|______________________________|
            |           |
          BitMap      RastPort



                                PAGE 120

----------------------------------------------------------------------------


The next figure shows the system connection with a screen and a window:

NOTE: THE CHARACTER "+" REPRESENTS A DOWN ARROW.


        _________________________
       |                         |
       |                         |
     __|      S C R E E N        |<--------------------------------
    |  |                         |                                 |
    |  |                         |--------------------------       |
    |  |                         |                         |       |
    |  |_________________________|                         |       |
    |       |      |                                       |       |
    |       |      |                    ___________________+_______|__|_
    +       +      +                   |                              | |
 ViewPort  BitMap RastPort             |                                |
                                       |           W I N D O W        ----
                                       |                                |
                                       |                                |
                                       |___|__________________________|_|
                                           |                          | 
                                           +
                                        RastPort

We are not finished yet. You still need an understanding of the RastPort,
ViewPort and BitMap structures. Next we will take a closer look at the
RastPort.


                                PAGE 121

----------------------------------------------------------------------------
