gui::Widget *but = new gui::StaticTextButton(N_("ABC"));
But this gives me the ABC centered on the top left screen edge (so only
the bottom half / left half of ABC is visible on screen). This is due to the
fact that get_area in the button draw routine returns 0,0,0,0 and the rectangle
i provide is just ignored.
How do i draw buttons? I could add them statically to the background
image, but that's an ugly solution and e.g. doesn't work with internalization.
I'd really need some small help by someone with some knowledge about
the gui stuff. I don't need any actually handlers and actually i think it would
even be simpler if my touchscreen patched version of client.cc handles
this itself. Does this make sense?
And once that's done i can easily add accelerometer support which could
make the game a real pearl on the maemo5 devices.