| 714 | { |
| 715 | public: |
| 716 | button( |
| 717 | drawable_window& w |
| 718 | ) : |
| 719 | button_action(w), |
| 720 | btn_tooltip(w) |
| 721 | { |
| 722 | style.reset(new button_style_default()); |
| 723 | enable_events(); |
| 724 | } |
| 725 | |
| 726 | ~button() { disable_events(); parent.invalidate_rectangle(style->get_invalidation_rect(rect)); } |
| 727 |