summaryrefslogtreecommitdiff
path: root/dwr/hbox.hh
blob: 79b71ff704b7bf14ac35c352691e83c79a9866b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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__