summaryrefslogtreecommitdiff
path: root/dw/tablecell.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-07-24 23:40:21 +0200
committerSebastian Geerken <devnull@localhost>2014-07-24 23:40:21 +0200
commit6c77ae97e8d500a35caf3b9acdc5c0a377337d9d (patch)
treefd96fa08b1ef23266865edefed5587da3bdb6a39 /dw/tablecell.hh
parentb6aeac03a3e6c5f4ea7edaad9a42b79cf5a8fe10 (diff)
More work on tables; some reorganization.
Diffstat (limited to 'dw/tablecell.hh')
-rw-r--r--dw/tablecell.hh27
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__