summaryrefslogtreecommitdiff
path: root/dwr/vbox.hh
blob: b58621714ee11d2220e42dc2bfcdb4eeb9ab63d8 (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
32
33
34
35
#ifndef __DWR_VBOX_HH__
#define __DWR_VBOX_HH__

#include "box.hh"

namespace rtfl {

namespace dw {

class VBox: public Box
{
private:
   int findFirstVisibleChild ();

protected:
   void sizeRequestImplImpl (::dw::core::Requisition *requisition);
   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;

   VBox (bool stretchChildren);
   ~VBox ();
};

} // namespace rtfl

} // namespace dw

#endif // __DWR_VBOX_HH__