TweetFollow Us on Twitter

MACINTOSH C CARBON

Demonstration Program PreQuickDraw

Goto Contents

// *******************************************************************************************
// PreQuickDraw.c                                                          CLASSIC EVENT MODEL
// *******************************************************************************************
// 
// This program opens a window in which is displayed some information retrieved from the
// GDevice structure for the main video device, from the graphics port's pixel map, and from
// the graphics port object using QuickDraw functions.  
//
// A Demonstration menu allows the user to set the monitor to various pixel depths and to 
// restore the original pixel depth.  Setting the monitor to a pixel depth of 8 (256 colours)
// or less causes the colours in the colour table to be displayed.
//
// The program utilises 'plst', 'MBAR', 'MENU', 'WIND', and 'STR#' resources, and a 'SIZE'
// resource with the acceptSuspendResumeEvents, canBackground, doesActivateOnFGSwitch, and 
// isHighLevelEventAware flags set.
//
// *******************************************************************************************

// .................................................................................. includes

#include <Carbon.h>

// ................................................................................... defines

#define rMenubar              128
#define rWindow               128
#define mAppleApplication     128
#define  iAbout               1
#define mFile                 129
#define  iQuit                12
#define mDemonstration        131
#define  iSetDepth8           1
#define  iSetDepth16          2
#define  iSetDepth32          3
#define  iRestoreStartDepth   5
#define rIndexedStrings       128
#define  sMonitorInadequate   1
#define  sMonitorAtThatDepth  2  
#define  sMonitorAtStartDepth 3 
#define  sRestoringMonitor    4
#define MAX_UINT32            0xFFFFFFFF

// .......................................................................... global variables

Boolean gDone;
SInt16  gStartupPixelDepth;

// ....................................................................... function prototypes

void    main                       (void);
void    doPreliminaries            (void);
OSErr   quitAppEventHandler        (AppleEvent *,AppleEvent *,SInt32);
void    doEvents                   (EventRecord *);
void    doDisplayInformation       (WindowRef);
Boolean doCheckMonitor             (void);
void    doSetMonitorPixelDepth     (SInt16);
void    doRestoreMonitorPixelDepth (void);
void    doMonitorAlert             (Str255);

// ************************************************************************************** main

void  main(void)
{
  MenuBarHandle menubarHdl;
  SInt32        response;
  MenuRef       menuRef;
  WindowRef     windowRef;
  SInt16        entries = 0;
  Str255        theString;
  EventRecord   EventStructure;

  // ........................................................................ do preliminaries

  doPreliminaries();
  
  // ............................................................... set up menu bar and menus
  
  menubarHdl = GetNewMBar(rMenubar);
  if(menubarHdl == NULL)
    ExitToShell();
  SetMenuBar(menubarHdl);
  DrawMenuBar();

  Gestalt(gestaltMenuMgrAttr,&response);
  if(response & gestaltMenuMgrAquaLayoutMask)
  {
    menuRef = GetMenuRef(mFile);
    if(menuRef != NULL)
    {
      DeleteMenuItem(menuRef,iQuit);
      DeleteMenuItem(menuRef,iQuit - 1);
      DisableMenuItem(menuRef,0);
    }
  }

  // ..................................... check if monitor can display at least 16-bit colour

  if(!doCheckMonitor())
  {
    GetIndString(theString,rIndexedStrings,sMonitorInadequate);
    doMonitorAlert(theString);
  }

  // ...................................... open windows, set font, show windows, move windows

  if(!(windowRef = GetNewCWindow(rWindow,NULL,(WindowRef)-1)))
    ExitToShell();

  SetPortWindowPort(windowRef);
  TextSize(10);

  // ......................................................................... enter eventLoop

  gDone = false;

  while(!gDone)
  {
    if(WaitNextEvent(everyEvent,&EventStructure,MAX_UINT32,NULL))
      doEvents(&EventStructure);
  }
}

// *************************************************************************** doPreliminaries

void  doPreliminaries(void)
{
  OSErr osError;

  MoreMasterPointers(32);
  InitCursor();
  FlushEvents(everyEvent,0);

  osError = AEInstallEventHandler(kCoreEventClass,kAEQuitApplication,
                            NewAEEventHandlerUPP((AEEventHandlerProcPtr) quitAppEventHandler),
                            0L,false);
  if(osError != noErr)
    ExitToShell();
}

