diff options
Diffstat (limited to 'src/user/include/cxx/raleigh/w/padding.h')
-rw-r--r-- | src/user/include/cxx/raleigh/w/padding.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/user/include/cxx/raleigh/w/padding.h b/src/user/include/cxx/raleigh/w/padding.h index 108cd28..216b984 100644 --- a/src/user/include/cxx/raleigh/w/padding.h +++ b/src/user/include/cxx/raleigh/w/padding.h @@ -6,14 +6,15 @@ namespace raleigh { class padding : public widget { public: - padding(uint32_t pad_by, _pixel_t color, widget &inner); + padding(widget &inner, uint32_t pad_by); void notify_window_change() override; void paint(_pixel_t *pixbuf, uint32_t pitch) override; + bool try_handle_click(coord window_coords, enum mouse_packet::mouse_button click_type, bool up) override; + void notify_has_opaque_parent(widget *parent) override; private: - uint32_t pad_by; - _pixel_t color; widget &inner; + uint32_t pad_by; }; } |