--- deliantra/Deliantra-Client/DC/Macro.pm 2007/07/20 16:32:04 1.7 +++ deliantra/Deliantra-Client/DC/Macro.pm 2007/07/21 20:05:37 1.8 @@ -223,20 +223,20 @@ child => (my $editor = new CFPlus::UI::Table col_expand => [0, 1]), ); - $editor->add (0, 1, new CFPlus::UI::Label + $editor->add_at (0, 1, new CFPlus::UI::Label text => "Trigger", tooltip => $tooltip_trigger, can_hover => 1, can_events => 1, ); - $editor->add (0, 2, new CFPlus::UI::Label + $editor->add_at (0, 2, new CFPlus::UI::Label text => "Actions", tooltip => $tooltip_commands, can_hover => 1, can_events => 1, ); - $editor->add (1, 2, my $textedit = new CFPlus::UI::TextEdit + $editor->add_at (1, 2, my $textedit = new CFPlus::UI::TextEdit text => macro_to_text $macro, tooltip => $tooltip_commands, on_changed => sub { @@ -244,7 +244,7 @@ }, ); - $editor->add (1, 1, my $accel = new CFPlus::UI::Button + $editor->add_at (1, 1, my $accel = new CFPlus::UI::Button text => trigger_to_string $macro, tooltip => "To change the trigger for a macro, activate this button.", on_activate => sub { @@ -257,7 +257,7 @@ ); my $recording; - $editor->add (1, 3, new CFPlus::UI::Button + $editor->add_at (1, 3, new CFPlus::UI::Button text => "Start Recording", tooltip => "Start/Stop command recording: when recording, " . "actions and commands you invoke are appended to this macro. "