// **************************************************************************** doQuitAppEvent

OSErr  quitAppEventHandler(AppleEvent *appEvent,AppleEvent *reply,SInt32 handlerRefcon)
{
  OSErr    osError;
  DescType returnedType;
  Size     actualSize;

  osError = AEGetAttributePtr(appEvent,keyMissedKeywordAttr,typeWildCard,&returnedType,NULL,0,
                              &actualSize);

  if(osError == errAEDescNotFound)
  {
    gDone = true;
    osError = noErr;
  } 
  else if(osError == noErr)
    osError = errAEParamMissed;

  return osError;
}

// ********************************************************************************** doEvents

void  doEvents(EventRecord *eventStrucPtr)
{
  SInt32         menuChoice;
  MenuID         menuID;
  MenuItemIndex  menuItem;
  WindowPartCode partCode;
  WindowRef      windowRef;
  Rect           portRect;
    
  switch(eventStrucPtr->what)
  {
    case kHighLevelEvent:
      AEProcessAppleEvent(eventStrucPtr);
      break;

    case keyDown:
      if((eventStrucPtr->modifiers & cmdKey) != 0)
      {
        menuChoice = MenuEvent(eventStrucPtr);
        menuID = HiWord(menuChoice);
        menuItem = LoWord(menuChoice);
        if(menuID == mFile && menuItem  == iQuit)
          gDone = true;
      }
      break;

    case mouseDown:
      if(partCode = FindWindow(eventStrucPtr->where,&windowRef))
      {
        switch(partCode)
        {
          case inMenuBar:
            menuChoice = MenuSelect(eventStrucPtr->where);
            menuID = HiWord(menuChoice);
            menuItem = LoWord(menuChoice);

            if(menuID == 0)
              return;

            switch(menuID)
            {
              case mAppleApplication:
                if(menuItem == iAbout)
                  SysBeep(10);
                break;

              case mFile:
                if(menuItem == iQuit)
                  gDone = true;
                break;
  
              case mDemonstration:
                if(menuItem == iSetDepth8)
                  doSetMonitorPixelDepth(8);
                else if(menuItem == iSetDepth16)
                  doSetMonitorPixelDepth(16);
                else if(menuItem == iSetDepth32)
                  doSetMonitorPixelDepth(32);
                else if(menuItem == iRestoreStartDepth)
                  doRestoreMonitorPixelDepth();
                break;
            }
            HiliteMenu(0);
            break;
          
          case inDrag:
            DragWindow(windowRef,eventStrucPtr->where,NULL);
            GetWindowPortBounds(windowRef,&portRect);
            InvalWindowRect(windowRef,&portRect);
            break;
        }
      }
      break;

    case updateEvt:
      windowRef = (WindowRef) eventStrucPtr->message;
      BeginUpdate(windowRef);
      SetPortWindowPort(windowRef);
      doDisplayInformation(windowRef);
      EndUpdate(windowRef);
      break;
  }
}

// ********************************************************************** doDisplayInformation

