diff options
author | corvid <corvid@lavabit.com> | 2009-09-14 20:07:00 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2009-09-14 20:07:00 +0000 |
commit | 36221981b4015a191a4c09f9f6cd44a7895742a1 (patch) | |
tree | 70f80ea09151cddbaedc39b9f9c64dd23aa69c72 /test/dw_links.cc | |
parent | eed6ec9fb1ac9a742cd7e503c2a0aa92d362cbe9 (diff) |
fix up dw tests a bit
Diffstat (limited to 'test/dw_links.cc')
-rw-r--r-- | test/dw_links.cc | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/test/dw_links.cc b/test/dw_links.cc index 6a04a936..c2384d1e 100644 --- a/test/dw_links.cc +++ b/test/dw_links.cc @@ -34,33 +34,36 @@ using namespace dw::fltk; class LinkTestReceiver: public Widget::LinkReceiver { - bool enter (Widget *widget, int link, int x, int y); - bool press (Widget *widget, int link, int x, int y, EventButton *event); - bool release (Widget *widget, int link, int x, int y, EventButton *event); - bool click (Widget *widget, int link, int x, int y, EventButton *event); + bool enter (Widget *widget, int link, int img, int x, int y); + bool press (Widget *widget, int link, int img, int x, int y, + EventButton *event); + bool release (Widget *widget, int link, int img, int x, int y, + EventButton *event); + bool click (Widget *widget, int link, int img, + int x, int y, EventButton *event); }; -bool LinkTestReceiver::enter (Widget *widget, int link, int x, int y) +bool LinkTestReceiver::enter (Widget *widget, int link, int img, int x, int y) { printf ("enter: %d\n", link); return true; } -bool LinkTestReceiver::press (Widget *widget, int link, int x, int y, +bool LinkTestReceiver::press (Widget *widget, int link, int img, int x, int y, EventButton *event) { printf ("press: %d\n", link); return true; } -bool LinkTestReceiver::release (Widget *widget, int link, int x, int y, +bool LinkTestReceiver::release (Widget *widget, int link, int img, int x,int y, EventButton *event) { printf ("release: %d\n", link); return true; } -bool LinkTestReceiver::click (Widget *widget, int link, int x, int y, +bool LinkTestReceiver::click (Widget *widget, int link, int img, int x, int y, EventButton *event) { printf ("click: %d\n", link); |