Added drop down list box, specialization for color editor; todo: proper positioning & sizing, redrawing the arrow button

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@91 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-11-23 21:01:46 +00:00
parent c30dbec39e
commit edfe24a05f
17 changed files with 691 additions and 5 deletions
+5 -3
View File
@@ -109,9 +109,7 @@ class ValueEditor {
// ----------------------------------------------------------------------------- : Utility
#define DECLARE_VALUE_EDITOR(Type) \
Type##ValueEditor(DataEditor& parent, const Type##StyleP& style) \
: Type##ValueViewer(parent, style) \
{} \
Type##ValueEditor(DataEditor& parent, const Type##StyleP& style); \
virtual ValueEditor* getEditor() { return this; } \
private: \
inline DataEditor& editor() const { \
@@ -119,5 +117,9 @@ class ValueEditor {
} \
public:
#define IMPLEMENT_VALUE_EDITOR(Type) \
Type##ValueEditor::Type##ValueEditor(DataEditor& parent, const Type##StyleP& style) \
: Type##ValueViewer(parent, style)
// ----------------------------------------------------------------------------- : EOF
#endif