void  doDisplayInformation(WindowRef windowRef)
{
  RGBColor     whiteColour = { 0xFFFF, 0xFFFF, 0xFFFF };
  RGBColor     blueColour  = { 0x3333, 0x3333, 0x9999 };
  Rect         portRect;
  GDHandle     deviceHdl;
  SInt16       videoDeviceCount = 0;  
  Str255       theString;
  SInt16       deviceType, pixelDepth, bytesPerRow;
  Rect         theRect;
  GrafPtr      grafPort;
  PixMapHandle pixMapHdl;
  CTabHandle   colorTableHdl;
  SInt16       entries = 0, vert = 28, horiz = 250, index = 0;
  RGBColor     getPixelColour,colourTableColour;

  RGBForeColor(&whiteColour);
  RGBBackColor(&blueColour);
  GetWindowPortBounds(windowRef,&portRect);
  EraseRect(&portRect);
  QDFlushPortBuffer(GetWindowPort(FrontWindow()),NULL);

  // ......................................................................... Get Device List

  deviceHdl = GetDeviceList();

  // ...................................................... count video devices in device list

  while(deviceHdl != NULL)
  {
    if(TestDeviceAttribute(deviceHdl,screenDevice))
      videoDeviceCount ++;

    deviceHdl = GetNextDevice(deviceHdl);
  }

  NumToString(videoDeviceCount,theString);
  MoveTo(10,20);
  DrawString(theString);
  if(videoDeviceCount < 2)
    DrawString("\p video device in the device list.");
  else
    DrawString("\p video devices in the device list.");

  // ......................................................................... Get Main Device

  deviceHdl = GetMainDevice();

  // ................................................................... determine device type

  MoveTo(10,35);

  if(((1 << gdDevType) & (*deviceHdl)->gdFlags) != 0)
    DrawString("\pThe main video device is a colour device.");
  else
    DrawString("\pThe main video device is a monochrome device.");

  MoveTo(10,50);
  deviceType = (*deviceHdl)->gdType;
  switch(deviceType)
  {
    case clutType:
      DrawString("\pIt is an indexed device with variable CLUT.");
      break;

    case fixedType:
      DrawString("\pIt is is an indexed device with fixed CLUT.");
      break;

    case directType:
      DrawString("\pIt is a direct device.");
      break;
  }

  // ................................................................. Get Handle to Pixel Map

  grafPort = GetWindowPort(windowRef);
  pixMapHdl = GetPortPixMap(grafPort);
  // pixMapHdl = (*deviceHdl)->gdPMap; // alternative method

  // ............................................................. get and display pixel depth

  MoveTo(10,70);
  DrawString("\pPixel depth = ");

  pixelDepth = GetPixDepth(pixMapHdl);
  // pixelDepth = (*(*deviceHdl)->gdPMap)->pixelSize;  // alternative method

  NumToString(pixelDepth,theString);
  DrawString(theString);

  // ........................................................... get and display bytes per row 

  MoveTo(10,90);
  bytesPerRow = (*pixMapHdl)->rowBytes & 0x7FFF;
  DrawString("\pBytes per row = ");
  NumToString(bytesPerRow,theString);
  DrawString(theString);

  // .................................................. Get Device's Global Boundary Rectangle

  theRect = (*deviceHdl)->gdRect;

  // ........................................... calculate and display total pixel image bytes

  MoveTo(10,105);
  DrawString("\pTotal pixel image bytes = ");
  NumToString(bytesPerRow * theRect.bottom,theString);
  DrawString(theString);

  // ..................................................... display device's boundary rectangle

  MoveTo(10,130);
  TextFace(bold);
  DrawString("\pGraphics Device's Boundary Rectangle");
  TextFace(normal);
  MoveTo(10,145);
  DrawString("\p(gdRect field of GDevice structure)");

  MoveTo(10,160);
  DrawString("\pBoundary rectangle top = ");
  NumToString(theRect.top,theString);
  DrawString(theString);

  MoveTo(10,175);
  DrawString("\pBoundary rectangle left = ");
  NumToString(theRect.left,theString);
  DrawString(theString);

  MoveTo(10,190);
  DrawString("\pBoundary rectangle bottom = ");
  NumToString(theRect.bottom,theString);
  DrawString(theString);

  MoveTo(10,205);
  DrawString("\pBoundary rectangle right = ");
  NumToString(theRect.right,theString);
  DrawString(theString);

  // .......................................... Get and Display Pixel Map's Boundary Rectangle

  GetPixBounds(pixMapHdl,&theRect);

  MoveTo(10,225);
  TextFace(bold);
  DrawString("\pPixel Map's Boundary Rectangle");
  TextFace(normal);
  MoveTo(10,240);
  DrawString("\p(bounds field of PixMap structure)");

  MoveTo(10,255);
  DrawString("\pBoundary rectangle top = ");
  NumToString(theRect.top,theString);
  DrawString(theString);

  MoveTo(10,270);
  DrawString("\pBoundary rectangle left = ");
  NumToString(theRect.left,theString);
  DrawString(theString);

  MoveTo(10,285);
  DrawString("\pBoundary rectangle bottom = ");
  NumToString(theRect.bottom,theString);
  DrawString(theString);

  MoveTo(10,300);
  DrawString("\pBoundary rectangle right = ");
  NumToString(theRect.right,theString);
  DrawString(theString);

  MoveTo(10,320);
  DrawString("\pOn Mac OS X, drag window after pixel depth and screen resolution changes to");
  DrawString("\p ensure that");
  MoveTo(10,333);
  DrawString("\pbytes per row, pixel image bytes, and colour values are updated.");

  // ........................... Get and Display RGB Components of Requested Background Colour

  MoveTo(250,255);
  GetBackColor(&blueColour);
  DrawString("\pRequested background colour (rgb) = ");
  MoveTo(250,270);
  NumToString(blueColour.red,theString);
  DrawString(theString);
  DrawString("\p  ");
  NumToString(blueColour.green,theString);
  DrawString(theString);
  DrawString("\p  ");
  NumToString(blueColour.blue,theString);
  DrawString(theString);

  // ........ If Direct Device, Get and Display RGB Components of Colour Returned by GetCPixel

  if(deviceType == directType)
  {
    MoveTo(250,285);
    GetCPixel(10,10,&getPixelColour);
    DrawString("\pColour returned by CetCPixel (rgb) = ");
    MoveTo(250,300);
    NumToString(getPixelColour.red,theString);
    DrawString(theString);
    DrawString("\p  ");
    NumToString(getPixelColour.green,theString);
    DrawString(theString);
    DrawString("\p  ");
    NumToString(getPixelColour.blue,theString);
    DrawString(theString);
  }

  // .............................................. else prepare to display colour table index

  else
  {
    MoveTo(250,285);
    DrawString("\pBackground colour (colour table index):");
  }

  // .............................................................. Get Handle to Colour Table

  colorTableHdl = (*pixMapHdl)->pmTable;

  // ........................................ if any entries in colour table, draw the colours

  MoveTo(250,20);
  DrawString("\pColour table:");

  entries = (*colorTableHdl)->ctSize;

  if(entries < 2)
  {
    MoveTo(260,100);
    DrawString("\pOnly one (dummy) entry in the colour");
    MoveTo(260,115);
    DrawString("\ptable.  To cause the colour table to be");
    MoveTo(260,130);
    DrawString("\pbuilt, set the monitor to bit depth 8");
    MoveTo(260,145);
    DrawString("\p(256 colours), causing it to act like ");
    MoveTo(260,160);
    DrawString("\pan indexed device.");
    SetRect(&theRect,250,28,458,236);
    FrameRect(&theRect);
  }

  for(index = 0;index <= entries;index++)
  {
    SetRect(&theRect,horiz,vert,horiz+12,vert+12);
    colourTableColour = (*colorTableHdl)->ctTable[index].rgb;
    RGBForeColor(&colourTableColour);
    PaintRect(&theRect);

    // .... also, if device is not a  direct device, and current colour matches background ...

    if(deviceType == clutType || deviceType == fixedType)
    {
      if(colourTableColour.red == blueColour.red && 
         colourTableColour.green == blueColour.green && 
         colourTableColour.blue == blueColour.blue)
      {

        // ....................... outline the drawn colour and display the colour table index

        RGBForeColor(&whiteColour);
        InsetRect(&theRect,-1,-1);
        FrameRect(&theRect);
        MoveTo(250,300);
        NumToString(index,theString);
        DrawString(theString);
      }
    }

    horiz += 13;
    if(horiz > 445)
    {
      horiz = 250;
      vert += 13;
    }
  }

  QDFlushPortBuffer(GetWindowPort(FrontWindow()),NULL);
}

