aboutsummaryrefslogtreecommitdiff
path: root/src/form.cc
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-04-14 20:57:24 +0200
committerjcid <devnull@localhost>2008-04-14 20:57:24 +0200
commitd7d9e0cdc3c89fa6091a98546ec95bbfaf5b2163 (patch)
tree2d53908f67784157812629d6cfcaf965cd3b3a2d /src/form.cc
parent7855307e64ec134a11bcd7f0590d51bfbf1394a2 (diff)
- Added input image for FORMS.
Diffstat (limited to 'src/form.cc')
-rw-r--r--src/form.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/form.cc b/src/form.cc
index c181d674..d3a3a4de 100644
--- a/src/form.cc
+++ b/src/form.cc
@@ -77,7 +77,7 @@ Form::~Form ()
delete resources;
}
-void Form::clicked (ButtonResource *resource, int buttonNo)
+void Form::clicked (ButtonResource *resource, int buttonNo, int x, int y)
{
/*
for (container::typed::Iterator <ResourceDecorator> it =
@@ -90,14 +90,13 @@ void Form::clicked (ButtonResource *resource, int buttonNo)
}
*/
printf ("Form::clicked:: Button was clicked\n");
-
// Let html.cc handle the event
- a_Html_form_event_handler(ext_data, this, (Resource*)resource);
+ a_Html_form_event_handler(ext_data, this, (Resource*)resource, x, y);
}
void Form::activate (Resource *resource)
{
- a_Html_form_event_handler(ext_data, this, (Resource*)resource);
+ a_Html_form_event_handler(ext_data, this, (Resource*)resource, -1, -1);
}
} // namespace form