paragui-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-cvs] CVS: paragui/test xmlloader.cpp,NONE,1.1 Makefile.am,1.8,1


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/test xmlloader.cpp,NONE,1.1 Makefile.am,1.8,1.9
Date: Thu, 27 Jun 2002 10:37:14 -0400

Update of /cvsroot/paragui/paragui/test
In directory subversions:/tmp/cvs-serv16607/test

Modified Files:
        Makefile.am 
Added Files:
        xmlloader.cpp 
Log Message:
added new xml layoutloader framework (not finished)


--- NEW FILE ---
#include "paragui.h"
#include "pgapplication.h"
#include "pgxmllayoutloader.h"

int main() {

        // construct the application object
        PG_Application& app = PG_Application::GetInstance();

        app.EnableBackground(true);
        app.LoadTheme("default");
        
        // init 1024x768
        if(!app.InitScreen(800,600, 0, SDL_SWSURFACE)){
                printf("Resolution not supported\n");
                exit(-1);
        }

        PG_XMLLayoutLoader xmlloader;
        xmlloader.Load(NULL, "pokus.xml");

        // Enter main loop 
        app.Run();

        return EXIT_SUCCESS;
}

Index: Makefile.am
===================================================================
RCS file: /cvsroot/paragui/paragui/test/Makefile.am,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** Makefile.am 26 Jun 2002 11:22:17 -0000      1.8
--- Makefile.am 27 Jun 2002 14:37:12 -0000      1.9
***************
*** 1,5 ****
  AUTOMAKE_OPTIONS = foreign
  
! noinst_PROGRAMS = factory listbox tabbar animation dropdown paratest 
dblbuffer navtest layouttest windowresize
  
  factory_SOURCES = factory.cpp
--- 1,8 ----
  AUTOMAKE_OPTIONS = foreign
  
! noinst_PROGRAMS = xmlloader factory listbox tabbar animation dropdown 
paratest dblbuffer navtest layouttest windowresize
! 
! xmlloader_SOURCES = xmlloader.cpp
! xmlloader_LDADD = $(PARAGUI_LIBS)
  
  factory_SOURCES = factory.cpp




reply via email to

[Prev in Thread] Current Thread [Next in Thread]