paragui-cvs
[Top][All Lists]
Advanced

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

[paragui-cvs] CVS: paragui/include Makefile.am,1.10,1.11 pgbutton.h,1.7,


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/include Makefile.am,1.10,1.11 pgbutton.h,1.7,1.8 pgwidget.h,1.14,1.15 pgxmllayoutloader.h,1.2,1.3
Date: Thu, 27 Jun 2002 12:37:08 -0400

Update of /cvsroot/paragui/paragui/include
In directory subversions:/tmp/cvs-serv2873/include

Modified Files:
        Makefile.am pgbutton.h pgwidget.h pgxmllayoutloader.h 
Log Message:
added virtual XML attribute handlers


Index: Makefile.am
===================================================================
RCS file: /cvsroot/paragui/paragui/include/Makefile.am,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** Makefile.am 27 Jun 2002 14:37:11 -0000      1.10
--- Makefile.am 27 Jun 2002 16:37:06 -0000      1.11
***************
*** 56,60 ****
        pgsingleton.h \
        pgfactory.h \
!       pgxmllayoutloader.h
  
  EXTRA_DIST = \
--- 56,61 ----
        pgsingleton.h \
        pgfactory.h \
!       pgxmllayoutloader.h \
!       pgxmltag.h
  
  EXTRA_DIST = \

Index: pgbutton.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgbutton.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** pgbutton.h  26 Jun 2002 11:22:17 -0000      1.7
--- pgbutton.h  27 Jun 2002 16:37:06 -0000      1.8
***************
*** 118,122 ****
  struct PG_ButtonDataInternal;
  
! class DECLSPEC PG_Button : public PG_Widget  {
  public:
  
--- 118,122 ----
  struct PG_ButtonDataInternal;
  
! class DECLSPEC PG_Button : public PG_Widget {
  public:
  
***************
*** 241,244 ****
--- 241,246 ----
        */
        Uint8 GetBlendLevel(int mode);
+       
+       void ParseXMLAttributes(const PG_XMLTag& xmltag);
        
        PG_SignalButtonClick sigButtonClick;

Index: pgwidget.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgwidget.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** pgwidget.h  26 Jun 2002 11:22:17 -0000      1.14
--- pgwidget.h  27 Jun 2002 16:37:06 -0000      1.15
***************
*** 33,36 ****
--- 33,37 ----
  #include "pgrectlist.h"
  #include "pgfont.h"
+ #include "pgxmltag.h"
  
  #include MAP_INC
***************
*** 71,75 ****
  */
  
! class DECLSPEC PG_Widget : public PG_MessageObject, public PG_Rect  {
  public:
        /**
--- 72,76 ----
  */
  
! class DECLSPEC PG_Widget : public PG_MessageObject, public PG_Rect {
  public:
        /**
***************
*** 728,731 ****
--- 729,734 ----
        
        bool IsHidden();
+       
+       virtual void ParseXMLAttributes(const PG_XMLTag& xmltag);
        
  protected:

Index: pgxmllayoutloader.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgxmllayoutloader.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** pgxmllayoutloader.h 27 Jun 2002 15:37:43 -0000      1.2
--- pgxmllayoutloader.h 27 Jun 2002 16:37:06 -0000      1.3
***************
*** 4,47 ****
  #include "pgsignals.h"
  #include "pgrect.h"
! #include <string>
! #include <map>
! 
! typedef enum {
!       DOC,
!       LAYOUT,
!       HEAD,
!       BODY
! } PG_XML_SECTION;
! 
! class PG_XMLTagList : public std::map<std::string, std::string> {
! public:
!       PG_XMLTagList(const char** atts);
! };
! 
! class PG_XMLTag {
! public:
!       PG_XMLTag(const char* n = NULL, const char** a = NULL, PG_XML_SECTION 
sec = DOC);
!       
!       void Log();
!       
!       inline std::string GetString(const char* name) {
!               return taglist[name];
!       }
!       
!       PG_Rect GetRect(const char* name, PG_Widget* parent);
!       
!       int GetInt(const char* name);
!       
!       int GetAlignment(const char* name);
!       
!       int GetBackmode(const char* name);
!       
!       PG_Gradient* GetGradient(const char* name);
!       
!       std::string name;
!       PG_XMLTagList taglist;
!       PG_XML_SECTION section;
! };
! 
  
  class PG_XMLLayoutLoaderBase {
--- 4,8 ----
  #include "pgsignals.h"
  #include "pgrect.h"
! #include "pgxmltag.h"
  
  class PG_XMLLayoutLoaderBase {




reply via email to

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