-void Panel::pointer_motion(int x, int y)
-{
- if(pointer_grabbed)
- {
- const Geometry &cgeom=pointer_focus->get_geometry();
- pointer_focus->pointer_motion(x-cgeom.x, y-cgeom.y);
- }
- else
- {
- set_pointer_focus(get_child_at(x, y));
- Container::pointer_motion(x, y);
- }
-}
-
-void Panel::pointer_leave()
-{
- Container::pointer_leave();
- set_pointer_focus(0);
-}
-
-void Panel::key_press(unsigned key, unsigned mod, wchar_t ch)
-{
- if(input_focus)
- input_focus->key_press(key, mod, ch);
-}
-
-void Panel::key_release(unsigned key, unsigned mod)
-{
- if(input_focus)
- input_focus->key_release(key, mod);
-}
-
-void Panel::focus_out()
-{
- set_input_focus(0);
-}
-
-void Panel::render_special(const Part &part) const