Ah, thanks! Now it works fine.
Here is the code, maybe someone knows a better or more efficient way to do
it:
[code]
#!perl
use strict;
use warnings;
use SDL;
use SDLx::App;
use SDL::Event; # for the event object itself
use SDL::Events; # functions for event queue handling
my $app = SDLx::App-
Documentation tells that you have to use ->motion_state instead of
->button_state.
See: http://sdl.perl.org/SDL-Event.html#Mouse_motion_events
--
Cheers, Tobias
Am 30.01.2012 23:23, schrieb Alex:
> Dear all!
>
> I'm still working on this kind of button-like widget and I want to implement
> the b