< Browse > Home / Archive by category 'Code'

| Mobile | RSS

Creating GUI with SDL

To create a GUI with the SDL, the first time have to do the settings for Microsoft Visual Studio such as this description.
Examples of ‘GUI.h’ in the program:
#include “SDL/GUI.h”
int main(int argc, char* args[])
{
bool quit = false;      //variable quit

This code will make a window with 256 x 192 size, window initialisation

if(init(256, 192,”Dev Window”) == false)
{
return 1;
}
Making [...]

[ More ] December 30th, 2008 | 2 Comments | Posted in All, Code |
sawajiri-erika-00071236sawajiri-erika-00071238sawajiri-erika-00071226sawajiri-erika-00071248sawajiri-erika-00071225sawajiri-erika-000712351969454_1156852473