diff options
author | Sebastian Geerken <devnull@localhost> | 2014-07-24 23:40:21 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-07-24 23:40:21 +0200 |
commit | 6c77ae97e8d500a35caf3b9acdc5c0a377337d9d (patch) | |
tree | fd96fa08b1ef23266865edefed5587da3bdb6a39 /dw/tablecell.hh | |
parent | b6aeac03a3e6c5f4ea7edaad9a42b79cf5a8fe10 (diff) |
More work on tables; some reorganization.
Diffstat (limited to 'dw/tablecell.hh')
-rw-r--r-- | dw/tablecell.hh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dw/tablecell.hh b/dw/tablecell.hh new file mode 100644 index 00000000..0b3b324f --- /dev/null +++ b/dw/tablecell.hh @@ -0,0 +1,27 @@ +#ifndef __DW_TABLECELL_HH__ +#define __DW_TABLECELL_HH__ + +#include "core.hh" + +namespace dw { + +namespace tablecell { + +bool getAdjustMinWidth (); +bool isBlockLevel (); + +int correctAvailWidthOfChild (core::Widget *widget, core::Widget *child, + int width, bool forceValue); +int correctAvailHeightOfChild (core::Widget *widget, core::Widget *child, + int height, bool forceValue); + +int applyPerWidth (core::Widget *widget, int containerWidth, + core::style::Length perWidth); +int applyPerHeight (core::Widget *widget, int containerHeight, + core::style::Length perHeight); + +} // namespace dw + +} // namespace dw + +#endif // __DW_TABLECELL_HH__ |