combined_editor function, and improved dependency handling (removing duplicates), viewer refreshes on events from script manager

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@147 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-22 19:05:52 +00:00
parent 7ba562ea2e
commit cf39deec24
20 changed files with 220 additions and 30 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ void TextValueEditor::onValueChange() {
selection_start_i = selection_end_i = 0;
}
void TextValueEditor::onAction(const ValueAction& action, bool undone) {
void TextValueEditor::onAction(const Action& action, bool undone) {
TextValueViewer::onAction(action, undone);
TYPE_CASE(action, TextValueAction) {
selection_start_i = action.selection_start;
+1 -1
View File
@@ -51,7 +51,7 @@ class TextValueEditor : public TextValueViewer, public ValueEditor {
// --------------------------------------------------- : Actions
virtual void onValueChange();
virtual void onAction(const ValueAction&, bool undone);
virtual void onAction(const Action&, bool undone);
// --------------------------------------------------- : Clipboard