Web Analytics Made Easy -
StatCounter Increasing the size to fit a window - CodingForum

Announcement

Collapse
No announcement yet.

Increasing the size to fit a window

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Increasing the size to fit a window

    Im very new to programming. Im using DarkGDK on Visual express c++ 2008.
    Ive got a background and i dont know how to increase the size of the image to fill the window annd ideas ??
    heres the code:


    #include "DarkGDK.h"


    void DarkGDK ( void )
    {

    dbSyncOn ( );
    dbSyncRate ( 60 );
    dbLoadImage ("Background2nd.png", 1 );
    dbSprite ( 1, 0, 0, 1 );

    while ( LoopGDK ( ) )
    {

    dbSync ( );
    }


    return;
    }

    Picture of the program:

    http://codingforum.net/attachment.ph...1&d=1239112502
    Last edited by xiva; Apr 7, 2009, 09:56 AM.
Working...
X