// **************************************************************************** doCheckMonitor

Boolean doCheckMonitor(void)
{
  GDHandle  mainDeviceHdl;

  mainDeviceHdl = GetMainDevice();

  if(!(HasDepth(mainDeviceHdl,16,gdDevType,1)))
  {
    DisableMenuItem(GetMenuRef(mDemonstration),0);
    return false;
  }
  else
  {
    gStartupPixelDepth = (**((**mainDeviceHdl).gdPMap)).pixelSize;
    return true;
  }
}

// ******************************************************************** doSetMonitorPixelDepth

void  doSetMonitorPixelDepth(SInt16 requiredDepth)
{
  GDHandle mainDeviceHdl;
  Str255   alertString;  
  SInt16   currentPixelDepth;

  mainDeviceHdl = GetMainDevice();
  currentPixelDepth = (**((**mainDeviceHdl).gdPMap)).pixelSize;

  if(currentPixelDepth != requiredDepth)
  {
    SetDepth(mainDeviceHdl,requiredDepth,gdDevType,1);
  }
  else
  {
    GetIndString(alertString,rIndexedStrings,sMonitorAtThatDepth);
    doMonitorAlert(alertString);
  }
}

// **************************************************************** doRestoreMonitorPixelDepth

void  doRestoreMonitorPixelDepth(void)
{
  GDHandle mainDeviceHdl;
  Str255   alertString;  
  SInt16   pixelDepth;

  mainDeviceHdl = GetMainDevice();
  pixelDepth = (**((**mainDeviceHdl).gdPMap)).pixelSize;

  if(pixelDepth != gStartupPixelDepth)
  {
    GetIndString(alertString,rIndexedStrings,sRestoringMonitor);
    doMonitorAlert(alertString);
    SetDepth(mainDeviceHdl,gStartupPixelDepth,gdDevType,1);
  }
  else
  {
    GetIndString(alertString,rIndexedStrings,sMonitorAtStartDepth);
    doMonitorAlert(alertString);
  }
}

