Update of /cvsroot/libufo/ufo-0.5/include/ufo/xml
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22137/include/ufo/xml
Modified Files:
uxul.hpp
Log Message:
Added action map to UXul to automatically connect slots to sigActivated signals. Fixed setting size via XUL and CSS commands.
Index: uxul.hpp
===================================================================
RCS file: /cvsroot/libufo/ufo-0.5/include/ufo/xml/uxul.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** uxul.hpp 21 May 2005 15:33:23 -0000 1.1
--- uxul.hpp 15 Sep 2005 10:15:23 -0000 1.2
***************
*** 32,35 ****
--- 32,36 ----
#include "../util/urectangle.hpp"
+ #include "../signals/ufo_signals.hpp"
#include <map>
***************
*** 60,65 ****
--- 61,68 ----
UXul();
UXul(const std::string & guiFile);
+ UXul(const std::string & guiFile, std::map<std::string, UActionSlot> map);
virtual ~UXul();
void load(const std::string & guiFile);
+ void setActionMap(std::map<std::string, UActionSlot> map);
/** Creates a root pane with widgets created according
* the previous loaded XUL file.
***************
*** 78,81 ****
--- 81,85 ----
std::string m_title;
std::map<std::string, UWidget*> m_map;
+ std::map<std::string, UActionSlot> m_actionMap;
};
|