Added GraphControl; FilteredCardList; ValueEditor

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@74 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-11-19 18:59:33 +00:00
parent ce6a83e34b
commit ed336dea06
31 changed files with 705 additions and 82 deletions
+9
View File
@@ -7,13 +7,22 @@
// ----------------------------------------------------------------------------- : Includes
#include <gui/control/card_editor.hpp>
#include <gui/value/editor.hpp>
#include <data/field.hpp>
// ----------------------------------------------------------------------------- : DataEditor
#define FOR_EACH_EDITOR \
FOR_EACH(v, viewers) \
if (ValueEditorP = static_pointer_cast<ValueEditor>(v))
DataEditor::DataEditor(Window* parent, int id, long style)
: CardViewer(parent, id, style)
{}
ValueViewerP DataEditor::makeViewer(const StyleP& style) {
return style->makeEditor(*this, style);
}
// ----------------------------------------------------------------------------- : Event table