C H A P T E R 5

Icons

When a user selects an icon, the Extras Drawer creates the selected form of the icon by combining the unselected form of the icon with the icon’s mask. The Extras Drawer uses the same method to animate one icon as it uses to highlight another. The design of the mask determines how the selected form of an icon looks—highlighted or animated. Figure 5-7 compares a mask used for highlighting with a mask used for animation.

Figure 5-7An icon’s mask either highlights or animates the icon

Not selected

Mask

Selected

An all-black shadow mask highlights an icon

Another mask creates an alternate form of the icon

Note: bounding boxes are for illustration only. Actual icons do not have bounding boxes.

The selected form of an icon is black only in spots where either the mask is black or the unselected form of the icon is black. The selected form is white wherever both the unselected form and the mask are black as well as where both are white.

You create a mask by comparing each pixel of the unselected form of an icon to the corresponding pixel of the selected form. If both forms of the icon have a black pixel in the same position or if both have a white pixel in the same position, the mask has a white pixel there. The mask has a black pixel where one form of the icon or the other has a black pixel, but not where both do. In making this comparison of the pixels, you are following the exclusive-or rule of logic. Figure 5-8 shows the masks of several animated icons.

5-10

Extras Drawer Icons

Page 164
Image 164
Apple 2 manual 7An icon’s mask either highlights or animates the icon

2 specifications

The Apple II is a defining product in the history of personal computing, first introduced in 1977 by Apple Computer, Inc. Designed by Steve Wozniak, the Apple II was one of the first highly successful mass-produced microcomputer products and played a significant role in bringing personal computers into homes and schools.

One of the Apple II's standout features was its color graphics capability. It was one of the first personal computers to provide color output, thanks to its built-in video interface. The initial model supported a resolution of 280x192 pixels with a palette of 6 colors, which allowed for vibrant visuals that set it apart from contemporaries like the monochrome Altair 8800.

The Apple II was notable for its open architecture. This design allowed users to expand the computer's capabilities easily through a series of expansion slots. Users could add floppy disk drives, additional memory, and various peripheral devices, making the system highly adaptable to individual needs. This encouraged a thriving ecosystem of third-party hardware and software, which contributed to its popularity.

Another significant feature was its use of the 6502 microprocessor. This 8-bit CPU was not only affordable but also powerful for its time, allowing the Apple II to run various applications efficiently. Along with a built-in keyboard and an innovative plastic case that housed its components, the design was user-friendly and appealing.

The Apple II also introduced the concept of “bootable software” through the use of floppy disks. The disk operating system (DOS) allowed users to store and run multiple programs without having to reload software manually, providing a level of convenience that had not been widely available before. Key software like VisiCalc, the first spreadsheet program, helped boost sales, showcasing the Apple II's utility in business and education environments.

The computer was also well-known for its early adoption of BASIC programming language. Apple provided an operating system that supported Applesoft BASIC, which enabled users, including students, to write their programs, further fostering a community of developers.

In summary, the Apple II's color graphics, open architecture, powerful 6502 processor, innovative use of floppy disks, and support for BASIC programming made it a revolutionary product in its time. Its legacy laid the groundwork for future personal computers and established Apple as a leader in the burgeoning tech industry. The Apple II remains an iconic symbol of the early personal computing era, reflecting a generation's transition into a digitally connected world.