// **************************************************************************** doMonitorAlert

void  doMonitorAlert(Str255 labelText)
{
  SInt16 itemHit;

  StandardAlert(kAlertNoteAlert,labelText,NULL,NULL,&itemHit);
}

// *******************************************************************************************

Demonstration Program PreQuickDraw Comments

When this program is run, the user should:

o Drag the window to various positions on the main screen, noting, on Mac OS 8/9 only, the
  changes to the coordinates of the pixel map's boundary rectangle.  (On Mac OS X these
  coordinates represent the bounds of the Core Graphics window that backs the Carbon window, 
  not the screen.)

o Change between the available monitor resolutions, noting the changes in the bytes per row and
  total pixel image bytes figures displayed in the window.

o Using the Demonstration menu, change between the available pixel depths, noting the changes
  to the pixel depth and total pixel image bytes figures, and the background colour values,
  displayed in the window.

o Note that, when a pixel depth of 8 is set on a direct device, the device creates a CLUT and
  operates like a direct device.  In this case, the background colour value is the colour table
  entry (index), and the relevant colour in the colour table display is framed in white.

On Mac OS 8/9, if the user's monitor is set to thousands or millions of colours when the
program is run for the first time, the colour table will not be built.  It will be built when
the user first sets the pixel depth to 8 (256 colours).

main

The call to doCheckMonitor determines whether the monitor can support a pixel depth of at least
16.  If it cannot, the Demonstration menu is disabled, false is returned, and an alert is
displayed advising the user that the Demonstration menu will be unavailable.  If the monitor
can support a pixel depth of at least 16, the current pixel depth is assigned to the global
variable gStartupPixelDepth.

doEvents

In the case of a mouse-down event, in the inDrag case, when the user releases the mouse button,
the window is invalidated, causing it to be redrawn.

doDisplayInformation

At the first two lines, RGB colours are assigned to the window's graphics port's rgbFgColor and
rgbBkColor fields.  The call to EraseRect causes the content region to be filled with the
background colour.
Get Device List
The call to GetDeviceList gets a handle to the first GDevice structure in the device list.  The
device list is then "walked" in the while loop.  For every video device found in the list, the
variable videoDeviceCount is incremented.  GetNextDevice gets a handle to the next device in
the device list.
Get Main Device
GetMainDevice gets a handle to the startup device, that is, the device on which the menu bar
appears.

Following the call to MoveTo, the gdDevType bit is tested to determine whether the main
(startup) device is a colour or black-and-white device.

In the next block, the gdType field of the GDevice structure is examined to determine whether
the device is an indexed device with a variable CLUT, an indexed device with a fixed CLUT, or a
direct device (or a direct device set to display 256 colours or less and, as a consequence,
acting like an indexed device).
Get Handle to Pixel Map
The call to GetWindowPort gets the reference to the window's graphics port required by the call
to GetPortPixMap. GetPortPixMap gets a handle to the pixel map. (The following line shows an
alternative method of obtaining a handle to a pixel map, in this case from the GDevice
structure.)

