diff options
author | Benji Dial <benji6283@gmail.com> | 2021-03-05 18:07:48 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-03-05 18:07:48 -0500 |
commit | 76e39eac8cee2175ec62a191f7c91ca53857e80c (patch) | |
tree | 156946f6e8f491235453aa3cbecfda43d6baa2a7 /src/user/include/cxx/raleigh/w/padding.h | |
parent | 5e5e524f08ad653a7bf5d6e97f3a49f6c27d08fa (diff) | |
download | portland-os-76e39eac8cee2175ec62a191f7c91ca53857e80c.tar.gz |
more raleigh, including button and vbox widgets
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; }; } |