-
- if(parent)
- {
- parent->raise(*this);
- parent->grab_pointer(*this);
- }
- }
-}
-
-void Dropdown::button_release(int x, int y, unsigned btn)
-{
- if(list_active)
- {
- const Geometry &lgeom=list.get_geometry();
- list.button_release(x-lgeom.x, y-lgeom.y, btn);
- list_active=false;
- }
-}
-
-void Dropdown::pointer_motion(int x, int y)
-{
- if(list_active)
- {
- const Geometry &lgeom=list.get_geometry();
- list.pointer_motion(x-lgeom.x, y-lgeom.y);