In the next block, GetPixDepth is called to get the pixel depth. (The following line shows an
alternative method of obtaining the pixel depth, in this case from the GDevice structure.) 

At the next block, the number of bytes in each row in the pixel map is determined.  (The high
bit in the rowBytes field of the PixMap structure is a flag which indicates whether the data
structure is a PixMap structure or a BitMap structure.)
Get Device's Boundary Rectangle
At the first line of this block, the device's boundary rectangle is extracted from the GDevice
structure's gdRect field.  

At the next block, the bytes per row value is multiplied by the height of the boundary
rectangle to arrive at the total number of bytes in the pixel image.

The boundary rectangle's top, left, bottom, and right coordinates are then drawn in the window.
Get and Display Pixel Map's Boundary Rectangle
The call to GetPixBounds gets the pixel map's bounding rectangle.  The rectangle's top, left,
bottom, and right coordinates are then drawn in the window.
Get and Display RGB Components of Requested Background Colour
The second line of this block calls GetBackColor to get the graphics port's background colour. 
The red, green, and blue values are then printed in the window.
If Direct Device, Get and Display RGB Components of Colour Returned by GetCPixel
If the device is a direct device, GetCPixel is called to get the colour of a pixel in the
window drawn with the background colour.  The red, green and blue values are then printed in
the window.

If the device is not a direct device, some preparatory text is drawn in the window.
Get Handle To Colour Table
The first and fourth lines get a handle to the colour table in the GDevice structure's pixel
map and the number of entries in that table.  (Note that the ctSize field of the ColorTable
structure contains the number of table entries minus one.)

On Mac OS 8/9, QuickDraw only calls the Color Manager to build the colour table if the device
is an indexed device (or a direct device acting as an indexed device).  Thus, on Mac OS 8/9,
there will only be a dummy entry in the colour table unless the monitor is an indexed device or
a direct divice set to display 256 colours or less.

The final block paints small coloured rectangles for each entry in the colour table.  If the
main device is an indexed device (or if it is a direct device set to display 256 colours or
less), the colour table entry being used as the best match for the requested background colour
is outlined in white and the index value is drawn.

doCheckMonitor

doCheckMonitor is called at program start to determine whether the main device supports at
least 16-bit colour and, if it does, to assign the main device's pixel depth at startup to the
global variable gStartupPixelDepth.

The call to GetMainDevice gets a handle to the main device's GDevice structure.  The function
HasDepth is used to determine whether the device supports at least 16-bit colour.  If it does
not, the Demonstration menu is disabled and false is returned.  If it does, the pixel depth is
extracted from the pixelSize field of the PixMap structure in the GDevice structure and
assigned to the global variable gStartupPixelDepth.

doSetMonitorPixelDepth

doSetMonitorPixelDepth is called when one of the the first three items in the Demonstration
menu is chosen.
  
If the current pixel depth determined at the first two lines is not equal to the required new
depth, SetDepth is called to set the main device's pixel depth to the required depth.  
If the current pixel depth is equal to the required pixel depth, an alert is displayed advising
the user that the device is currently set to that pixel depth.

doRestoreMonitorPixelDepth

doRestoreMonitorPixelDepth is called, when the last item in the Demonstration menu is chosen,
to reset the main device's pixel depth to the startup pixel depth.
  
If the current pixel depth determined at the first two lines is not equal to the startup pixel
depth, a string is retrieved from a 'STR#' resource and passed to the function doMonitorAlert,
which displays a movable modal alert box advising the user that the monitor's bit depth is
about to be changed to the startup pixel depth.  When the user dismisses the alert box,
SetDepth sets the main device's pixel depth to the startup pixel depth. 
 
If the current pixel depth is the startup pixel depth, the last two lines display an alert box
advising the user that the device is currently set to that pixel depth.
 

Community Search:
MacTech Search:

Software Updates via MacUpdate

