Welcome, Guest. Please login or register.

Author Topic: Programming a Window in C to hold a picture/background  (Read 3134 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline NovaCoder

Re: Programming a Window in C to hold a picture/background
« on: January 09, 2012, 05:08:08 AM »
Try this kind of thang...

Code: [Select]

    GfxBase = (struct GfxBase*)OpenLibrary( "graphics.library", 0L);
    if (!GfxBase) {
        error("Could not open the Graphics library");
    }

    IntuitionBase = (struct IntuitionBase*)OpenLibrary( "intuition.library", 0L);
    if (!IntuitionBase) {
        error("Could not open the Intuition library");
    }
Life begins at 100 MIPS!


Nice Ports on AmiNet!