mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
25 lines
No EOL
390 B
C++
25 lines
No EOL
390 B
C++
#ifdef flagGUI
|
|
|
|
#include <CtrlLib/CtrlLib.h>
|
|
#include <GridCtrl/GridCtrl.h>
|
|
#include <Functions4U/Functions4U.h>
|
|
|
|
//#include "Xmlize2.h"
|
|
|
|
NAMESPACE_UPP
|
|
|
|
template <> void Xmlize(XmlIO xml, GridCtrl& r) {
|
|
Vector<Vector<Value> > data;
|
|
|
|
if(xml.IsLoading()) {
|
|
xml("data", data);
|
|
SetGridData(r, data);
|
|
} else {
|
|
data = GetGridData(r);
|
|
xml("data", data);
|
|
}
|
|
}
|
|
|
|
END_UPP_NAMESPACE
|
|
|
|
#endif |