CleanMyMac 3.9.0 - $39.95
CleanMyMac makes space for the things you love. Sporting a range of ingenious new features, CleanMyMac lets you safely and intelligently scan and clean your entire system, delete large, unused files... Read more
Apple High Sierra 10.13 - The latest OS...
macOS High Sierra introduces new core technologies that improve the most important functions of your Mac. From rearchitecting how it stores your data to improving the efficiency of video streaming to... Read more
OmniGraffle Pro 7.4.3 - Create diagrams,...
OmniGraffle Pro helps you draw beautiful diagrams, family trees, flow charts, org charts, layouts, and (mathematically speaking) any other directed or non-directed graphs. We've had people use... Read more
OmniGraffle 7.4.3 - Create diagrams, flo...
OmniGraffle helps you draw beautiful diagrams, family trees, flow charts, org charts, layouts, and (mathematically speaking) any other directed or non-directed graphs. We've had people use Graffle to... Read more
VueScan 9.5.86 - Scanner software with a...
VueScan is a scanning program that works with most high-quality flatbed and film scanners to produce scans that have excellent color fidelity and color balance. VueScan is easy to use, and has... Read more
ExpanDrive 6.1.0 - Access cloud storage...
ExpanDrive builds cloud storage in every application, acts just like a USB drive plugged into your Mac. With ExpanDrive, you can securely access any remote file server directly from the Finder or... Read more
Yojimbo 4.1 - Data information organizer...
Yojimbo empowers Mac users to manage, effortlessly and securely, the onslaught of information encountered every day at work and at home, even across multiple computers. Yojimbo stores different data... Read more
Airmail 3.5 - Powerful, minimal email cl...
Airmail is an mail client with fast performance and intuitive interaction. Support for iCloud, MS Exchange, Gmail, Google Apps, IMAP, POP3, Yahoo!, AOL, Outlook.com, Live.com. Airmail was designed... Read more
Cocktail 11.0 - General maintenance and...
Cocktail is a general purpose utility for macOS that lets you clean, repair and optimize your Mac. It is a powerful digital toolset that helps hundreds of thousands of Mac users around the world get... Read more
Numi 3.17.2 - Menu-bar calculator suppor...
Numi is a calculator that magically combines calculations with text, and allows you to freely share your computations. Numi combines text editor and calculator Support plain English. For example, '5... Read more

