From fd4557c4adddf710979a42e9f9d470bc8b3f77bd Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Mon, 8 Mar 2021 18:06:38 -0500 Subject: hbox, better painting logic in raleigh --- src/user/include/cxx/raleigh/w/hbox.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/user/include/cxx/raleigh/w/hbox.h (limited to 'src/user/include/cxx/raleigh/w/hbox.h') diff --git a/src/user/include/cxx/raleigh/w/hbox.h b/src/user/include/cxx/raleigh/w/hbox.h new file mode 100644 index 0000000..166056d --- /dev/null +++ b/src/user/include/cxx/raleigh/w/hbox.h @@ -0,0 +1,18 @@ +#ifndef RALEIGH_W_HBOX_H +#define RALEIGH_W_HBOX_H + +#include + +namespace raleigh { + class hbox : public multicontainer { + public: + //do not modify this list afterward + hbox(dllist widgets); + + private: + coord determine_size() override; + void set_child_offsets() override; + }; +} + +#endif \ No newline at end of file -- cgit v1.2.3