From 633705c832dfd3d22d9c1db773ac123e005b09af Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Sun, 28 Feb 2010 21:36:25 +0000 Subject: [PATCH] Support in the GUI XML files, as a primitive mechanism to simplify the definition of repetitive structures (like lists of buttons) This was SVN commit r7336. --- source/gui/CGUI.cpp | 47 +++++++++++++++++++++++++++++++++++++++++---- source/gui/CGUI.h | 17 ++++++++++++---- 2 files changed, 56 insertions(+), 8 deletions(-) diff --git a/source/gui/CGUI.cpp b/source/gui/CGUI.cpp index bbce01e991..00318bc491 100644 --- a/source/gui/CGUI.cpp +++ b/source/gui/CGUI.cpp @@ -1042,6 +1042,8 @@ void CGUI::Xeromyces_ReadRootObjects(XMBElement Element, CXeromyces* pFile, std: { int el_script = pFile->GetElementID("script"); + std::vector > subst; + // Iterate main children // they should all be or