The best visual novels on mobile
Narrative games have been around for ages, but only now have they been creeping into the mainstream spotlight. These games tell some of the industry's finest stories, and they break new ground in terms of gameplay and mechanics regularly. Here are... | Read more »
The best new games we played this week -...
It's pretty much been one big release after another. We were privy to a bunch of surprises this week, with a lot of games we'd been waiting for quite some time dropping unexpectedly. We hope you're free this weekend, because there is a lot for... | Read more »
Stormbound: Kingdom Wars guide - how to...
Stormbound: Kingdom Wars is an excellent new RTS turned card battler out now on iOS and Android. Lovers of strategy will get a lot of enjoyment out of Stormbound's chess-like mechanics, and it's cardbased units are perfect for anyone who loves the... | Read more »
The best AR apps and games on iOS right...
iOS 11 has officially launched, and with it comes Apple's ARKit, a helpful framework that makes it easier than ever for developers to create mobile AR experiences. To celebrate the occassion, we're featuring some of the best AR apps and games on... | Read more »
Phoenix Wright: Ace Attorney - Spirit of...
Phoenix Wright: Ace Attorney - Spirit of Justice 1.00.00 Device: iOS Universal Category: Games Price: $.99, Version: 1.00.00 (iTunes) Description: ************************************************※IMPORTANT※・Please read the “When... | Read more »
Kpressor (Utilities)
Kpressor 1.0.0 Device: iOS Universal Category: Utilities Price: $4.99, Version: 1.0.0 (iTunes) Description: The ultimate ZIP compression application for iPhone and iPad. - Full integration of iOS 11 with support for multitasking.-... | Read more »
Find out how you can save £35 and win a...
Nothing raises excitement like a good competition, and we’re thrilled to announce our latest contest. We’ll be sending one lucky reader and a friend to the Summoners War World Arena Championship at Le Comedia in Paris on October 7th. It’s the... | Read more »
Another Lost Phone: Laura's Story...
Another Lost Phone: Laura's Story 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: Another Lost Phone is a game about exploring the social life of a young woman whose phone you have just... | Read more »
The Witness (Games)
The Witness 1.0 Device: iOS Universal Category: Games Price: $9.99, Version: 1.0 (iTunes) Description: You wake up, alone, on a strange island full of puzzles that will challenge and surprise you. You don't remember who you are, and... | Read more »
Egg, Inc. guide - how to build your gold...
Egg, Inc.'s been around for some time now, but don't you believe for one second that this quirky clicker game has gone out of style. The game keeps popping up on Reddit and other community forums thanks to the outlandish gameplay (plus, the... | Read more »

Price Scanner via MacPrices.net

Snag a Certified Refurbished Apple Pencil for...
Apple has Certified Refurbished Apple Pencils available for $85 including free shipping. Their price is $14 off MSRP, and it’s the lowest price available for a Pencil. Read more
12-inch 64GB iPad Pro on sale for $749, save...
Adorama has 12″ 64GB iPad Pros on sale today for $749 including free shipping plus NY & NJ sales tax only. Their price is $50 off MSRP. Read more
Apple Certified Refurbished iPad minis availa...
Apple has Certified Refurbished 128GB iPad minis available today for $339 including free shipping. Apple’s standard one-year warranty is included. Their price is $60 off MSRP. Read more
12-inch 1.2GHz Retina MacBook Pros on sale fo...
B&H Photo has 2017 12″ 1.2GHz Retina MacBooks on sale for $100 off MSRP. Shipping is free, and B&H charges sales tax in NY & NJ only: 12″ 1.2GHz Space Gray MacBook: $1199 $100 off MSRP 12... Read more
Sunday sale: 13-inch 3.1GHz MacBook Pros for...
Amazon has 2017 13″ 3.1GHz MacBook Pros on sale today for up to $150 off MSRP, each including free shipping: – 13″ 3.1GHz/256GB Space Gray MacBook Pro (MPXV2LL/A): $1649.99 $150 off MSRP – 13″ 3.1GHz... Read more
Looking for a 2017 12″ Retina MacBook? Save $...
Apple has Certified Refurbished 2017 12″ Retina MacBooks available for $200-$240 off the cost of new models. Apple will include a standard one-year warranty with each MacBook, and shipping is free.... Read more
Apple Offering Up To $455 Credit Toward iPhon...
iPhone 8 and 8 Plus are now available at the Apple Store, and you can receive up to $375 credit toward a new iPhone purchase when you trade in your eligible smartphone. Photo Courtesy Apple Just... Read more
AnyTrans Offers iOS Users Three Ways For Movi...
iMobie Inc. today announceed AnyTrans v6.0.1, which now can help iOS users move all data to iPhone 8/8 Plus seamlessly. The software is available both on Mac and Windows and fully able to move all... Read more
Snag a 13-inch 2.3GHz MacBook Pro for $100 of...
B&H Photo has 2017 13″ 2.3GHz MacBook Pros in stock today and on sale for $100 off MSRP, each including free shipping plus NY & NJ sales tax only: – 13-inch 2.3GHz/128GB Space Gray MacBook... Read more
Verizon offers new iPhone 8 for $100-$300 off...
Verizon is offering the new iPhone 8 for up to $300 off MSRP with an eligible trade-in: • $300 off: iPhone 6S/6S Plus/7/7 Plus, Google Pixel XL, LG G6, Moto Z2 Force, Samsung Galaxy S7/S7 edge/S8/S8... Read more

Jobs Board

Data Engineer - *Apple* Media Products - Ap...
Job Summary Apple is seeking a highly skilled data engineer to join the Data Engineering team within Apple Media Products. AMP (home to Apple Music, App Read more
Development Operations and Site Reliability E...
Development Operations and Site Reliability Engineer, Apple Payment Gateway Job Number: 57572631 Santa Clara Valley, California, United States Posted: Jul. 27, 2017 Read more
Development Operations and Site Reliability E...
Development Operations and Site Reliability Engineer, Apple Payment Gateway Job Number: 57572631 Santa Clara Valley, California, United States Posted: Jul. 27, 2017 Read more
*Apple* Retail - Multiple Positions - Apple,...
Job Description: Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, Read more
Instructional Designer, *Apple* Product Doc...
Job Summary The Apple Product Documentation team is looking for an instructional designer or a video editor to write user documentation for its professional video Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.