summaryrefslogtreecommitdiff
path: root/dwr/hbox.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dwr/hbox.hh')
-rw-r--r--dwr/hbox.hh31
1 files changed, 31 insertions, 0 deletions
diff --git a/dwr/hbox.hh b/dwr/hbox.hh
new file mode 100644
index 0000000..79b71ff
--- /dev/null
+++ b/dwr/hbox.hh
@@ -0,0 +1,31 @@
+#ifndef __DWR_HBOX_HH__
+#define __DWR_HBOX_HH__
+
+#include "box.hh"
+
+namespace rtfl {
+
+namespace dw {
+
+class HBox: public Box
+{
+protected:
+ void sizeAllocateImpl (::dw::core::Allocation *allocation);
+ void accumulateSize (int index, int size, ::dw::core::Requisition *totalReq,
+ ::dw::core::Requisition *childReq, int data1);
+ void accumulateExtremes (int index, int size,
+ ::dw::core::Extremes *totalExtr,
+ ::dw::core::Extremes *childExtr);
+
+public:
+ static int CLASS_ID;
+
+ HBox (bool stretchChildren);
+ ~HBox ();
+};
+
+} // namespace rtfl
+
+} // namespace dw
+
+#endif // __DWR_HBOX_HH__